I want to display a 3dplot of a current
iL_RMS_3dplot_Ue_const:=plot3d(iL_RMS_func_Ue_const, 0..2, 0..1, axes=normal, title="RMS current through the inductor with Ue constant and Ua variable", labels=["Ia_IaLGmax", "Ua_Ue", "iL_RMS_Ue_const"]);
together with an output curve. The output curve (which is two dimensional) should have as the z value in a 3d plot the value of iL_RMS_3dplot_Ue_const at that place. I have uploaded an example to http://www-users.rwth-aachen.de/Kai.Schueler/3dplot_example.jpg (the blue curve is the output curve). Is it possible, without recalculating the z value with a function to call, to extract it from the iL_RMS_3dplot_Ue_const plot data structure with an op command or something similar. The 3dplot command for the output curve should look somehow like this:
I don't understand, why maple has problems with the following command:
It seems that Maple doesn't call the funciton iL_RMS_func_Ue_const with the function variables Iatest and Utest. Instead it just uses the variable names Iatest and Utest. I get the error message:
Error, (in iL_RMS_AVG) cannot determine if this expression is true or false: 46.87500000*Iatest <= .1250000000*(1500-1500*U_test)*U_test
How do I get Maple to use the actual Values of Iatest und U_test? Below are the functions which are related to the problem.
Please look at this example. I am using Newton's method to solve for the equation x^2-a=0.
> Digits := 30:
> f :=x-> x^2-a:
> df :=x-> 2*x:
> for a from 1 to 6 do
> x0 := trunc(sqrt(a)):
> for j from 1 to 5 do
> x1 := x0 - f(x0)/df(x0);
> x0 := x1;
> rsd := f(x0);
> printf(`%3.10f\t %3.10e\n`, x0,rsd):
Now, I want to plot the solution x and the residue rsd against a in 2 separate figures, how to write the code?
I've been exploring the link between Maple and Matlab, and there seems to be no documentation on how to use Maple to call commands (or .m files) in Matlab. On the other hand, it doesn't state that this is not possible. Has anyone else looked into this?
I am trying to create a procedure like this:
myproc := proc(x)
Digits := x;
and then I want to plot the results like this:
However, I get an error: "Invalid assignment to Digits".
The following works fine, however:
How can I solve this?
It's obvious how to use Maple 10 for creating a document, but has anyone used Maple 10 for presentations? I'm going to present in a seminar in a couple of weeks and have some Maple demonstrations and graphics to show the group. I'd be interested in hearing tips, suggestions, experiences and ideas for presenting mathematical content to a group from within Maple. (I'm familair of course, with Powerpoint and LaTeX slides, and the LaTeX Prosper package. I'd use LaTeX/Prosper except that then I have to embed the Maple in the presentation. It would be more convenient if I can use Maple solely.)
First of all thank alec and Prof Doug. Please refer to post http://beta.mapleprimes.com/node/362#comment-729
My problem is to solve the following ODE with constrain given by the Eq:
> DEq := diff(f(x),x) = c1*sqrt( g(f(x)) - g(f(x=x1)) );
> Eq := ug - f(x=0) = c2*sqrt( g(f(x=0)) - g(f(x=x1)) );
> g(f(x)) := exp(f(x)-xn) +exp(-f(x)) +(1-exp(-xn))*f(x);
where ug is the independent variable and others are parameters
> c1 :=-257753830.552993398770016153893;
> c2 :=1.40376701562707174099362643812;
> xn := 35.4196679725860384893589519100;
> x0 := 0;
> ug := 40;
I have tried to followed alec's suggestion but the solution sometime still cannot be obtained. The independent variable ug has to be varied from -50 or less to + 100 or more. The intial guess in solving f0 (f0 := fsolve(g('fx0'(f0))-gfx0(f0),f0=30);) has to be input manually, this is a big drawback.
> Hello all,
> How do I export a Maple 3D plot to Povray 3.6 Win ?
> I use Maple 8.
> Some animations on my site http://www.artdigits.org
> Answer please to: firstname.lastname@example.org
> Thanks for the help !!
I need to use two colors for positive and negative values of a plotted function and I am trying to use a piecewise switch. My atempt was something like
plot(sin(x), x=0..13, color=(x->piecewise(sin(x)
What does "Warning, `delta_Ia_con_p` is implicitly declared local to procedure `inductor_current_RMS_AVG_p`" exactly mean?
I get this, when I execute the following procedure:
# art=0 returns RMS current and art=1 returns AVG current
> initial_inductor_current_p:=piecewise(Ia<eval(IaLG_boundary_condition), 0, inititial_inductor_current_con_p);
> # initial_inductor_current_input:=initial_inductor_current;
This blog entry evolved from my reply to Moira Chas's post
. I want to thank her for initiating such an interesting topic.
Usually Mandelbrot set is drawn in Maple using
command. That also can be done using
. In the example below I use
from John Oprea's worksheet
mandelbrot := proc(x, y)
local c, z, m;
c := evalf(x+y*I); z := c;
for m to 50 while abs(z) < 2 do z := z^2+c od;
plots[densityplot](mandelbrot,-2 .. 0.7, -1.35 .. 1.35,
I need strongly reduce Maple generated graphs for a journal publication. How could I make the axes and tickmarks thicker?
Why do I get the same output with the two following statements
plot3d(0, 0..20, 0..70, color=proc(x,y) 200000*x end proc);
plot3d(0, 0..20, 0..70, color=proc(x,y) x end proc);
How does the option "color=proc() ..end;" works?
How can I choose the colors?
(The reason behind my question is that I am trying understand how to plot the Mandelbrot set)
SOS! I need to find how to plot y=f(x) if x and y are columns of 2D matrix.
I have a module with an exported procedure defined by
, like this:
loadtest := module()
This works if I put the code above into a .mpl file, and use
to load it. The problem is that I would like to save this module to a maple library:
> map( march, [ 'gc', 'reindex', 'pack' ], savelibname ):
When I try to use this newly created library after restarting maple the following happens:
| || ||[||3 2 1 -2 -1 -4||]|
| ||CALL_EXTERNAL(||[|| ||]||)|
| || ||[||1 0 1 0 -1 0||]|