MaplePrimes Questions

I couldn't find a clean expression for cos(x/3) in terms of cos(x) on the web,

is it possible to force maple to expand such a thing in terms of cos(x) ??

I've tried basic things like simply(cos(x/3)), and expand(cos(x/3)) , but it seems like Maple won't know what to do (there's an infinite number of choices here) if I don't TELL it to write it in terms of cos(x) somehow.

 

Is there a way to do such a thing??

 

many thanks.

simplify(exp(x^2)*(C+(1+x^2)*exp(-x^2)));

It seems the result is not the simplest?

I'm trying to approximate an integer by using Simpson's rule but I can't find anything on how to input the coding so that it uses a specificed number of intervals, the default is 10 and I need it to be 5 can anyone tell me how to put that in??

dsolve(diff(y(x), x)-x*y(x)+exp(-y(x)))

It's strange that no information come out.

And no such form to solve a DE such as not a DE?

dsolve(diff(y(x), x) = x*y(x)-exp(-y(x)), y(x))

it looks like this in Maple:dsolve(y'=x*y-exp(-y),y)

 

 

Hello,

I have a question about matrices in Maple.

 

I have defined the matrices s, x, y and z which are all 5x1 matrices. I have also defined a constant c

Now I want to define a 5x1 matrix, in which each element will be defined by a function:

Hi,

I've got the following equation, which I am plotting for the range g=0.1E-3..5E-3 and h=0..10E-3

"First:=Int(Int(((2*L)/(x^2+(L/2)^2+(h-z)^2)^(3/2)),z=(-L/2)..(L/2)),x=(g/2)..((g/2)+L)):
Second:=Int(Int(((2*h+L)/(x^2+y^2+(h+(L/2))^2)^(3/2)),y=(-L/2)..(L/2)),x=(g/2)..((g/2)+L)):
Third:=Int(Int(((-2*h+L)/(x^2+y^2+(h-(L/2))^2)^(3/2)),y=(-L/2)..(L/2)),x=(g/2)..((g/2)+L)):
HorB[x]:=(B[r]/(4*Pi))*(First+Second+Third);"

The constants I am using are:

B[r]:=1.43;
L:=5E-3;

Hi there,

I want to solve several LPs of the kind

L:=Optimization[LPSolve](obj, cnsts, maximize = true, assume = integer);

where it often is unbounded. Maple then prints a warning and returns a (meaningless) solution.

Now: how do I check, whether it is unbounded?

 

 

I did a plot with plot3d and now want to insert a plane parallel to xy-plane in height z.

How do I do such a thing?

Hey I put up a Maple File in which at the end two strange things occurs:

1. Convolution n times of a rect doesn't result in a Gaussian Impulse

2. When inputting a constant of 1 everything is fine, but a limit for 1 results in a 'too many levels of recursion' error.

 

Would be glad if you could help!

Sometimes it is necessary to distinguish between continuous, discrete and hybrid systems in MapleSim. One example is when you consider generating an S-function block for inclusion in Simulink models. Firstly, how are continuous, discrete and hybrid systems defined in MapleSim? Secondly, how can you confirm the type of a given system in MapleSim?

Any reference documentation would help.

Hello,

I'm getting an error from algsubs that I don't understand...

 

This works fine....

EqD16a := (-w[j]+w[c]+3*w[c]*alpha)*(-w[j]+w)^2/(alpha*(-w[j]+w[c])^3);

 

EqD16b:=algsubs(w=beta*w[j],EqD16a);

 

This fails...

EqD15a := (-w[j]+w)*(-2*w[c]*alpha+2*w[c]-2*w+3*w*alpha-w[j]*alpha)/(alpha*(-w[j]+w[c])^2);
EqD15b:=algsubs(w=beta*w[j],EqD15a);
Error, (in collect/series) invalid expression for series

 

I don't understand why the second fails?

How could I go about creating the fractal fern for which the iteration process is as described here...

http://en.wikipedia.org/wiki/Iterated_function_system

Under the section - Example: a fractal "fern"

 

Its mostly the probability part that would be the biggest problem for me.

Hi, I am working on deriving Inverse Kinematic Equations for my robot. I have 4 simultaneous trigonometic equations in 4 variables. However, Maple is getting stuck when I try to solve these equations. My variables are w,x,y,z. Can anybody please suggest me a way in which I can solve this problem? My equations are a := Cos[w] (Cos[x] (-110 Cos[y] - 170) + 110 Sin[x] Cos[y] Sin[z] - 22) + 110 Sin[w] Sin[y] Sin[z] = x1 b := Sin[w] (Cos[x] (-110 Cos[y] - 170) + 110 Sin[x] Cos[y] Sin[z] - 22) - 110 Cos[w] Sin[y] Sin[z] = y1
Can maple be used to plot a phase portrait of this differential equation? (x,y)' = ( -2x - y , y - x^2 +x) Any light you can shed on the problem will be much appreciated. Thanks!

I want Maple to execute the following code over and over again (exepct for with(combinat) of course)

with(combinat):
unassign(anames(user)):

First 2067 2068 2069 2070 2071 2072 2073 Last Page 2069 of 2434