MathGroup Archive 2007

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

Search the Archive

How does Solve works ??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80183] How does Solve works ??
  • From: Ravinder K Banyal <r.banyal at neu.edu>
  • Date: Tue, 14 Aug 2007 07:08:04 -0400 (EDT)

Hi,
I am just a beginner in Mathematica.
I have two simple equations as follows:
e1=n^2-k^2;
e2=2 n*k;
If I solve for n and k, I should get
n = (e1 + (e1^2 + e2^2)^1/2)^1/2 * sqrt(1/2)
k = (-e1 + (e1^2 + e2^2)^1/2)^1/2 * sqrt(1/2)
However when I use mathematica (ver 5.1) to solve the above equations I  
do not get the intended results. 
Solve[e1 -n^2+k^2 = = 0, e2-2n*k = = 0, {n,k}]
None of the four roots generated by mathematica matches with above results.

Any comment please.....

Regards,
-ravi





  • Prev by Date: Re: Intensive numerical calculations
  • Next by Date: Solving finite field equations in Mathematica
  • Previous by thread: Printing Settings > Headers and Footers, broken?
  • Next by thread: Re: How does Solve works ??