Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

The line continuation character when programming in Maple is the backslash `\`. When using the new Maple IDE within Eclipse, the backslash `\` is not recognized as the line continuation character and causes syntax checking errors. The code within Maple IDE compiles correctly with this line continuation character as you'd expect.

Does anyone know how to add syntax support for line continuation `\` within the new Eclipse Maple IDE?

Example:

tTable := (...

Now I have written this for loop just intuitively but unfortunately it doesnt work:

x(0):=0.5

for N from 1 to 100 do

x:=proc(n) option remember; eval(r*x(n-1)*(1-x(n-1)),r=4/(100)*N) end proc;

l(N):=[seq(x(n),n=20..100)]

end:

What's the specific problem maple has?

 

Edit: problem solved: 

for N from 1 to 100 do

x:=proc(n) option remember; eval(r*x(n-1)*(1-x(n-1)),r=4/(100)*N) end proc;

Hey guys,

I have the following problem:

I would like to know whether the derivative (e) is negative (given certain assumptions). 

e := diff(((d1-pfw1*Kw-pfs1*Ks-1/3*(d1-pfw1*Kw-pfs1*Ks+d2-pfw2*Kw-pfs2*Ks+d3-pfw3*Kw-pfs3*Ks))*(pf1w-1/3*(pfw1+pfw2+pfw3))+(d2-pfw2*Kw-pfs2*Ks-1/3*(d1-pfw1*Kw-pfs1*Ks+d2-pfw2*Kw-pfs2*Ks+d3-pfw3*Kw-pfs3*Ks))*(pf2w-1/3*(pfw1+pfw2+pfw3))+(d3-pfw3*Kw-pfs3*Ks-1/3*(d1-pfw1*Kw-pfs1*Ks+d2-pfw2*Kw-pfs2*Ks+d3-pfw3*Kw-pfs3*Ks))*(pf3w-1/3*(pfw1+pfw2+pfw3...

I have no idea about how to go about this question, any help is appreciated thanks.

Bonjour,

L'expression

L'exprission kw ci-dessus est une procédure en polynôme Pol de variable "p". Est-il possible de simplifier la valeur k:=kw(Pol)? Sur Mon portable, à certain moment de calcul, je vois que maple est presque bloquer.

#=============================================================:

> restart:
> with(LinearAlgebra):
> kw:=proc(Pol)    
> local a0,a1,a2,a3,R,alpha0,alpha1,alpha2,k:



 

``

Hi, 

The maple 16 installed on my win7 system does not work because its gui worksheet does not accept any symbol input (except the plus sign).  For example, the cursor become frozen once a minus sign is input. The classical worksheet works well. 

On the test I had today I was asked to find the derivative of x^3+3*cos(x) using the definition of a derivative. The (f(x+h)-f(x))/h type.

So i set my function and then used the definition and then tried to simplify. Unfortunately the bottom h is still there so when I try to evaluate the function when h=0 it returns an obvious problem. It can't divide by zero. Usually when I do this the h on the bottom will be canceled out, but it wouldn't do it for this one. Does...

hello,

i know that to define a complex number z = a+bI

 

now i need to know how to define a complex number in 3d like f= fx i + fy j + fz k

Hello All 

I looking to write Maple code procedure to solve this equation 

restart;
with(PDEtools):
with(plots):
with(LinearAlgebra):
pde := diff(psi(t,x),t,t) - diff(psi(t,x),x,x) + V(x)*psi(t,x);

where V(x)->x^2;

I have to use this stencil 

u[i+1,j]=-u[i-1,j1]+(1-1/8*h^2*v[i-1])*u[i,j-1]+(1-1/8*h^2*v[i+1])*u[i,j+1]; where i is spatial step and j is time step

Thanks 

 

Hello,
I have a question concerning the change of the results of Maximization procedure and it will be much appreciated if you could help me.
The case is: I need to find the maximum of a function (call if f(t)) given a range of values of another function (call it g(t)).Both sets of parameters are the same. I use "Maximize" command, but I need to plot the the results on (f,g) plane afterwards. How could I change the Maximization output in order to have only objective function...

int(y^2/2 - lambda*(u*diff(y,t)-diff(u,t)-a), t);

 

with(Physics):

diff(y(t)^2/2 - lambda(t)*(u(t)*diff(y(t),t)-diff(u(t),t)-a), u(t)); # u -> something

 

diff(lambda(t),t) disappear

 

should be

diff(lambda(t),t)+Physics[`*`](lambda(t), diff(y(t), t))

 

diff(y(t)^2/2 - lambda(t)*(u(t)*diff(y(t),t)-diff(u(t),t)-a), y(t)); # y -> something

 

u*diff(lambda(t...

I would like to take the sin of a procedure, but it keeps giving me an error. Is it possible at all, or should I rewrite it into a matrix?

like this: sin(proc(x)...end proc)

following expression doesn't simplify to 1

conjugate(1/sqrt(I*t*lambda+m))*sqrt(lambda^2*(t^2)+m^2)*(1/sqrt(I*t*lambda+m))

Now I did use assumptions on any variable

specifically: assume(lambda>0,t>0,m>0)

Then I tried radnormal, simplify, evalc, combine(expr,radical)

But none of these work.

Hey (again) everyone. I'm back with a question similar to (but never answered on) this post: http://www.mapleprimes.com/questions/152116-Maple-Doesnt-Recognize-Function-Definition

The problem here is almost identical, except now it won't let me define a procedure. It's very bizarre. Here is my sheet:

First 1444 1445 1446 1447 1448 1449 1450 Last Page 1446 of 2249