MaplePrimes Questions

Hi,

I want to put some code into a Maple library. I'm new to producing packages. The following code runs OK, but when I try to use one of the procedures added by the LibraryTools[Save] command, Maple returns

input: MySum(a, b);
output: MyMapleLibrary:-MySum(a, b)

Why does Maple return an unevaluated call to MySum?

The code is below:

restart:
with(LibraryTools):

MyMapleLibrary:=module()
  description "A sample Maple library.":

Hi,

In chapter 2 of the Advanced Programming Guide, it says:

"Important Always ensure that the standard Maple library is write-protected to avoid saving expressions in it. If you accidentally save something to the standard Maple library, you may need to restore the original from media on which you obtained the Maple software".

How do I make the standard Maple library write-protected? Is it by marking as read-only the following folder?

How can I see the steps of solving a PDE ( partial differential equation ) in maple .
for example see the sepration variables and other equations that lead to final Eq .

Given f(0)=.9996227171873666421850099370279559699139150588529262999972424126225010232473280487452608765415854234

a=5/6

then how to plot the function in Maple 12 

f(t)=a*f(0)*[1-f(0)]*e^(-a*f(0)*t)

restart:with(plots):

eq := diff(f(eta), eta, eta, eta)+.11-(diff(f(eta), eta));

bc2 := f(0) = 0, (D(f))(0) = 1, (D(f))(10) = .1;

dsolve({eq,bc2}):

F1:=evalf(rhs(%));

contourplot(x*F1,x=-3..3,eta=-0.2..0.2);

I need to get the data from the above plot in a .txt file.

Thanks  

I have been given the logistics map:   xn+1 = rxn(1-xn) where xn is a number between zero and one that represents the size of the population in the nth generation as a ratio of the environment’s maximum capacity.
The parameter r is a positive number related to both the reproduction rate and the rate at which the
population dies due to limited resources.  Create a procedure (taking arguments r and initial population size x

Is this really the answer we want?  

> sum(log(n)/n,n=1..infinity);  

Error, (in Zeta) numeric exception: division by zero  

rsolve(a(n)=2/a(n-1)+1,a(1)=1),

thx in advance.

Sorry, this seems like a silly question. But is there an easy way to convert trig funcitons, or even non trig functions to orthogonal (in this case Legendre) polynomials? 

Hello,

 

I am trying to solve 9 non linear equations in 3 do loops(program attached without loop) and I am using digits:=20; for computing 10 values its takes around 5 minutes. I need to compute around 18000 such values for a plot. It might take several days for this. Is there any mistake in my code which is taking it so long to run or is it just the complexity of the equations.

 

Secondly, I am trying to compute some calculations to...

Hi,

     So I've got a numerical solution to a D.E. and want to find which parameters (v, theta) cause the second event to occur. Here's my dsolve

> soln:= dsolve({eqx, eqy, inty, intx, x(0)=0, y(0)=0}, {x(t), y(t)}, numeric, method = rkf45, output=listprocedure, parameters=[v, theta], events=[ [ [diff(y(t),t)=0, y(t)

 The first event is "Does the trajectory reach its max at a height less than 3.05m? If so, stop computation"...

Can I create an tensor in the Physics package in Maple 16 with a free index like i=1..N:

 

A[mu,1]:=A[mu]

A[mu,2]:=B[mu]

.

.

.

and so on? The index is not one of the type gauge, spacetime or spinor.

Can you expalin the difference between the gaugeindices, spinorindices,and spacetimeindices in the Physics package in Maple 16? 

Hello every one,

I am using similarity transformation to transform a PDE into an ODE.

I got the ode but its in a very ambiguous (unclear) form.

I need help to have the ode in a more friendly reading format.

Thanks

pdetoodest.mw

Is it possible to change the caption of RiemannSum command in Student[Calculus1] package with animation output option, keeping approximate value and number of partitions outputs?  I tried to use typeset command, but I haven’t succeeded.

Best regards,

Emrah

 

First 1680 1681 1682 1683 1684 1685 1686 Last Page 1682 of 2434