Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Syntax Questions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50731] Syntax Questions
  • From: "Dominik Werder" <dwerder at gmx.net>
  • Date: Sat, 18 Sep 2004 05:48:37 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

While trying real easy Calculations with mathematica 5 on solaris I  
encountered difficulties finding the right syntax:

Here I try solve some equations and write the four resulting variables  
a,b,c,d into a new matrix T:

s = Solve[{u1 == a v1 + b v2, u2 == c v1 + d v2}, {a, b, c, d}];
a = (a /. s)[[1]];
b = (b /. s)[[1]];
c = (c /. s)[[1]];
d = (d /. s)[[1]];
T = {{a, c}, {b, d}};

I'm sure this could be done easier, but I dont know how?

thanks!
Dominik


  • Prev by Date: GUIKit
  • Next by Date: Re: Re: Simplify[ {Re[Sqrt[-1 + eta^2]], Im[Sqrt[-1 + eta^2]]}, eta<1]
  • Previous by thread: Re: GUIKit
  • Next by thread: Re: Syntax Questions