MaplePrimes Questions

I have just started using MapleSim 5 and running the examples I got the following notification and don't know how to resolve it (to what options are being referred to and what is infolevel?):

Compiling...

(in dsolve/numeric/RunSimulation) unable to compile, please check your options by running with infolevel[ToExternal]:=1;

Simulation failed.

To highlight the problem I am haveing let us observe the following example. If we solve the following numerically,

d2/dx2 (s(x)) +s(x) -1=0,

ic: s(0)=1/2,s'(0)=0

How would I go about createing a plot of (s(x),x) for  x a member of [0,2*Pi) (useing polar coordinates clearly)?

The probelm I am haveing is plotting for x a member of [0,2*Pi). I know how to do this for x a member of [0,2*Pi] and (0,2*PI), but not  [0,2*Pi).

My code contains a long "module" so i can't really "split execution group".

but it seems that the exported LaTex file is determined to fit "one segament of code" on one page when I compile...

Likely has been asked before, but I cannot find the answer:

I have a table with a good number of entries, all of them indexed by strings. I'd like to sort the table by ascending index (i.e. alphabetically A...,B... etc) before I write the result to a file. Obviously, the entries have to stay with their respective indices.

Like:

Table([B=4,C=2,A=3]); to be sorted as A=3,B=4,C=2.

The sort command in Maple works with Arrays only; I understand.

Hi,

I'm trying to define a simple forward difference operator Δ to act on a function f(n). I have defined, in a number of ways, Δ(f(n)) = f(n+1) - f(n). This works fine but I want Maple to calculate powers of Δ. e.g Δ2 (f(n))= f(n+2) - 2f(n+1) + f(n). As it stands, Maple returns (f(n+1) - f(n))2 seemingly however I define the functions.
What am I doing wrong? Help much appreciated.

DJF

When I input the following commands in a fresh document

with(VectorCalculus):

SetCoordinates(cartesianx,y,z)

cartesianx,y,z   (1)

Del(xy)

0ex   (2)

 

I get <0,0,0> when the answer is obviously <y,x,0>. What's going on?

Hi every one,

How can I get bouble Curl of this equation

 

 

 

In the above equation, the first term has the Laplacian, the second one has the gradient and in the term "k" is the unit vector and also u=(u1,u2,u3). sqrt(R) is a constant. 

 

Dear everyone.
I'm trying to substitute expressions which are represented by square root into eq.
But, it doesn't work well as shown in the below figure.

First, the 'a' is only substituted into numerator. I'd like to know how 'a' can be also substituted into denominator.
Second, the 'b' can be substituted as I ordered to Maple.

Advice would be appreciated . Thank you !  (If you need my maple code, this will be referred in the below.)

Hi,
I need to solve a big linear system (sparse, if it helps). I first used the "Matrices" and it worked perfectly, but then the matrix got bigger and I got the message "assigning to a long list, please use Arrays". So I learned how to manipulate Arrays and basically wrote the whole program again, but I couldn´t find how to solve A.X=B when A and B are Arrays. And it seems like nobody talks about that on the internet :( please don´t tell me that in 2012, with...

I am dealing with a problem in engineering mechanics, but my when using maple to solve the governing nonlinear equation with 4 bcs, I meet with error. 
Error, (in dsolve/numeric/bvp) initial Newton iteration is not converging

my code is :
deq := diff(y(x), `$`(x, 4)) = -.364*(diff(y(x), x))^2*(diff(y(x), `$`(x, 2)))+1.74*10^(-7)
bc := y(0) = 0, (D(y...

Is there a way to modify icon size into palette?

I have a collection of functions defined either in terms of a single variable - call it r - or in terms of (r and) the other functions of r.

To be more specific, there are two free functions B(r) and N(r), a function theta defined in terms of N(r) and B(r) (and their derivatives) and r, and a free function V(theta).

Finally I have a function, call it f, written in terms of B(r) and N(r) (and their derivatives), r, and V(theta) and its derivatives with respect to both theta and r.

How to convert Maple code to Matlab ?

comment je doiy faire pour convertir mon code Maple en Matlab?

merci d'avance pour votre aide.

Cordialement.

Hi,

 

I am trying to get maple to "simplify" the product of two infinite sums, according to Laurent's condition, as follows:

Given two Fourier series expansions,

F = sum{h=-inf..inf, f(h)*exp(i*h*x)}

G = sum{s=-inf..inf, g(s)*exp(i*s*x)}

 

Their product may be written as F*G, and then simplified as follows:

F*G

= sum{h=-inf..inf, f(h)*exp(i*h*x)} * sum{s=-inf..inf, g(s)*exp(i*s*x)}

= sum{h=-inf..inf, sum{s=-inf..inf, g(s...

I have an Array which storage consist ot other arrays with different datatypes...so my question is: Is there a way to protect this Array from being scaned from the garbage collection? I've got that if an array is saved as hardware float datatype it wont be touched from the gc, but how to do it when the datatype is not a hardware float? Might be something like MapleGcProtect, but not for external calls !!!

Thanks in advance.

First 1698 1699 1700 1701 1702 1703 1704 Last Page 1700 of 2434