vanzzy

30 Reputation

3 Badges

0 years, 205 days

MaplePrimes Activity


These are replies submitted by vanzzy

@Kitonum 

About the 'i', I used this, but it turned to 'I' when I copy/paste the code.

The function will have three roots, so how can I plot the imaginary part of 'w' as a function of 'B' for some values of 'V' and k'?

@Joe Riel 

Sorry! I will edit the post right now.

The equation is

f := proc (w, B, V, k) options operator, arrow; I*B*gm(V)^3*(w-k*V)^3+gm(V)^2*(w-k*V)^2-I*gm(V)^3*(w-k*V)*(w*V-k)^2-((1/3)*I)*B*gm(V)^3*(w*V-k)^2*(w-k*V)-(1/3)*gm(V)^2*(w*V-k)^2 end proc

where gm(V) is given by

gm := proc (V) options operator, arrow; 1/(1-V^2)^(1/2) end proc

I want to plot the imaginary part of 'w' as a function of 'B' for some discrete values of 'V' and 'k'. I tried using the tips you gave me:

F := proc (V, k) options operator, arrow; fsolve(f(w, B, V, k), complex) end proc

and used some regular 2d plot, but is says:

"Error, (in fsolve) {B, w} are in the equation, and are not solved for".

1 2 Page 2 of 2