pm1366 said:
no problem Mr Vickson; there is a contradiction here ! when i change the range of p and q i get different results :
for example ,if i set :
> S := fsolve({F1 = 0, F2 = 0}, {p = 0 .. 20, q = 0 .. 20}); {p = 15.03019936, q = 0.}and if :
> S := fsolve({F1 = 0, F2 = 0}, {p = 0 .. 10, q = 0 .. 10});
{p = 8.031885010, q = 0.}and if i set no ranges , this way:
> S := fsolve({F1 = 0, F2 = 0}, {p, q});
{p = 7.539612454, q = -5.355194539}
i can't find the correct range , and i don't know how to 3d plot in maple , what did you mean when you said 3dplot ? 3d plot of what ? can you make it clear for me? I'm newbie in maple . thanks
I meant a plot of the surface z = f1(p,q) and z = f2(p,q), but I now think that implicitplots of f1(p,q) = 0 and f2(p,q)=0 are more appropriate. For example, when c = 0 you can put f10:=subs(c=0,f1) and f20:=subs(c=0,f2), then use
with(plots);
[animate, animate3d, animatecurve, arrow, changecoords, complexplot,
complexplot3d, conformal, conformal3d, contourplot,
contourplot3d, coordplot, coordplot3d, densityplot, display,
fieldplot, fieldplot3d, gradplot, gradplot3d, graphplot3d,
implicitplot, implicitplot3d, inequal, interactive,
interactiveparams, intersectplot, listcontplot,
listcontplot3d, listdensityplot, listplot, listplot3d,
loglogplot, logplot, matrixplot, multiple, odeplot, pareto,
plotcompare, pointplot, pointplot3d, polarplot, polygonplot,
polygonplot3d, polyhedra_supported, polyhedraplot, rootlocus,
semilogplot, setcolors, setoptions, setoptions3d, spacecurve,
sparsematrixplot, surfdata, textplot, textplot3d, tubeplot] <--- a list of all the plot forms
implicitplot(f10=0,p=-20..20,q=-10..10);
The results are not very good (they are improvable, but that does not matter much here); you will see that the points (p,q) satisfying f10(p,q) = 0 consist of the p and q axes, plus numerous disjoint vertical sausage-shaped curves above and below the p axis. The points satisfying f20(p,q)=0 are the whole (p,q) plane, since f20(p,q) = 0 for all p and q. Therefore, there are infinitely many solutions when c = 0.
For c = 0.1 you can do f11:=subs(c=0.1,f1);f21:=subs(c=0.1,f2);
G1:=implicitplot(f11=0,p=-20..20,q=-10..10,color=red): <--- note colon, not semi-colon
G2:=implicitplot(f21=0,p=-20..20,q=-10..10,color=blue):
display([G1,G2]); <--- this overlays the two graphs together
While the implicitplot results are, again, not very good, they are good enough to show what is happening: there are many, many solutions to the nonlinear system, corresponding to all the points where the red and blue curves cross.
Therefore, it is not at all surprising that you do not get a unique solution; there must be some other information you need to supply in order to get a unique solution, or at least a smaller number of possible solutions.
I am assuming your formulas for F1 and F2 are correct; I just displayed them as tex formulas, then copied them to a Maple worksheet and edited them from tex form to Maple
form.