MaplePrimes Questions

Hi All,

I cannot transfer variables from Matlab to Maple as shown in the demonstration video for Maple toolbox for Matlab.

Here is what I did:

I run the Matlab using: matlab-sym-maple.bat
and checked that it is using the maple (not the symbolic toolbox version):
toolbox_version maple

open my maple 13, do
version()
got: User Interface, Kernel, Library, Maple Toolbox for MATLAB: 397624

back in Matlab:
>> syms x y
>> g=int('sin(x*y)^2*x',x)
>> setmaple('G',g)

I got a rumor, something about Maple showing the steps that does when solving something. Anyone knows what do I have to do so Maple would show me the steps? It would be great if someone knows how to do it.

Hello, I want to create a list to store the points in C^n with norm 1. The motivation is to use this set of points as a domain to view the image of functions like <x, Ax> (so, x has norm 1).

If it's not possible to store an infinite list, is there anyway to store an albeit large finite list so as to have a good number points in C^n norm 1 spread about evenly?

 

Thanks

Hello :)

I'm trying to write an Ackermann function on Maple, here is the source:

> B := (n, a, x) -> if n=0 then a+x elif n=1 then a*x elif n=2 then a^x elif x=1 then a else B(n-1,a,B(n,a,x-1)) end if:
> A := (n, x) -> B(n,2,x):

With small cases it works perfectly, for example:
A(3,3);
    16
but... when i'm trying to calc A(5,5), i get an "Error, (in B) too many levels of recursion". Any ideas?

Hello,

I have this loop:

> for j from 1 to T do
if pointsd[2][j+1]<pointsd[2][j] then print(j-1) fi;od;

                                 

The print gives me (correctly) 2 numbers: 59 and 124

and i need to use these numbers further but i dont know how to call them..

It would be great if i could made an array with these two numbers,like

Hi! I have the following equation to solve: J1*K11-k*K1*J11=0 where: Jx=BesselJ(v,c*sqrt(a-x^2)) K11=BesselK(v+1,c*sqrt(x^2-b)) K1=BesselK(v,c*sqrt(x^2-b)) J11=BesselJ(v+1,c*sqrt(a-x^2)) k=sqrt(a-x^2)/sqrt(x^2-b) Any suggestion to find x???? I tried with "solve", but it says "Warning solutions may have been lost" Also tried with RootFinding --> Analytic, but after processing a while there is no output.. Any suggestion is very welcome!! thanks!

There is a set of non-linear equations solved at each time step for a differential equation..how to implement this in maple.

A typical scenario would be tyre models for vehicle dynamics applications.

help in this regard would be appreciated.

Raja Amer Azim

Hello,

I have what may or may not be a nasty equation for the structure constants of a particular algebra I would like to classify.  Said equation looks like:

 

f^{0ij}_{\rho}*f^{\sigma\alpha\rho}_{\beta}=f^{\sigma\alpha0}_{\rho}*f^{\rhoij}_{\beta}+f^{\sigma\alphai}_{\rho}*f^{0\rhok}_{\beta}+f^{\sigma\alphaj}_{\rho}*f^{0i\rho}_{\beta}

 

hi

I'm dealing with an expression involving terms like:

( a * x ^ l * y ^ m * z ^ n ) + ( b * x ^ p * y ^ q * z ^ r ) + more of the same. The powers can add up to order <=8 [ for example  l + m + n can add up to 8 or less ]

How do I "ignore" terms in my expression where the powers add up to more than 4 ?  [ I know that these orders of magnitude can be ignored ]

I'm trying to use "collect" but can't see how to do this yet.

many thanks

Peter

 

 

 

 

To anyone out there who may be able to help

I have been researching into closed-form solutions of the 2 x 2 case of the Matrix Differential Equations

dM(s)/ds = [ M(s) , D(s)/2 ]   ,    M(0) = Mo in sl(2,R)  ( 1 )

dD(s)/ds = [ M(s) , K(s) ]      ,     D(0) = Do in sl(2,R)  ( 2 )

dK(s)/ds = [ D(s)/2 , K(s) ]    ,    K(0) =  Ko in sl(2,R)  ( 3 )

hellow!

my maple 11 recently isn't working, i mean with double click not only is not working,

but also after i removed it, setup also is not working.

whats the problem? is it of virus?

 

diff(u(z),z,z)=g*S/Az        (Barotropic pressure gradient vs friction equation)      where S=Diff(eta(x)) or surface slope

bc=Az*D(u)(z)=0,Az*D(u)(-H)=tau/(Az*rho)=Cb*u^2(z)/Az

how can I solve and plot the for different depth z=-20 to 0

and Az=0.0010,Cb=0.0025,S=-0.000001

 

 So how can I find the u(z)

and plot the graph of u(z) (velocity) against z (depth)

 

 

 

 

 

 


Helo,

I woud like to read commands from a text file, that contains both expressions in Maple syntax  and  other  things too.
The following example is a simplified version of my problem.

The first example works as expected, it gives a vector of random data :

parse("Statistics:-Sample(Statistics:-RandomVariable(Normal(0, 1)),100)",statement) ;

The following line doesn't work for me (Maple 12), i. e Maple doesn't evaluate the Sample command.

I've just created a very long document.  Without having to scour the entire document to see what expression I've assigned to a certain variable how can I recall my original expression after I've assigned values to the variables in it?

It would like to decide the following integral, however with the function int I did not obtain. The integral is the following one

 

int((exp(1/sqrt(2/delta)^2)/((t+delta*mu/(delta+1))^2*(2*sqrt(2/delta)*sqrt(2*pi*delta*mu/(delta+1)))*t^(3/2))*(t+delta*mu/(delta+1)))*exp(-(t*(delta+1)/(delta*mu)+delta*mu/((delta+1)*t))/(2*sqrt(2/delta)^2)), t = 0 .. infinity)

 

with delta>0 , mu>0.

 

I am thankful anticipatedly

 

Manoel Neto

First 2122 2123 2124 2125 2126 2127 2128 Last Page 2124 of 2434