MaplePrimes Questions

Hi, how can I make a prodecure in Maple 16 that takes a function as a paremter and then manipulates with it?

e.g

Test := proc(f)
return f(10):
end proc 

And I can then run Test(f(x)) and get f(10) back?

Thanks 

Hi,

     For some reason Maple won't compute the eigenvalues to my matrix, which contains complex numbers and 1 symbolic parameter (h). heres the code

 

elements:=[1.+0.*I, -0.1e-5-0.4e-4*I, 0.2e-3+0.*I, -1.*10^(-7)-0.4e-5*I, -0.1e-5-0.4e-4*I, -0.1e-2+0.2e-4*I, -3.*10^(-7)+0.3e-4*I, -2.-0.2e-5*I, 0.3e-3+0.*I, -3.*10^(-7)+0.3e-4*I, 1.+0.*I, 6.*10^(-7)-0.2e-5*I, -1.*10^(-7)-0.4e-5*I, -2.-0.2e-5*I, 6.*10^(-7)-0.2e-5*I, -0.3e-4-9.*10^(-7)*I]:

Hello,

On a mechanical system that I could put in the classic form M*diff (x, t, 2) + K*x (t) = 0, I would like to calculate the angular frequencies.The methods that I know are:
- Calculate the solutions of the equation det (K-omega ^ 2 * M) = 0
- Or calculate the solutions of the equation det (M-1K-omega ^ 2 * I) = 0
- Or directly determine the eigenvalues ​​of M-1K using functions already created in Maple for example.

Hi,

I am trying to solve an ODE with Maple:

hi friends i have to plot multiple graph but problme is am not able to show curve instead of points. My input is in points but i want output in form of curve or points joining with lines. beside this i also want my both curves to be of different color so it can b highlihted that i have plotted two curves. I tried but am not able to change shape of points Graph.mw

I have following commands at Maple:

 

>T:={[{a,b,c,d}, table([a=0,b=0,c=0,d=0]),8],
[{a,b,c,d},table([a=6,b=1,c=2,d=0]),8],
[{a,b,c,d},table([a=6,b=5,c=5,d=7]),8],
[{a,b,c,d},table([a=7,b=1,c=2,d=0]),8],
[{a,b,c,d},table([a=8,b=8,c=8,d=8]),8]};
 
> member([{a,b,c,d},table([a=0,b=0,c=0,d=0]),8],T);

I want that it should respond `true` as the given special list is a member of the set T, but it gives me `false`. Help please.

i want to adding new maple package file extension with .lib  .ind  .eps.

i didnt find where to copy this.

I have a very big problem in answering this equation.>Int(1/sqrt((x-R*cos(theta))^2+(y-R*sin(theta))^2+z^2), theta = 0 .. 2*Pi)+Int(1/sqrt((x+l*cos(alpha)-R*cos(theta))^2+(y-R*sin(theta))^2+(z+l*sin(alpha))^2), theta = 0 .. 2*Pi)I've put the equation. then simplify(%). It becomes like this:Int(1/sqrt(x^2-2*x*R*cos(theta)+R^2+y^2-2*y*R*sin(theta)+z^2), theta = 0 .. 2*Pi)+Int(1/sqrt(x^2+2*x*l*cos(alpha)-2*x*R*cos(theta)-2*l*cos(alpha)*R*cos(theta)+y^2-2*y*R*sin(theta)+R^2+z^2+2*z*l*sin(alpha...

for example:
array1:=Vector(10,0): 

for i from -0.5 to 0.5 by 0.1 do

print(sin(i)):

end do:

I want to write the 10 results of sin(i) into array1 in sequence

How to make it?

Additionally, if I don't want to write the 6th (i=0) value to array2:=Vector(9,0), what should I do?

Thank you

k:=<1,2,3>:

mu:=<4,5,6>:

sigma:=<7,8,9>:

solutions:=<1,2,3,4>

product(add(1/((I*.5)*exp(solutions[i]*sqrt(2)*sigma[j]+mu[j]-ln(k[j]))+1)^k[j], i = 1 .. 4), j = 2 .. 3);

 

returns "Error, bad index into Vector"

Hello, I'm currently trying to solve this set of ODE's, but the way I have formulated the problem seems to be hard to process. Is there any simpler way of doing this, because it takes Maple a few minutes to solve 10 steps and I need more than a 100.Thank you in advance!l := 1.34*.75;Omega[p] := sqrt(g/l);v := .75;f[p] := .35*v^3-1.59*v^2+2.93*v;bmin := 0.157e-1;ci0 := y1(0) = 0, (D(y1))(0) = v;u0 := 0+v/Omega[p]+(-1)^0*bmin;p1 := diff(y1(t), t, t)+Omega[p]^2*(u0-y1(t)) = 0;k[1...

I know this has to be an easy on, but I simply cannot figure out how to calculate the probability of a dice roll or a card pick. I want to calculate the probability of rolling four sixes in a row, or picking three kings in a pack of playing cards. I know how to to the math by hand, but I want maple to calculate it for me. 
I've tried google my problem, but with no useful results (they were all a lot more advanced then what I could figure out). I'm guessing it's because...

Dear All,

I am a bigginer of Maple. I'm trying to solve the following in Maple.

 

> with(Statistics);
> f := Distribution(NormalDistribution(0.3,1));

> Y := RandomVariable(f);
> fy := PDF(Y, y);

> Fy := CDF(Y, y);

> int((diff(-ln(1-Fy), y))*fy, y = -infinity .. infinity);

> w := evalf(%);

 

But Maple told me that the answer is the integral -float(∞)..float(∞).

Hi,

I wonder if you could help me. I'm trying to calculate the eigenvalues of a complicated 3x3 matrix in Maple, but I'm not very familiar with Maple syntax. The answer maple has provided me with is in the form,

(&*(sin(pi*q/P),P/T,3x3 matrix))

How do I interpret this result? The eigenvalues are scalars.

Thanks for your help,

Sian

 

 

How can i use previous inputs in new maplet window.For example i have two maplet windows; maplet1 and maplet2 I use some inputs as a functions in maplet1 and i open new window by using botton from maple1.I also want to use same inputs for calculating function in maplet2
First 1592 1593 1594 1595 1596 1597 1598 Last Page 1594 of 2434