MaplePrimes Questions

Hello :),

Here is some code, and it returns an error : "too many levels of recursion".

X := 0;
while A <> 1
do
S := solve({X = .15*p*(1/2), L-X = .15*q*(1/2)}, [p, q]);
p := S[1];
q := S[2];
if (frac(p) <= 0.1e-1 AND frac(q) <= 0.1e-1) then A := 1 else X := X+0.1e-2 fi;
od;

Maybe, we can't do that this way, but i don't see easier way for the machine...

Thank you for your help !

Hello, I am trying to trace a phaseportrait of this system: sys:=D(x)(t)=-a*x(t)+b*y(t), D(y)(t)=-c*(p1*x(t)+q1*(x(t))^3)+V0*d*cos(2*Pi*10^(-4)*f*t); where a:=0.1785714286, b:=1, c:=20000, d:=10, V0 varies and f:=1273. For instance, lets take V0=4.08. I did the following procedure: >with(DEtools): with(plots): >p1:=0.18*10^(-5): q1:=0.12*10^(-5): >sys:=D(x)(t)=-a*x(t)+b*y(t), D(y)(t)=-c*(p1*x(t)+q1*(x(t))^3)+V0*d*cos(2*Pi*10^(-4)*f*t); >ic:=[[x(0)=-0.09,y(0)=-0.09],[x(0)=-0.09,y(0)=0.09],[x(0)=0.09,y(0)=-0.09],[x(0)=0.09,y(0)=0.09]];

I was trying to extend these www.mapleprimes.com/forum/probfunctioneasytaskfailed ideas to compute the ratio distribution function of two r.v.'s, something along these mathworld.wolfram.com/RatioDistribution.html lines. So how do I do that with Maple, say for the ratio of two independent zero-trancated Geometrical r.v.'s? Or how do I obtain with Maple the distribution of the reciprocal of such a random variable?Thanks.

Hi all, thanks for all the help so far. I have this nonlinear differential equation with boundary conditions. I have tried quite few ways but nothing has worked so far. x := diff(y(r), r, r)+2*(diff(y(r), r))/r+1.5*(16*4300)*Pi^2*10^6*sqrt(Pi/(2*0.128e-2^3))*polylog(3/2, exp(0.128e-2*(1194.3-y(r)))) = 0; boundary conditions: bc:= D(y)(0) = 0, y(infinity) = 0 Thanks in advance MS
Hi there, I don't find the right command that let's me plot parametrized curves in 3D. So lets say i wanna plot a srew fether, that is parametrized as follows: g: [0,10π] -> R³ : t -> g(t) = [cos(t),sin(t),] How do i do this? -.^

Hi,

I would like to get to the numeric values that are calculated by creating a plot using implicitplot.

Any help or pointers are greatly appreciated.

M.

Windows Vista Home Premium+Maple 13+Maple toolbox for MATLAB 13+Matlab R2009a

Error Message: MATLAB not found!



Hello,

I am confused with this question. I have parabola1 which is 3*x^2-22x+7, and parabola2 which is -5/9*x^2+58/9*x-161/9. the area of par1 is −148.1481481, the area of par2 is −1.280000000.

How can I Calculate the area A3 which is defined by the intersections
of Par1 and Par2.
and Plot Par1 and Par2 with the area A3 “highlighted

thanks

Hi guys, I am struggling with these three equations. The first is a nonlinear equation which can be solved numerically with the boundary conditions y(infinity)=0 and y'(0)=0. a1 := diff(y(r), r, r) = -2*(diff(y(r), r))/r-1.3*10^12*polylog(3/2, exp(b(u-y(r)))) Now y(r) depends parametrically on u and b which can be determined using these equations: a2 := -1.5*10^8*(int((3*polylog(5/2, exp(b(u-y(r))))/b^(5/2)+y(r)*polylog(3/2, exp(b(u-y(r))))/b^(3/2))*r^2, r = 0 .. 10)) = -129000 a3 := 3*10^8*(int(r^2*polylog(3/2, exp(b(u-y(r)))), r = 0 .. 10))/b^(3/2) = 1
I am having a problem in indexing a given matrix to be used in sigma. How can I make this work? x-y coordinate method > xy := Matrix(5, 2, {(1, 1) = 10, (1, 2) = 10, (2, 1) = -14, (2, 2) = -2, (3, 1) = -10, (3, 2) = -10, (4, 1) = 4, (4, 2) = -24, (5, 1) = 10, (5, 2) = 10}); > n := LinearAlgebra[RowDimension](xy); = print(`output redirected...`); # input placeholder 5 > > x := LinearAlgebra[Column](xy, 1); = print(`output redirected...`); # input placeholder Vector[column](%id = 194172504)

I am attempting to solve the following problem with maple:

 

3 ∙ x ≡ 1 (mod(2))

Yet when entering this into maple I get the following error:

Error, invalid input: modp expects 2 arguments, but received 1

So how would one enter this problem into maple?  What other argument would need to be entered or can maple even solve this?

 

restart:

stats[random,binomiald[400,1/2]](4);

                            88, 88, 88, 88

 

The first four values generated by the binomial random number generator

with n=400 and p=1/2 are all equal to 88? I must be doing something wrong.

Any ideas? (I am using Maple 8)

 

Byron Schmuland


 

I know this sort of simplify question has been asked many times, but I still don't seem to have 'got it'.  In a nutshell, there's a conservative real 2-D vector field (cartesian X,Y coordinates) with an extra non-positive parameter Z, and Maple 12 is able to compute the scalar potential.  But it presents it in a long (6 lines), perversely complicated form, involving the imaginary sqrt(-Y^2).  I tried to show it here using the Maple leaf Tag and pasting the expressions there, but all I got was indecipherable ascii.  The vector field X and Y components are

Dear all,

    I want to find a relation between tow sets of discrete points. So I must plot a curve with these dicrete point pairs. But  the two sets points don't have a explict relation (in fact, the relation just is that I want to find) How  to treat the discrete point pairs with maple? Thank you very much!

Best regards!

 

First 2129 2130 2131 2132 2133 2134 2135 Last Page 2131 of 2434