Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

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:

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);

What Mapple code for ploting these ten functions ?

Plot these functions. I need urgwent help with these functions :

A=\sum_{n=[1,infinity]}(3n^{2}+7n+1)^{-n}

B=\sum_{n=[1,infinity]}(-1)^{n}(3n^{2}+7n-1)/(3n^{5}+4n+1)

C=\sum_{n=[1,infinity]}(-1)^{n}(n^{2}+n-1)/(3n^{2}+n)

D=\sum_{n=[1,infinity]}sin((phi/2n)+n(phi))

IF n is uneven E=\sum_{n=[1,infinity]}a=(2/n)

IF n is nevenF=\sum_{n=[1,infinity]}a=(-1/n)

G=\sum_{n=[1,infinity]}(n^{-4)}

H=\sum_{n=[1,100]}(1/3)n^{-3}+\sum_{n=[1,100]}n^{-4}

1. For n = 5 plot I=\int e^{\frac{1}{(1+exp((n(2-x))}}

Hello,

I have encountered difficulties with an optimization problem to be solved with NLPSolve. I want to minimize the integral of a parametrized function. However, when I call NLPSolve it seems that the integration variable of the int-command gets replaced for some reason I don't understand. A piece of code is quoted below. Does anybody see what I am doing wrong? Any hint will be appreciated.

First of all, I use Maple 14.
I tried to generate N samples from a defined normal distribution and then let Maple calculate sample mean, sample standard deviation and a statistic Z for each of the i samples:

with(statistics):

N:=100:
n:=100:
X:=RandomVariable(Normal(500,50));


for i to N do
X||i:=Sample(X,n):
mu||i:=1/n*sum(X||i(1,j),j=1..n):
sigma||i:=sqrt(1/(n-1)*sum(((X||i(1,j)-mu||i))^(2),j=1..n)):
Z||i:=(mu||i-500)*sqrt(n)/sigma||i:
end do:

 

First 1813 1814 1815 1816 1817 1818 1819 Last Page 1815 of 2224