Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
I would like to calculate engineering stress using array; but the following piece of codes do not seem to work. *EngineeringStress = force / area *Define force is an array of measurements of force. crossArea:= 3.2 * 19.1 (not the "*" is really a "." in Maple editor; it is multiplication) force := array ([0., 1380.0, 2780.0, 5630.0]) engineeringStress := force/crossArea; engineeringStress[1] ({0., 1380.0, 2780.0, 5630.0}/crossArea)[1] it suppose to be 0!!!

When i input something like sqrt(30) I just get back 30 with a square root symbol over it. How can I make maple evaluate it?

How do I generate a gaussian random matrix (2x2).

Is this the default setting already in maple or is there code I need to use?

I'm to generate a random matrix ie > with(LinearAlgebra); > RandomMatrix(2, 2, generator = -1 .. 1); and find the eigenvalues of each matrix ten times. How do I put random Matrix in the for loop with Maple?

I have two vector here

X:= vector([-1,0,1])

Y:=vector([1+I*2,3+I,4+3*I], datatype=complex)

I want to fit them in the form a*exp(-I*10*t)+b*exp(I*10*t), a and b may be complex.

How should I do?

I have two vector here, and I want to fit them with the form a*exp(-I*4375*t)+b*exp(I*4375*t), a and b should be complex. How should I do?

X := Vector([-0.000163, 0, 0.000163], datatype = complex);

Y := Vector([-8.84352*10^(-13)+(I*1.71511)*10^(-12), 1.49867*10^(-13)+(I*1.45355)*10^(-12), 1.15763*10^(-12)+(I*9.08261)*10^(-13)], datatype = complex[8]);
 

 

The following interaction with Maple's Excel link came to my attention today.  I thought it had many interesting points that lead to insights about Excel and Maple that are worth sharing. 

Dear all,

I am trying to built in 3d function of recurrence relation

V(i)=a*V(i-1)-V(i-2); a=const; initial conditions: V(i-1)=-1; V(i-2)=-2.

An axes of a three-dimensional surface have to be: V(i); V(i-1); i.

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?
First 1859 1860 1861 1862 1863 1864 1865 Last Page 1861 of 2233