MaplePrimes Questions


I was wondering how one uses maple to solve for variables that comprise the limits of an integral?

X and R are between 0 and 1.

Any thoughts would be greatly appreciated, thanks in advance...!


When should i use ->  for a procedure definition and when not ?
In my post i do see examples of  procedures which are made on two different ways.
proc  ..end proc;

Still difficult to get a procedure on two ways 

Typesetting:-mprintslash([(test := x -> x^2)],[x -> x^2])


test:= proc()
local x,a;
a:= x^2;
end ;
Typesetting:-mprintslash([(test := proc () local x, a; a := x^2; end proc)],[
proc () local x, a; a := x^2; end proc])



As you can see with the standard proc definition i getlost with  calculating x^2 

In the past I worked with mathcad where it was very easy to work with units. Now I try to switch to Maple but I am still struggling when I want to implement units. In the simple attached worksheet I try to multiply vector a in [m] with vector b in [cm]. I get an answer in [m] but I cannot convert the answer to another unit. Right clicking allows me to change the unit e.g. to mm but nothing happens in the worksheet. When I use convert, the units are expressed numerical in cm but the vector still shows m. My apologies in advance for this simple questions but I find no way to solve my issue.

Anyone can help me to convert matlab codes to maple, pls, this is my code p

Who deleted my post - "How to factor out specific parts from expression"

Can i make a natural numberline what shows the enumber of primes at each of 1000 numbers  
I have her

0-1000 : 168
1000 -2000: 135

2000-3000 : 127

3000- 4000: 120

4000 -5000 : 119 

then a gap (jump) 

10^7- 1000- 10^7  : 53 

You can see that the "number of primes"  is fluctuating
Can i make a procedure what calculates the latest mersenne prime number ?
Problem is only that there is a theorem: there are arbitrary long series of divisible numbers on the numberline 
There are gaps of length n - 1, where are no primenumbers  in positioned.

The idea is to get a idea of the distribution of primes to make a guess from where to start to find another one? 

Hello, I found this code from Acer works great:

p=floating point number such as 0.003483 

nprintf(`#mn(\"%1.3e\");` , p)

prints a number in Scientific format,    3.483e-03


HOWEVER, What is the #mn please?   Is it a comment, or a MathML function?

Regards, Bill

Dear all, do you know if there is a way to ask Maple and the Physics package to use the bold notation of vectors instead of using arrows? 

Thanks, Kevin


I want to solve system of  PDE equations by maple and i dont know how can i write it codes that can solve them for me. Can anyone help me please??!!


Good day.

When I export an animated 3D (surface contour) plot to a gif format, the image is incomplete (please see attached file).

Can anyone suggest a way to reformulate the expressions so the animated plot can be exported to Powerpoint intact?

Thanks for reading! 

Hi all !

I have a list of coupled ordinary differential equations 

L := [e1,e2,e3] = [diff(z(t), t, t)*m = 0, diff(x(t), t, t)*m - B*diff(y(t), t)*q = 0, diff(y(t), t, t)*m + B*diff(x(t), t)*q = 0] with unknown functions x(t),y(t),z(t).

I want to obtain the list of "normal forms" of the ode using the DEnormal function. The help page says that it is possible to use it with an operator list but none example is given. 



Dear all, 

I am trying to use the Physics package to perform a simple computation about the expression of speed and acceleration in the local polar basis (Frenet). I am trying to get something like :

Define the position vector :

differentiate wrt t to get the velocity vector 



Similarly :



Can anyone please help me ? Many thanks!

So I just noticed that if you want to animate something in real time, the best you can achieve is something close but not exact.

For example lets say we have a ball travelling 22 m/s over 1000 m and I want to animate that in real time. 

ball := proc(x, y) plots[pointplot]([[x, y]], color = blue, symbol = solidcircle, symbolsize = 40); end proc:
animate(ball, [22*t, 0], t = 0 .. 1000/22, frames = floor(1000/22));

frames has to be an integer value so determining how long it will take and adjusting the frames to 1 frame per second.  It requires a bit of manipulation to get it right.  Is there a better way?  I suppose boosting the frame rate and increasing the number of frames would work but then it becomes cumbersome and any large period of times would use a high number of frames and consume enormous amounts of memory. 

First 103 104 105 106 107 108 109 Last Page 105 of 2173