Maple 16 Questions and Posts

These are Posts and Questions associated with the product, Maple 16

If S= { <0,1>,<1,2>} and T={<1,1>,<2,3>} are ordered bases for R2 and v=<1,5> and w=<5,4>, then can someone help me:

-find the coordinate vector of v and w with respect to the basis T by creating a procedure?

-I can make a procedure to find the transition matrix PS<-T from T to S-basis, but can you help find the coordinate vector of v and w with respect to the basis S. Using PS<-T?

Hi guys, I would like some help writing a procedure that checks whether the group of input vectors is an orthogonal basis. Any help would be great!

As usual I am going to use this blog post to complain!
How can anyone in their right state of mind create a Finance Package
with out procedures for return calulation ie first difference, percentage change, log returns etc

Hi,
I'm trying to import matlab function from m-file.

File looks like this:

    function out = xxx(omega)
    out = heaviside(omega);

It's only heaviside function.

And now, when I'm using "FromMFile" command in Maple it doesn't recognize Heaviside function. It imports that function as "heaviside" - witch small first character (in Maple we needs big "H").

Any help? 

thx 

I want to model this game (I want an ensemble average and a time average)

50% chance you get head=win 50%
50% chance you get tails= lose 40%
Starting capital =100

First of all I need a very large binary matrix(1..100000,1..100000) however not
even that I can do fast enough in maple!

I tried:

rtable(1 .. 1000, 1 .. 2000, frandom(0 .. 1, .5), subtype = Array, datatype = float[8], fill = [0, 1])

it is somewhat fast but it does not do what I want ie binary ...

Thank you for Assisting me to solve the PDE, Now please would you tell me what F5 means (in other words, explain to me the solution) and also could you how to test if the solution satisfies the initial and boundary conditions.

Please help me plot the graphs of the following equations:-

eq1 := diff(E[X(t)], t) = lambda-delta*E[X(t)]-beta*E[X(t)*V(t)];
 eq2 := diff(E[Y(t)], t) = -delta*E[Y(t)]+beta*exp(-rho*tau)*E[X(t)*V(t)];

eq3 := diff(E[V(t)], t) = gamma+N*kappa*E[Y(t)]-mu*E[V(t)]-beta*E[X(t)*V(t)]
NB:- E[X(t)]= the expected value of variable X at time t. 
Please help me know how to input this...

Regards,

I need help with solving an equation. I have the following equation:

24*b[0]+24*b[1]*xi+24*b[2]*xi^2+(2*(-12+24*xi))*(b[1]+2*b[2]*xi)+(2*(-12*xi+12*xi^2))*b[2]+P[cl]*L^2*(-12*xi+12*xi^2)

to this equation I applied the comand: series(%,xi) and as a result obtained:

24*b[0]-24*b[1]+(72*b[1]-72*b[2]-12*P[cl]*L^2)*xi+(144*b[2]+12*P[cl]*L^2)*xi^2

My question is: the way to solve this equation in the manner I need is setting the coefficients...

The version 16 of Maple does not know the function "pow", it is replaced by "power". Nevertheless, the codegen[optimize] procedure still generates it!  Moreower, it's not optimal even to write poser(..., 1/2)  as, most probably, the function sqrt must run faster. 

  Here's an example: (the function being optimized just contains some nested square roots)

> iang10 := [codegen[optimize](Re(int11), tryhard)];
[ 2 t17

Hi, experts

 

I have an array which is empty, say

 

f:= []:

 

is there away to check if it's empty? I want to do something like in Matlab:

 

if isempty(f)

......

end

 

Many thanks

Kyle

 

Hi together,

i wanted to assume the sequence term A(n) of the first Perrin-Pseude-Prime n = 271441.

It´s not that difficult, but i do not understand the Maple-output, and i´ve never found an explenation for it.

the input was: > MatrixVectorMultiply(M^90480, v);  --> its the Matrix formula for the recurrence.

the output gives me a vector (3x1) with the following entry in the second line (witch is the line i want to know):

I believe this is a result of my ignorance rather then the flaws of the system. Can anyone teach me how to do this question?

 

Given 

>sum(1/n, n = 1 .. N)

I want to find the value of N such that sum(1/n, n = 1 .. N) is greater then 20.12.

>solve(sum(1/n, n = 1 .. N) > 20.12, N)

Warning, solutions may have been lost

Help please! Thanks.

In the name of God

Any one knows how I can summerize this:

v1:=Vector(3):v2:=Vector(3):v3:=Vector(3):v4:=vector(3):v5:=Vector(3):

these 5 are independent.

Maybe some help page of maple helps me.

 

Hossayni

How can i solve for G(p,q,r,t) in the following pde

diff(G(p, q, r, t), t) = {lambda*(p-1)+gamma*(r-1)}*G(p, q, r, t)+delta*(1-p)*(diff(G(p, q, r, t), p))+kappa*(N*r-q)*(diff(G(p, q, r, t), q))+mu*(1-r)*(diff(G(p, q, r, t), r))+beta*(q*e^(-`&rho;&tau;`)-p*r)*(diff(G(p, q, r, t), r, p))

Here is what I tried.

I need to get the sum of all the real roots of 3*sin(x^2) = x

So I tried this. 

 

>solve(3*sin(x^2)-x = 0, x, AllSolutions)

Which gaved me this 3*sin(RootOf(_Z-9*sin(_Z)^2))

Then >sum(3*sin(RootOf(_Z-9*sin(_Z)^2)), _Z = -infinity .. infinity)

Which gives me this answer which I cannot make sense of.  signum(sin(RootOf(_Z-9*sin(_Z)^2)))*infinity

 

First 27 28 29 30 31 32 33 Last Page 29 of 40