MaplePrimes Questions

Hi,

I am trying to graph some curve C and the vectors from the vector field corresponding to t=1 and t=-1.

My Vector Field is defined by some F(x,y,z) and my Curve is some r(t) [didn't bother putting the actual values here since I only want a general expression...]

In other words I want to have some kind of a curve in 3D with vectors coming out at points t=+/-1 along the curve itself. Is there any way to do such thing?

Thanks!

If one types

seq(cos((n mod 3)*Pi,n=2..13);

Maple returns, correctly,

1,1,-1,1,1,-1,1,1,-1,1,1,-1

If one types

sum(cos((n mod 3)*Pi),n=2..13);  # surely the sum of the above sequence = 4

Maple returns, incorrectly, the value 1.

Sure enough, if one types

sum(cos((n mod 3)*Pi)*exp(n),n=2..13); # expecting the sum of e^n with every third term negative

Maple returns

e^2-e^3+e^4-e^5+e^6-e^7+e^8-e^9+e^10-e11+e^12-e^13  ...

How do I plot a Matrix's columns independently in a same display[plot].

A=Matrix(m,n)

plot(Column(A,1),Column(A,2),..,Column(A,n))

Gracias

Hi,

I would like the title of my y axis to say "SaO2 (%)".  When I put in "SaO[2] (%)" the output is SaO[2] (%); However, when I put in SaO[2] (%) the output is "SaO2 PLOT (...) "  How can I get both parts correct (i.e., the subscript of the 2 and the displaying of the percent sign)?

 

Thanks!


hello i  hope if you can help me.

 i have a problem solving this recurrence relation and how to insert if statemen (about  with for loop

and using the series and the solution should be

1-2y(2)-6y(3)-14y(4)=0

y(2)-y(3)-11y(4)=0;

-y(2)+3y(3)+8y(4)=0;

I need to plot solid sqaures and include the figure in a paper.

The plotdevices jpg and ps do NOT support this. Is there a special way to put solid symbols in these? What plot devices support solid symbols?

Hi, Im trying to show the first few energy levels of a particle in a 1-D box. The plots are looking how i want them to look, but i can't stop it from producing loads of unwanted code. It seems to have been produced from P1 and P2 and putting a colon after them doesn't supress the output.

Can anyone see how i can stop the blue code from being shown and keep the plots?

I just copied this from the Maple 14 documentation

f := proc( { [color,colour]::symbol := RED } )
    sprintf("color=%a   colour=%a", color, colour)
end proc;

to get

"Error, invalid procedure parameters"

Anyone any ideas? It's the same in Maple 12 and 13.

Hello again!

I am writing a procedure of which the body is done, I "only" need to take care of the input in a clever way, which is where I'm stuck. I want to make it as simple as possible for the end user. The procedure has the following parameters:

- 2 matrices of type 'Matrix' [required], say A and B

- either a list L (default []) or a symbol S (but one of them is required)

- an optional symbol v::symbol:=t

What's the best way of handling these?

Let's say I have a summation:

sum(a[n]*x^(n-2)*(n-1)*n, n = 0 .. infinity)

Is there a way to extract the expression being summed?

a[n]*x^(n-2)*(n-1)*n

I've experimented with patmatch, but haven't been able to make it work.

Hello!

When i start the simulation of my model, which is a rotor-stator interaction, i get an error message where the rotor first touches the stator: "Simulation problem: maximum number of event iterations reached (100) at t= ....". I made a custom component to handle the contact event (change of the derivatives), but i don't know where i can change the maximum iteration to a higher number.

Thank you.

Hi, just a quick one...

Is there anyway to put FPS into the options of an animation so when the MAPLE file is re-opened it is not reset to 10 as this is faster then I would like!!

 

Cheers

Dear Maple users

I know how to create an animation of a sine curve moving over time (t) on an x-axis to simulate a moving wave. In the help menu under the topic plots,animation it is explained how to animate a ball moving along some curve. How do I combine those two animations into one? The ball is moving along a curve completely different from the sine curve!

Regards, Erik

 

I am interested in finding the asymptofic constant (Big O(1/n^(2m+2)) for the following expansion

 

series((1+1/n)^((1/2)/(sum(1/((2*k+1)*(2*n+1)^(2*k+1)), k = 0 .. m))), n = infinity, 10)

 

Upon using the preceding command in the maple i get

 

Error, (in asympt) unable to compute series

Dear Fellow Maplers,

I am seeing some puzzling inconsistencies in Maple's numerical integration routines, and am reaching out to the Maple community to see if someone out there can help shed some light on what the source of problem might be. 

To illustrate the problem I have constructed a minimal anomalous example.  Consider the following function of two variables:

      g := (1-x) * ln(sqrt(x^2 + y^2 + 1) +1 );

First 1893 1894 1895 1896 1897 1898 1899 Last Page 1895 of 2434