Maple 16 Questions and Posts Maple 16 Questions and Posts Feed

These are Posts and Questions associated with the product, Maple 16

MapleProc help...

October 14 2013 MOSO1401 10

I have here Maple proc, but it doesn't work. I am try to solve this equation 
pde := diff(u(t, x), t, t)-(diff(u(t, x), x, x))+x^2*u(t, x);

with 3 piont known , we have 
stencil:=u(i,j)=-u(i-1,j-1)+(1-h^2/8*v(h/2*(j-i-1))^2)*u(i,j-1)+(1-h^2/8*v(h/2*(j-i+1))^2)*u(i-1,j);

please see the file I attached here

Thank you

wave_proc.mw

Hello everyone,

I saw a question on a different forum related to the stability of the numerical solution of a coupled ode system. The original question was about the convergence of the far field condition (infinity) for some specific values of the different parameters involved.  For the details please see the link below

http://mathematica...

Hello

 I wish to solve nonlinear PDE equation numerically  in u & v coordinate . where u=t-x, v=t+x . we note x=(v-u)/2.. 

pde := diff(u(t,x),t,t) - diff(u(t,x),x,x) + x^2*u(t,x);  

 

 We need only initial condition let f(u)=sech(u) & g(v)=sech(v). So u((i,0)=f(ih), u(0,j)=g(jh) 

we summe step size of time j =  step size of spatial i .

the stencil we use , 

about "is" command...

October 08 2013 sakhan 35

In my maple 16 the following is returning FAIL. Why ? and what is the correct way to do the following.

restart:

assume(n::posint):

is(n^2<=2^n);

 

Regards!

Unable to compute series...

October 07 2013 acdah 10

Error:

 

File: error-series.mw

Please help?

 

I tried this on maple:

eps1 := [0, 1/5, 2/5, 3/5, 4/5, 1]:
start1 := 2.3:
base1 := 1.1:
for i from 1 to 6 do
R := start1*base1**0:
points1[i] := [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1[i]}))]:
for a from 1 to 20 do
R := start1*base1**a:
points1[i] := points1[i], [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1[i]}))]:...

Hello,

I have a question about 'combining' procedures, in like: I would like to write a procedure which refers to a formula containing already a procedure.
I know somebody already posted a sort of similar post in 2009, http://www.mapleprimes.com/questions/36874-Calling-Procedure-Inside-Another-Procedure, but I'm missing the point of what's happening over there...sorry for that.

I just would like to know a general form of how to use a procedure 'inside' another procedure.

Well, in my case I have a formula (let's say 'equation1') containing a procedure which eventually draws a line. Later in my worksheet I use a formula ('equation 2') which is a procedure too, in which I want to substitute a parameter into 'equation1'. But because 'equation1' already contains a procedure I don't know how to solve this situation.

It's pretty hard to explain it on paper, but I hope it's clear.

Frank

I've done the procedures for answering the questions but i don't know how to go about calculating f(6) and f(15).

Hi, this question requires the use of with(geom3d): package and i don't know how to go about answering it.

piecewise function plot?...

October 03 2013 J4James 175

Hello dear,

I want to plot a piecewise function.

The code is 

restart:with(plots):

lambda0:=PL-R3*x;

Psi0:=PL+R3*S0*(R1-1)-R1*R3*x;

S0:=(Q-1)/Q;

P:=piecewise(x<S0,lambda0,x>S0,Psi0);

R3=-5,k=4,R1=0.0006,Q=1.2

I want to plot P vs x (0..1) vs PL (0..1).

Thanks

HelloI have Mathematica code(notebook) I want to convert it to Maple code (worksheet)
 Thanks 

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. 

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...

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)

5 6 7 8 9 10 11 Last Page 7 of 35