MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Hi

I have a "trivial " question about the actual parameters evaluation when I call a procedure.

The "introductory programming guide" says:

"Note: Maple evaluates the actual parameters before they are substituted for the formal parameters ... " (Maple 12 IPG, pag 195)

I don't understand if this is a full evaluation, a one-level evaluation, or what else.

If I try something like this, in a worksheet page (all the variables are global)

f:= x->x^2;

a:=b;
b:=c;

then

 

     Why is it that Maple is smart enought to know that a term like 3w means three times w, but two terms in parentheses like (3+7)and (7+8) with no multiplication operator between them gives an answer of 7?  When a multiplication operator is inserted between the parenthesis, the correct answer 105 is obtained. 

Ratch

I have 3 lists of numbers, i need to plot a 3d grpah of these lists, is this possible in maple?

I'm new to this,  sorry if the query is trivial:

I'm running OS X 10.5.7 and Maple 13. I'm finding Maple is making a mess of typesetting sum to infinity, for example. The word infinity appears written across the middle of the SIGMA summation sign.

I must be missing something simple - can anyone advise ?

 

thanks

 

P

Hello, I need to approximate the Wavelet transform of a set of data, and then plot the 3d graph, I need to find the integral

w := sum(0.25e-2*f[m+1]*g(0.25e-2*m), m = 0 .. 71999):

with varying values of tau and s. I have recieved some help but i think the method of using lists is wrong (one lecturer told me to do this but the another said it wouldnt work.. and it doesnt), and the surface plot maybe wrong for what i need, this is what i have been helped to make so far,

Hi everyone,

I am trying to use a numerical solution calculated by maple as input for another differential equation (to be solved numerically also)

What I have now:

dsysT := {diff(nT(t),t)=-(F/V)*nT(t),nT(0)=nD0}:
dsnT := dsolve(dsysT,numeric);

 

dsysD := {diff(nD(t),t)=(F/V)*(nDi-nD(t))-nD(t)*<here should be the function from above>*sigma,nD(0)=nD0}:
dsnD := dsolve(dsysD,numeric);
 

I have a Maple pointplot3d animation and I'm looking to take out two segments of that plot.  The segments are known and are the same throughout the animation but I want to erase them from the plots.  I tried colouring them white but when you rotate it you can tell they were there, so I was wondering if there is a way of earsing them, or colouring them clear, or something to that effect.

Thank you.

Hi all,

I have been staring at my screan for an hour and cannot do the following.  I am sure it's trivial but I just can see it.  Please!

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.

First 787 788 789 790 791 792 793 Last Page 789 of 1093