MaplePrimes Questions

So, i'm using Maple 13 in my school, and our homework was to make two procedures which could calculate something.

 

I'm interested in making a procedure which can calculate out the angles of my triangle with the law of cosines, and this is how my procedure looks so far:

 

findA := proc (a, b, c)

local solA;

solA := arccos((b^2+c^2-a^2)/(2*b+2*c));

return evalf(solA);

end proc

 

findA(67, 50, 34)

After many calculations tried to run eval(exp). Was  in shock :( Big table used. Is there smth like forget(all) to forget all functions. After forget(exp) memory of course lowers enought.

Hello..

I need to write a function in maple which creates matrices from 1x1 to 20x20.. And the filling in the matrix needs to be 1 in the diagonal. But not like the diagonal in the identity matrix, but the opposite..: see picture:

Matrix

So the amounts of 1 increase depending on the size of the matrix...

I know that i can put the function in a for loop to do the steps 20 times...

CTmodel-1.mw

Can anybody spot the problem in the second solve() in the attached file?  I am using the same approach that I did for the first solve(), but Maple is returning any empty list. 

Thanks!

I've set up part of my procedure to calculate the values of i from 1 to 15 using for loops.  I only need the values from 1 to 15, but a later part of my procedure if failing because it says it cannot evaluate the value for i=16.  How do I tell Maple that i>=16 doesn't matter/do nothing for i>= 16?

Is it possible to display on a same graph the error of type I and type II error given n, alpha and beta?

PowerTest

applet.zip

Gracias

Hey,

I've got a nondifferentiable bounded multivariable function and I'd like to find a good approxiation of it's minumum and maximum.
Basicly, I'd like to automaticly be able to return the maximum and minimum of the height of the 3D-plot i have. That would just be perfect.
However, I can't find anything that does anything like this.....

 It is the mathematica code for bifurcation diagram of the model that i am working with now. is there anybody who can translate it into maple code? or does anyone can help me with making a bifurcation diagram for such a ODE system in maple??

 

Thanks in advance

 

Noticed that after simplify memory remains in some internal caches. How to free it after simplification done?

Could i manually reset status bar (i.e. memory and time values)? restart; doesn't help.

I was wondering if anyone knew of a procedure or patch for Newton's method with two variables. I checked maple help and there only seemed to be Newton's method for one variable.

It's for root finding when you have two functions, each with one or two variables; it involves a jacobian matrix.

I'm running Maple 13 btw.

In next procedure i calculated 1st derivative of H in y=0 via series approximation. And i see that some terms of series are missed. If i would raise second parameter to cnt+20 for FuncToSeries in GetLimitsArray it becomes better. But why it's not OK with even cnt+8? series_test.mw

I have the numerical solution of Phi(r,t) which is a numerical solution of a pde..

I want to find the following energy integral at fixed time say t=10 ,

Energy = int(a*r^2*Phi(r,10)^2 + 2*b*r*Phi(r,10)^3,r=0..infinity)... I could not find help in maple.. I guess I had to do the following

 

1. select the numerical solution dependent only on r at t=10 slice..

2.Use numerical methods to evaluate the integral..

 

Just try simplify :

to_zero.mw

with(Statistics):
Phiinverse := (x) -> Quantile(Normal(0, 1), x) :

evalf(Phiinverse(1-1/2^24));

and the result is 5.691523310-2.147372008*I

Now, I can get a real-valued solution to this by using the equivalent
functionality from stats instead of Statistics.

with(stats):
PhiinvClassic:= (x) -> statevalf[icdf, normald[0, 1]](x):

evalf(PhiinvClassic(1-1/2^24));

First 1792 1793 1794 1795 1796 1797 1798 Last Page 1794 of 2429