Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
I created these two procedures, I want to introduce within a mla.
 But I have the following two problems that I need you guys help me 
solve:

Hi, I want to build recursively defined, piecewise functions.

I first defined my zero-order functions

N40(xi)=piecewise(0<xi and xi<=1);

N50(xi)=piecewise(1<xi and xi<=2);

and I can plot them with desired result

but, how do I combine them, to make first order functions?

 for instance, I want to have a function matematichally defined by:

N41 = (xi-1)*N40 + (2-xi)*N51

 

Hi all,

I've searched all over, and I can't figure this out: I'm hoping to have a result expressed in symbolic notation.  For example, if my result is x_1+x_2+...+x_n, how can I have maple express this answer as summation of x_i i=1 to n.

I actually have a matrix, each element of which is a ratio of summations.  In order to more easily comprehend it, I'm hoping to view it in summation notation.

 

Thanks,

 

Paul Burkander

So it appears that using subscripts in Maple is not a good idea. I ran into this problem for the first time yesterday, and is documented here: http://www.mapleprimes.com/forum/drivenharmonicoscillatoramplitudephaseangle#comment-32780 And now it seems I've run into it again. Or possibly I have made a mistake ;) This is part of an implementation of Newton-Cotes method of numerical integration: restart: NCcoef := proc(N::integer) # procedure returns the Newton-Cotes coefficients for an # appoximation with N+1 points local a,c,p,h,B,LH,RH,eq,seqeq,seqco: h := B/N:

So far I have a circle with a cornu spiral joining where their curvatures are equal as below.

S1:=unapply(u*FresnelS(u)+((1/Pi)*cos((1/2)*Pi*u^2))-(1/Pi),u);

C1:=unapply(u*FresnelC(u)-((1/Pi)*sin((1/2)*Pi*u^2)),u);

R1:=1;

u1:=evalf(sqrt(0.4));

E1:=evalf(Pi*R1*S1(u1)+R1);

D1:=evalf(Pi*R1*C1(u1));

with(plottools);

with(plots);

c1 := circle([D1, E1], R1);

display(c1);

a:=evalf(Pi*R1*u1);

I am trying to use the output of an equation to set the value of a slider. In other words, how do I display the output of an equation in a slider / meter form ?

Hi im new to maple. How would i input this story problem into maple. In 600 days, an unknown radioactive substance decay to 62 percent of its size. (a) What is the half life of this substance? (b) How long will it take for a sample of 100mg to decay to 48 mg?

I find that the position of the labels (x, y, and z) on the axes of plots from implicitplot3d are not ideal. I prefer them to be close to the ends of the axes, while maple seems to place them nearer the middle. Can this position be changed with an option?

I'm using Maple 13 for Mac OS X.

How do I get Maple to recognize the Chain rule symbolically?

I have an ODE that looks like this:

u = a[0] + a[1]*w(q) + a[2]*w'(q) + a[3]*w(q)^2

where u,a[i],q are all functions of (x,y,t), so W is really W(q(x,y,t)).  W' is d/dq(W).  I am having trouble figuring out how to get Maple to recognize W' and still being able to take derivatives with respect to x,y, or t.

I want to get the following:

diff(W',x) = W''*q_x or in words: two derivatives of W with respect to q times q_x.

How can I do this?

Thanks

Hello,

If I have a function:

f(x):=x^2:

And I want

The array: f(x-y) for all x & y  from 0 to 2 with stepsize 0.5

in the same format that matlab stores saved arrays (in a .mat file), is that possible ??

Basically, I would like to be able to open matlab and load an array called 'f' 'from a file generated from maple, such that when I'm in my matlab workspase and type:

f

I get:

Hi,

I guess the best way if i give an example, what i would like to achive with maple:

q=5kN/m
L=10m
...
M=q*L/8=5kN/m*(10m)/8=62.5kN*m

How do i chek what order my procedure is . For example Bubble Sort is O(n^2) merge sort is O(n log n). I have a procedure but i do not know how to chek the order?

ODE:=theta'(t)=mu+sin(theta(t)); V(t):=cos(theta(t)); I need to Plot V(t) for various IC. An assumption I can make is mu

Hi all

I've launched a maple program (.mpl) with the syntax someone suggested to me here in the forum:

nohup nice -n19 maple <name.mpl> out.out &

on a pc to whom I've access through a ssh tunnel.

The code begins with the lines:

 

restart;

appendto("./garbage.txt");

... procedure declarations

... body of the program

END

 

 

Something strange seems to be happened, because the program hasn't accomplished all of his tasks.

Hi all I'm trying to obtain an expression for oscillatory motion in terms of the long-run amplitude, phase angle and frequency of a driven oscillatory system: deq:=diff(x(t),t$2)+lambda*diff(x(t),t)+omega[0]^2*x(t)=F[0]*sin(omega*t); The steady state solution I get from Maple is in this form ss:=((-omega[0]^2+omega^2)*sin(omega*t)+cos(omega*t)*omega*lambda)*F[0]/(omega^4+(lambda^2-2*omega[0]^2)*omega^2+omega[0]^4);
First 1845 1846 1847 1848 1849 1850 1851 Last Page 1847 of 2219