MaplePrimes Questions

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

I have two IVP ODE's that i can find the approximate solutions of but I cant figure out how to plot them correctly

for the first one i have tried this..

it needs to be plotted on the interval [1,4]

> with(plots);
> plot((-1)-1+x+(1/2)*(-1+x)^2+(-1+x)^3+(2/3)*(-1+x)^4+(37/60)*(-1+x)^5+(127/360)*(-1+x)^6+(31/140)*(-1+x)^7+(185/2016)*(-1+x)^8+(53/1620)*(-1+x)^9-(391/151200)*(-1+x)^10-(1097/90720)*(-1+x)^11-(160903/11975040)*(-1+x)^12-(969289/97297200)*(-1+x)^13-(4366883/681080400)*(-1+x)^14-(5242229/1513512000)*(-1+x)^15+O((-1+x)^16), x = 1 .. 4);

I have the following objective function in maple format.in solving it by optimization function I receive non-numeric solution error.also when trying to use heuristics and fsolve function I receive invalid argument error!

How can I solve the following differential equations  by using Maple functions and boundary conditions in a parametrical manner(obtaining x)?

Hi

I have a problem which works properly outside the proc but when it is inside the proc I see an error which says: illegal use of a formal parameter.

What should I do?

Here is that procedure:

I want to smooth the data but retain the shape. Here is a smaller set of points for an example.

with(plots):
a := [[1, 1], [3, 2], [3.5, 4], [4, 6], [5, 5], [6, 7], [7, 6], [8, 5], [9, 5.5], [10, 4], [11, 1], [12, -5], [11.5, -6], [12, -12], [10, -10], [8, -14], [7, -10], [3, -10], [2, -5], [1, -8], [0, 0], [1, 1]];
lisplot(a);

First 2001 2002 2003 2004 2005 2006 2007 Last Page 2003 of 2431