0
|
1096 Views
|
|
1 Total Likes
View groups...
Share
GROUPS:

# Solve returns the variable to be solved for as a dependent variable

Posted 11 years ago
 I have the following code where I want to solve for lam1R, lam2R and lam3R. However, the Solve command gives me these three results as functions of lam1R, i.e. lam1R is on the right-hand side of the solutions for lam1R, lam2R and lam3R. No warning is issued. What is happening here?Thank you,Roman e1R = 1/Ah (-Sqrt ky kz lam1R - Sqrt kx kz lam2R -       kx ky lam3R); e4R = 1/As (-Sqrt kx^2 lam1R + Sqrt kx ky lam2R +       Sqrt kx kz lam3R); e5R = 1/As (Sqrt kx ky lam1R\:ffff - Sqrt ky^2 lam2R +       Sqrt ky kz lam3R); e6R = 1/As (Sqrt kx kz lam1R + Sqrt ky kz lam2R -       Sqrt kz^2 lam3R); finc1R =   e1R Sqrt ky kz + e2R Sqrt ky kz + e3R ky kz +    e4R Sqrt kx^2 - e5R Sqrt kx ky - e6R Sqrt kx kz;finc2R =   e1R Sqrt kx kz - e2R Sqrt kx kz + e3R kx kz -    e4R Sqrt kx ky + e5R Sqrt ky^2 - e6R Sqrt ky kz;finc3R =   e1R kx ky - e3R Sqrt kx ky - e4R Sqrt kx kz -    e5R Sqrt ky kz + e6R Sqrt kz^2;sol = Solve[{finc1R == 0, finc2R == 0, finc3R == 0}, {lam1R, lam2R,     lam3R}];