Maple 16 Questions and Posts Maple 16 Questions and Posts Feed

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

I am trying to sort a list of symbolic values:

assume(0<=x<=1)
v := [x, 1/3-(1/3)*x] 

However, Maple can't do it because of the assumptions. Is there a function I can pass to sort() that would sort such a list correctly? I thought that sort(v, (a,b)->is(a>=b)) would work because it takes into consideration values which are equal to each other, but it doesn't - I get [1/3-(1/3)*x~, x~] no matter what ordering function I use.

Thank you.

I have a variable with some assumptions: assume(0<=W<=1).

Now, when I make a list and sort it, everything goes fine:

k := [W, (1/3)*W, (1/3)*W, (1/3)*W]:
sort(k, (a,b)->is(a>b))

I get [(1/3)W, (1/3)W, (1/3)W, W] as expected.

Now I try this:

k:= Vector[column]([W, (1/3)*W, (1/3)*W, (1/3)*W]) 
sort(k, (a,b)->is(a>b))

And Maple gets stuck on this computation. I have tried on both Windows and Linux, on several different computers.

Hello everyone,

I have a system of PDEs

restart:with(PDEtools):with(plots,implicitplot):

Pr:=1:A:=1:lambda:=1:Omega:=1:epsilon:=1:C1:=1:N:=5:b:=1:fw:=1:a:=1:

Eq1:=diff(f(eta,tau),eta,eta,eta)-diff(theta(eta,tau),eta)*diff(f(eta,tau),eta,eta)+

f(eta,tau)*diff(f(eta,tau),eta,eta)-(diff(f(eta,tau),eta))^2-(1+A*(1-theta(eta,tau)))*diff(f(eta,tau),eta)

+lambda*(1+epsilon*cos(Pi*tau))*theta(eta,tau)-Omega*diff(diff(f(eta,tau),tau),eta);

Hi, I need some help with my code. I got the code that you can see below:

> with(DEtools);

> with(plots);

 

> cc := Array(["Blue", "Red", "DarkGoldenrod", "Black", "LimeGreen", "DarkMagenta", "Indigo"]);

> ll := Array(...

plote3Din Maple...

October 17 2013 MOSO1401 10

Hello 

 I couldn't make plot3d in my Maple code please see the file I attached it and let me know any idea how can I make plot it in 3D

Thanks

Hello,

I'm trying to sort a list of symbols respecting some assumptions I have made about them. For example, I'd like to assume that 0<x<1, and I would like [x, x^2, x^3] to be sorted into [x^3, x^2, x]. How would I accomplish that? Making an assumption with assume() does not affect anything, as the sort() function does not seem to be actually comparing the values of symbols (only numeric values). Any help will be appreciated.

Thank you. 

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.

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