MaplePrimes Questions

Hello,

I´m a maple rookie and I need help to read in data from a text file. I´ve tried sscanf, readdata, readline but nothing works in a proper way.

My text file looks like that:

1 2 3 4 5 6
2 4 6 8 10 12
3 6 9 12 15 18

In MAPLE the data must look like this:
The first 3 values of the first line should be a vector p[1] := <1, 2, 3> the other values shoud be a vector n[1] := <4,5,6>
2nd line p[2] := <2,4,6> and n[2] := <8,10,12> and so on.
 

Please send me an example!

Hello Friends;! What a joy to be able to connect again!
I need your collaboration and guidance;
I have the following file, binary data, I need a graph on maple as an oscilloscope and perform a series of Fourier analysis

Download 9494_salida2.txt
View file details

I tried solving a set of 7 nonlinear equations but maple evaluates for about an hour and then says that "warning : solutions may have been lost " i dont have any clue why it is saying so.there are atleast 3 variables in my equations that are highly nonlinear(the others dont have exp term) like for ex K3 =

Hi,

i want Maple to calculate this for me (0 <= a <= 1):

int(cosh(a*x)/cosh(x),x=0..infinity);

I know that there is a "nice" solution, best way to do this by hand is using contour integration in the complex plane, i think. But can Maple be of help here ?

 

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)
First 2123 2124 2125 2126 2127 2128 2129 Last Page 2125 of 2428