MaplePrimes Questions

I am simply trying to plot three different for loops. 

 

> a[0] := 100;
> r := 2;
> for n to 10 do a[n] := r a[n-1]) end do;
 
> b[0] := 100;
> r := .5;
> for n to 10 do b[n] := r b[n-1]) end do;
 
> c[0] := 100;
> r := -1;
> for n to 10 do c[n] := r c[n-1]) end do;
 
The loops are calculating...

Dear Maple users

I think I got the answer once, but I don't remember: How do I plot a function, whoose values include units? In the plot below it succeeds partly. The plot is being displayed, but units not simplified. In other situations I simply get an error, although it should work. I guess it has to do with simplifying units ... I hope someone can point out how to do it ...

Erik

 

Hi,

I need fsolve to round down its solutions but the 'Rounding" operator doesnt work . Here's a simple example

restart;
Digits:=5:
Rounding=-infinity:
fsolve(sin(x)=0, x=2..4);

The answer is 3.1416 but I need it to return 3.1415. There also doesnt seem to be a command to obtain the nth digit of a number, aka. digit(3, 3.14) = 4 in case I wanted to write a quick procedure to round down the answer.

Any suggestions?

Thanks,

i'm using DirectSearch package to solve the following system of equations (in order to find x1a,x1c,x2a,x2c):

How can i limit the solutions just for positive values of x1a,x2a,x1c,x2c? (Currently, I'm just using  

Thanks

Gil

Hi,

     So I'm trying to animate a ball moving around in a moving circle. I can do a sequence of points, and a sequence of static circles which works okay but I'd like a continuous animation. Here is the points where the ball hits the circle (x,y) position and the times (t).  and the animation of the circle

restart;
with(plots);

x1 := [.9, -0.6953537244e-1, .5084436548, .5084436548, -.5253004431, -.4186356935,
     -.8180728424, -.8180728424,...

How can I get the correct multiset power set of a hashmset in Maple? For example for the following hasmset s I have two different answers in Maple and MuPad. I need to compute MuPad like answer in Maple:

>s := hashmset:-new( [ a, 4 ], [ c,3 ] );
                  s := table(sparse, [a = 4, c = 3])

> combinat:-powerset(entries(s));

     ...

Hi, I use Maple 13 and have this issue to solve.

In an archive.txt there is the following Vector:

-1/64*cosdincl^2*cos(2*ele-2*g-2*anom-2*w)
+1/16*sinfJ*cosfK*sindincl*cos(2*ele+g-h+om-2*anom-2*w)
-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g-2*h+2*om-2*anom-2*w)
+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g-h+om-2*anom-2*w)
-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g+2*h-2*om-2*anom-2*w)
+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g+h-om-2*anom-2*w)
+1/128*cos(2*ele+2*g-2*h+2*om-2*anom-2*w)

Hello,

I work at a University and we use Maple 9.5, 13, and 16.  We have had problems with 13 and 16.  In this instance the program gets stuck at

for k from -N to N do
e[k]:=g[k]/L2norm(g[k])
end do;

We left it run for 24 hours but it will not calculate e7. The program doesn't freeze but just seems to be in an endless loop. I have tried on multiple computers with different RAM/CPU configurations.

In Maple 9.5 this program...

http://wenku.baidu.com/view/7d013c8c680203d8ce2f24ee.html

 goal is to evalute to (5.10)

restart;
with(inttrans):
with(SumTools):
r := sqrt(2*p)*exp(p*t)/(i-1)!*Diff((t^(i-1))*exp(-2*p*t),t$(i-1));
L := laplace(r,t,s);
L := int(r*exp(-s*t), t=0..infinity);

no matter laplace it or integrate it, also failed

when doing ztransform

restart;
with(inttrans):
with(SumTools):
network := sqrt(2*p)*((s-p)^(i-1))/((s+p)^i)
ztrans(network, s, z);

error, recursive

http://en.wikipedia.org/wiki/Laguerre_polynomials

http://wenku.baidu.com/view/7d013c8c680203d8ce2f24ee.html  

how to evaluate to equation (5.9) in page 195 from rodrigues formula?

rodrigues := exp(x)*(x^alpha)/n!*Diff(exp(-x)*(x^(n+alpha)), x$n);
rodrigues := subs(x=2*p, rodrigues);
rodrigues := subs(alpha=1/2, rodrigues);

i want to plot a streamlines for the functions 

psi=2y-exp(-x):

for different values of psi=0,1,2,3 and x=0 to 1 i want plot stream lines 

Dear Friends.   I solve a group of linear equations and the memory is not enough and i can't 
adding a new hardware to the computer.

i increase the virtual memory of the computer from some chose for the operating system 
but it seem to me the Maple use the memory from the hardware only.

I want to know is there any method to make the Maple using the virtual memory for 
the computer

Amr

When i use the pronumeral thetac (using greek characters) I initially get numeric data reported, but later in the script i get the pronemeral literally repeated (as though there is no value defined for this pronumeral).


This does not happen for thetahs (using greek characters), where I always get numeric results (through the entire script).

See the following script: sample_1.mw

I re-wrote the...

I just encountered a very strange behavior when using DEplot. I want to generate a slopefield and solution curves. However, when I enter the command, only the arrows in the slopefield are showing. If I click on the plot where the solution curve should be, I see the outline of the curve. It's as if the curve isn't begin colored. I hope someone is able to replicate this behavior and suggest a fix. Thanks! (See attached file) 

First 1632 1633 1634 1635 1636 1637 1638 Last Page 1634 of 2428