MaplePrimes Questions

Hey there i have written the following code and it gets very slow cause of the output at each step, which is not needed. I only need the arrays at the end of the procedure. Has someone an idea how i can suppress the output for the steps betweend the start and the end of the procedure?

 

restart:
s_1 := 0.779e-1*t^2-.1345*t+.2031:
s_2 := 1.3502*t-6.8742:
s_3 := .1112*t^2-1.5108*t+11.527:
s_4 := 1.9322*t-15.099:
s_5 := -0.178e-1*t^2+2.648*t-22.312:

Hey there,

if sometimes problems with my procedures, so i´m looking for a command which shows me the what the procedure is doing.

The command i´m looking for makes a green output :P. Sadly i forget the command; maybe someone can help me.

Best regards

 

 

I am trying to integrate the following expression in Maple. It produces the correct result, but not in the format that I want.

BesselProblem := BesselJ(0, BesselJZeros(0, 1)*r)*BesselJ(2, BesselJZeros(0, 1)*r)*r^3;

int(BesselProblem, r = 0 .. 1);

returns the expression

Hi everyone,

I've been able to generate equations of motion for my system. I want to linearize the obtained equations. How to do it? I've been trying to find some example on it, however, haven't been lucky as yet. Can anyone please help me with this? Anticipating a quick reply!

 

Regards,

Moazzam

i have a problem in resolving this 5 equations eqn1 := (product(1-tau(i), i = 1 .. 4).delta.Delta.tau(0))*(1+(1/16)*(sum((16-j+1)/(g(0))(j), j = 1 .. 16))+(1-product(1-tau(i), i = 1 .. 4).delta.Delta).(1+(1/16)*(sum((16-j+1)/(g(0))(j), j = 1 .. 16)))+(1-product(1-tau(i), i = 1 .. 4).delta.Delta)^2.(1+(1/32)*(sum((32-j+1)/(g(0))(j), j = 1 .. 32)))+(1-product(1-tau(i), i = 1 .. 4).delta.Delta)^3.(1+(1/32)*(sum((32-j+1)/(g(0))(j), j = 1 .. 32)))+(1-product(1-tau(i), i = 1 .. 4...

I wrote the procedure below and i want to plot on one graph for the range lambda = 0 to 60 (x-axis),  beta = 0, beta = 5, beta =10, beta = 15, beta = 20 etc. 

in other words i want to plot Cp vs lambda at different beta values

Can any one assist me in doing this.

_______________________________________________________________________

Cplot := proc (beta, lambda)

local lambda0, Cp;

lambda0 := 0.22e-1*beta^2+(7/1000000000000000)*beta+5.6;

Okay, so I think this is simple, but I cannot find the command.

 

I get a numeric solution for a system of ODEs, with variables a function of t. Now, I know I can use the sol(t) command to give me the values of my variables at specific values of t. But, how do I get the values of t for specific variable values. There has to be a more efficient way than just plugging in values for t until I come to the answer.

Thanks!

 

Hi,

I'm currently having some issues while trying to find a way of getting the CPU usage inside Maple.

Is there any existing Maple function that will return the percetage of the CPU usage ?

Basically I'd just like to know how to get x to temporarily equal a specified value, i.e:

if T[2]=(2x^2)-1

how do I find T[2] is x=2?

Thanks for any replies

I have Zipped 2 equations together to equate their equivalent Coefficients.  I now need to assign solve the list fot each value of N (1...9) How do I get Maple to do this reliably for the list as N 1..9 does not necessarily occour in sequence.

what is the difference between the autocorrelation function of Maple and MatLab function xcorr?

> N := 1024;
> f1 := 1;
> FS := 200;
> n := Vector([`$`(0 .. N-1)]);
> x := evalf(`~`[sin](2*Pi*f1*n/FS));
> t := Vector([`$`(1 .. N)]/FS);
> plot(t, x, axes = box, gridlines, color = blue, title = "Sinwave of frequency 1000Hz [FS=8000Hz]", labels = ["Time, [s]",

"Amplitude"], labeldirections = ["horizontal", "vertical"]);

Dear Maple Specialists,

I deal with a major MAPLE problem the last months of my PhD.

PROBLEM:
My programm contains a do loop which calculates for given PsiS (purple color) and for a range of Psi1 and Psi2 (blue color) from PsiS to 0, values for the products Qsu1, Qsu2, Qtot .
The aim to calculate w(RLZ) which is obtained when the blue color loop is completed and Psi2 takes the final value 0.

After first tests with my brandnew Maple 16 (64bit) installation on Ubuntu Linux (12.04 Ubuntu Precise) I encountered the following error:

    `evalf/int`, "external hardware float library could not be found/used"

when I run e.g.

     evalf(Int(BesselJ(3,x),x=1..13,digits = 4,method = _d01ajc));

with OpenMaple

I wonder how to fix it.

I have

    export MAPLE=...

and

    export LD_LIBRARY_PATH=......

Hi, i am learning how to use "proc", could you please help me with this?

Case 1:

ReturnInteger:=proc(x,y,z)::integer;
g:=3+y;
x^2-g;
end proc:

ReturnInteger(3,2,4)

Case 2: How do I have a few outputs at a time?

Outp:=proc(x,y,z)::integer;
x^4+3
x+3*y;
y+z;
end proc:

Outp(3,4,2)

I am looking for it to produce 3 answers.

Question 3, when i took away the "::integer", it still works. May I know...

First 1719 1720 1721 1722 1723 1724 1725 Last Page 1721 of 2430