MaplePrimes Questions



How could develop the following in Maple:

I tried to solve the following nonlinear equation system:

with(Statistics):

Y9 := RandomVariable(LogNormal(a, b)):

solve({mu=Mean(Y9),(sigma)^(2)=Variance(Y9)},{a,b}, UseAssumptions) assuming a::real, mu::real, sigma>0, b>0;

 

The problem is that the conditions, which discriminate between the cases of the piecewise solution are puzzling, not to say impossible to meet.

E.g. at the end of the first row it says:

hello, I make some code about NURBS.

Till NURBS curve and surface I did. These shapes are came from parametric equation.

Nurbs curve is...

plot([F(t),G(t),t=0..1]);

 

and NURBS surface is

plot3d([F(t,p),G(t,p),R(t,p)],t=0..1,p=0..1);

 

so I tried to make solid also by using 'implicitplot3d'.

 

But it does not support parametirc equation.

For example, implicitplot3d([F(t,p,s),G(t,p,s),R(t,p,s)...

I try to solve a nonlinear ode system. in numerical calculation it always calcualte the second derivative of my variable zero, while in the plot of the first derivative on the variable it shows that the second derivative has not to be zero

here is my problem:

My variables are a(t), phi(t). Bty solving the system of ode1 and ode2 and plotting a(t) and its first and second derivateive we see that its second derivative is always zero whime from the graph af its...

I want to differentiate the following (example) sum with respect to each variable.

foo:=sum(x[i]^2,i=1..3);

By hand I solved it like that:

g1:=diff(foo,x[1])=0;
g2:=diff(foo,x[2])=0;
g3:=diff(foo,x[3])=0;
solve({g1,g2,g3}, [x[1], x[2], x[3]]);

This works for i=1..3 but later I want to have it approach infinity. I don't have that much time to do it by hand -- what's a cleaner solution?

I would like to express a matrix in a neat(er) form.  For example, both matrices;

Matrix([[1/4, 1/2], [1/2, 1/4]]);

(1/2)*Matrix([[1/2, 1],[1, 1/2]]);

return the same thing.  I would like maple to print the latter with the factor 1/2 preceding the matrix for better clarity.  Is there a simple command that will do this?

Cheers in advance.

Rob

Thanks to everyone who helped me with the last question. Unfortunately its a double integral, so its even more complicated than I think the program can handle. I tried to approximate the function with mtalyor

 

l := sqrt(1+cos(x)*cos(y)*cos(x+y));

 

however when I plot this function as for example:

 

w = mtaylor(l, [x, y], 5)

 

this function gets worse and worse, it gets flatter, and flatter,...

Whenever I have 2 instances of the rotational move block in a model, mserver.exe crashes when I try to run the simulation. Why is this?

How do you plot just the x-axis, as in number line system only?

I was trying to evaluate a difficult integral on maple analiticaly but after about 5 minutes its output is the integral itself. Something like a=a; is it timing out? How can I change this to let it run for a longer period of time? Also I doubt that there is an analytic solution, so I tried to do a numerical computation, with the assumption that (a>0), and it gave the following output:

 

 

Also the original expression that Im trying to integrate...

Are there a way to this in calculate this in Maple?

I have a system of linear equations, with two equations:

 

x[1]+x[2]+2*x[3] = -5

x[1]+x[2]-2*x[3] = 3

 

a) Find one solution to this nonhomogeneous equationsystem? The answer need to be in vector form.

b) Find the "complete" solution to the homogeneous equationsystem? The answer need to be in para mite based vector form.

What's the API for the MapleCloud?

Would it be possible to upload/download/otherwise-talk to the MapleCloud without using the Standard GUI's palette? If so, how? In particular, could it be done using the Sockets package?

How do I find find an invertible matrix P and the diagonal matrix D such that A=PDP. Are there a Maple command that can do that. I need it to an Maple T.A. exam.

A= 

(−3 0 6)
(0 -3 −6)
(0 0 3) 

hi, i would like to know if the classic interfase of maple 12 or higher would work

reasonably well with the 1.4GHz Intel Core 2 Solo SU3500 processor, 2GB of RAM.

if not, what would be the minimum requierments in terms of processor.

thanks,

santiago

I want to define the inertia matrix of a body within a subsystem as a subsystem parameter. I can define constants (like mass), but I cant define the 3x3 inertia matrix. It looks like MapleSim returns a dimensional error when I try to simulate the model. How can I assign the inertia of the rigid body to a parameter?
First 1985 1986 1987 1988 1989 1990 1991 Last Page 1987 of 2434