MaplePrimes Questions

Hello-

I've looked everywhere I can think of, but can't find the answer to this question: is it the case that the Ricci tensor in maple is defined as:

Rbca

as opposed to:

Rbac ?

These would differ by a sign.  Thanks!

a:=[["14","34",12.1","4.5"],["2","4","6","1.5"]]

how do I parse the data?  I came up with something but it seems quite bloated.

b:=map(a->[parse(a[1]),parse(a[2]),parse(a[3]),parse(a[4])],a)

Is there an easier way to parse the list without using map?  And if I use map, must I use the parse command on each position?

On 4th May I submitted Ploting 10 functions to plot mentioning codes with with Mapple.

 

I got some answers and have managed some additional ones.

 

Please help with items B, C and D

 

BR and thanks

mathstudentdk

Just something simple.  What's the easiest way to seaparate a list into a list of xy points?

I had come up with 

How can I plot saddle path (trajectory) in dynamic system of two differential equations? I am trying to plot saddle path of Ramsey-Cass-Koopmans growth model in Maple 13, but I can't get the trajectory that goes to steady state. The system is following: > alpha := .5; theta := 1; rho := 0.5e-1; n := 0.1e-1; g := 0.2e-1; delta := 0.3e-1; > nulc := plot([((delta+rho+theta*g)/alpha)^(1/(alpha-1)), c, c = 0 .. 10], color = black, thickness = 2, labels = ["k", "c"]); nulk := plot(k(t)^alpha-(n+g+delta)*k(t), k = 0 .. 100, color = black, thickness = 2, labels = ["k", "c"]);

I want to use a color function with RGB-values in plot3d. Can somebody explain why

In my system initial data is changed on every iteration. I find new equation, then find when some condition is met, calculate new initial data and go on with it. But there are errors in the very beginning.

Example:

ODE := diff(diff(x(t), t), t)+.2*(diff(x(t), t))-x(t) = 0.8*sin(t)
t[1] := 0;
ics[1] := x(t[1]) = .2, (D(x))(t[1]) = 5
X[1] := dsolve({ODE, ics[1]})

I encounter two problems:

I want to draw the behavior of diff equation on xy-plane, where y=x'(t)

I get many xi(t), yi(t) on different consequtive intervals. I want to draw all graphs on one picture. (But I believe there is a decision that does not use the fact that the intervals are consequtive.)

Something like

"for i from 0 to 100 do

plot(xi(t), yi(t), t=i..i+1)

end do"

How can I draw multiple graphs on different intervals on one xy-plane?

Thanks!

My apologizes if I am posting it the wrong forum. I'm new to maple and I need help with the following question. I am able to produce the graph but I am not sure how to find the coordinates in order to do the follwoing steps. Any help with the following steps would also be appreciated.

with(plots);
with(plottools);
a := seq(sphere([1, 1, 1], 5*i), i = 0 .. 10);
b := seq(sphere([3, 3, 3], 5*i), i = 0 .. 10);
display({a, b}, insequence = true);
 

I'm trying to show a couple of expanding spheres but display doesn't seem to like objects with different coordinates.  I would like to try to see if display can do this.  Can it?  How would I use animate and plot3d instead in that case?

I have two equations, and in most cases one of them has solution, another one doesn't. In some cases both equations have solutions, and min() helps.

I have to work with a huge amount of data (in cycles) - so the decision should work in any situation.

Example:

S1 := RootFinding:-NextZero(unapply(rhs(X1)-1, t), 0.);

S2 := RootFinding:-NextZero(unapply(rhs(X1)+1, t), 0.);

SS := min(S1, S2);

The result:

Hi, i've got this java runtime error when launching Maple 14 interface. Maple 14 stops after 1 second.

Everything is OK with the classic worksheet interface.

Can you help me please?

Regards,

Alain Le Stang (from France)

Use maple to plot p(x) on an appropriate scale that will show the workers productivity in a 30 day period. The equation is p(x)=25-25e^-0.3x

I'm not sure the simplest way to do this.  It's part of a larger project I'm attempting to do.  So initially what I want to do is animate a curve that starts at 0 (like an upside down parabola) and then increases in height to a maximum then back to zero. 

Something like this, so far I have it starting from 0 and going to 10.  I'd like it to go back to 0 but I'm not sure of the best way.

display(seq(plot((1/10)*(-x^2+10)*t, x = -10 .. 10, y = 0 .. 10), t = 0 .. 10), insequence = true)

Can someone explain how to convert an expression of the form "a*cos(x)+b*sin(x)" to "c*cos(x-ph)"  using the formula c=sqrt(a*a+b*b) and ph=atan2(a,b) ?  I haven't been able to get Maple to do it.

thanks

First 2003 2004 2005 2006 2007 2008 2009 Last Page 2005 of 2434