Items tagged with parameter parameter Tagged Items Feed

My goal is to find a way to code sliders that set parameters for a plot so that it is not necessary to re-code all of the existing sliders when a new one controlling the same plot is added.

The closest I've come is the following.   Say I've defined a couple of functions

f:= (A,x) ->  sin(A*x);

g := (B,x) -> cos(B*x);

and

plot0 := plot([f(A,x),g(B,x)],x=a..b,color[blue,red]);  

And two sliders with code for action

Hi there, 

I want to know how I can animate a plot with more than one parameter? I can manage animating a plot with one parameter, using the 'animate' command, but this seems to be limited to a single parameter.

How could I do it? If it is not possivle in Maple 11, would such an option be implemented in Maple 15?

Also: If I would want to animate other things than plots, are there commands for that in Maple 11 / 15?

Thx :)

Hello!

I'm trying to solve numerically an ODE system with piecewise. And this piecewise is very important for this task.

This system describes behavior of a pulley with friction. There are some constants: m, c, g, mu and J. Values of this constants are not important.

> sys := m*a(t) = piecewise(a(t) < a0, F0*time, a(t) >= a0, 0), v(t) = diff(x(t), t), a(t) = diff(v(t), t);
> m := 5; F0 := 10; a0 := 5;
> initialconditions := x(0) = 0, v(0) = 0;

i wrote in Maple 14 this procedure:

in result i had error "Unable to parse" inline local k.

But it normally works in Maple 13. Plz tell me about this. I'm a new one in this. Thank you!

VEH_We.mwDear Community

I try to plot a rather sophisticated function with Bessel functions and several roots of a transcendent equation, but failed. I've specified all parameters, functions, etc. yet I still get an error message. What do I do wrong? I've uploaded the file,  if you could have a look.

Tx in advance, best regards

Andras

Hello again!

I am writing a procedure of which the body is done, I "only" need to take care of the input in a clever way, which is where I'm stuck. I want to make it as simple as possible for the end user. The procedure has the following parameters:

- 2 matrices of type 'Matrix' [required], say A and B

- either a list L (default []) or a symbol S (but one of them is required)

- an optional symbol v::symbol:=t

What's the best way of handling these?

How do I convert K1*cos(w*t+theta1) + K2*sin(w*t+theta2) to a single K3*sin(w*t+theta3). Maple keeps simplifying to the cos + sin form but that is not user friendly for the signal viewed on the oscilloscope. The conversion is easy to do with a calculator but I want to automate the process in Maple with parameters so I do not have to copy and paste expressions or type them.

 

Thanks for your help,

 

Warren Klope

I have just tried to solve for 2 equations in 2 unknowns. The 2 equations are very non-linear. I know for a fact that there are 2 solutions as I can draw the curve, but for some reason and for some parameter specifications Maple will only give me 1 out of the 2 solutions. I use the following:

 

Solve( [eq1,eq2] , [x,y])

 

Thanks in advance,

 

Christian

I found in the help a reference that animation in uniparametric:

"plots[animate] - create a 2-D or 3-D animation on one parameter".

I need multiparametric animate. If it does not exist..it would be difficult to find somewhere the procedure written to get ANIMATE( for one parameter)?. If available, maybe it would be hard but possible to get something that performs a multiparametric animate.

Otherwise, if somebody knows that in MAPLE is impossible to implemente...

Ok hello everyone and thank you in advance.
I have 2-3 difficulties in a maple plotting.
I'm trying to plot two fairly easy surfaces in maple 3d
What I want is:
3 standard axis, x,y,z with y vertical and z coming out of the screen(obviously you can turn it and stuff.)

Two surfaces:
On with y = (1/x), z=free;
The second with y= 2*x(1/z);

Hello,

I am looking for plotting a function which is the localisation of a point in space.

This vector can be write as [X(theta1,theta2,theta3),Y(theta1,theta2,theta3),Z(theta1,theta2,theta3)].

How can I plot all possible point in space when parameters theta1 theta2 theta3 vary to -Pi .. Pi without loop (for while) ?

 

I tried :

 

plot3d([X,Y,Z,theta1=-Pi..Pi,theta2=-Pi..Pi,theta3=-Pi..Pi],-10..10,-10..10,-10..10]

hello

This is what I have written out in Maple, and I have been trying to plot into a graph, but am having no luck at all.  Do you have any advice for what my next step should be. I'm using a simplified version of Brain and Cousens model.

> restart;

> with(plots);

> with(Statistics);

y := (x) -> (d+fx)/(1+h*x^b) , x > 0

b := 2; d := 1; h := 1;

This is the question: Let b = 2, d = 1 and h = 1 

 

Hi, Im working in Maple 12. I have this function

f(x,y)=(x,xy)=(u,v)

This is a function of R2 to R2 , I want to know how this function transform the square (-1,1)x(-1,1) in the plane uv. When i put in maple the comand plot for this, it gives me an error, because is of the form:

f(f1(x,y),f2(x,y))

Hello all,

I have a nonlinear model y=f(x,y,z,p) that I'd like to solve for various value of p (parameter), where f is a system of equations. This model is constrained by a set of inequalities c(x,y,z,p) <= 0.

I coded the model up in Maple in the following format:

f1 := ...;
f2:=....;
f3:=...;
f4:=...;
c1:= x>=0;
c2:= ....;
etc.

To solve this, I type:

A while back, someone asked me for a good way to plot a Klein Bottle in Maple. I didn't have a good answer at the time, but I recently stumbled upon the following, which does a pretty good job if you don't mind the use of Heaviside in the parameterization.

plot3d(
[4*(1-1/2*cos(u))*sin(v),
6*cos(u)*(1+sin(u))+4*(1-1/2*cos(u))*(cos(u)*(1-Heaviside(u-Pi))+Heaviside(u-Pi))*cos(v+Pi*Heaviside(u-Pi)),
1 2 3 4 5 Page 4 of 5