[sage-support] Re: solving for numeric values.

2009-05-14 Thread Josephine Ame
Hi, I tried solving a non-linear system to be able to get a plot of g against L as defined in the code below, I haveĀ  used the solve command but failed and now I tried the find_root command, the below is the code and the first five result for E=0, but the other results are functions of L and

[sage-support] Re: solving for numeric values.

2009-05-14 Thread Robert Dodier
On May 14, 1:57 am, Josephine Ame elanma4je...@yahoo.com wrote: What am I doing wrong? z=(g+u)^2 + j^2*w^2 -c_0*exp(-g*L)*(cos(j*w*L)*(g+u)-j*w*sin(j*w*L))/c_0*exp(-g*L)*(cos(j*w*L)* (g+u)-j*w*sin(j*w*L)) Exponentials written as exp(foo) ... OK. Z = 1/P - 1 - (e^2/4)/z Written