MaplePrimes Questions

Thanks guys for your help, I know I am asking sometimes some stupid questions, I spend hours trying to do that, but when I am stock.... I need some help... and when the problem is solved I can see how unintelligent am I .

I want to  get   nonlinear equations solutions using 'solve',but i always meet that the program running long long time,i want to stop this 'solve' procedure giving a limit time.how do i.can you help me.thanks a lot.

I have document Maple.mw. I want to copy all text to mathtype. How do I copy and paste?

Link download: maple document

Why does the following not work?

 

factors(x^4-1)

Why does Maple 2015 solve this very simple system incorrectly?

solve({abs(a-b)=0, sqrt(2*b+c)=0, c^2-c+1/4=0});

              

 

With Maple 12 no problem:

solve({abs(a-b)=0, sqrt(2*b+c)=0, c^2-c+1/4=0});

              

 

 

Hi,

I try to solve a system of two second order non linear ordinary differential equations using Maple that I expect to find singularities as blow-up points.

So, I would like to know how to compute values of singular points when existing.

Thank you in advance. 

 

ode1: -0.1*diff(u(z),z$2)+(z-2*diff(v(z)^-1/2,z))*diff(u(z),z)+(3-2*diff(v(z)^-1/2,z$2)*u(z)=0

ode2: 0.1*diff(v(z),z$2)+0.01*z*diff(v(z),z)+0.02*v(z)-u(z)*v(z)^1/2=0

Ics: u(0)=0, v(0)=0, D(u)(0)=0, D(v)(0)=0

Hi

I have problem with 3Dplotting of this piecewise...can anyone help me please?!

since i know the output will be a value between 0 and 1 can i plot it for different values of Mu in this range to eliminate a dimension?

Mu(x1, x2, x3) = piecewise(`or`(`or`(x1 > 55, x2 > 10), y >= 2), 1, x1 < 35 and x2 <= 10 and x3 < 1, (1/10)*x2, `and`(`and`(x1 < 35 and x2 <= 10, x3 >= 1), x3 <= 2), max((1/10)*x2, x3-1), `and`(`and`(`and`(x1 >= 35, x1 <= 55), x2 <= 10), x3 <= 1), 1-((55-x1)*(1/20))((10-x2)*(1/10)), `and`(`and`(`and`(`and`(x1 >= 35, x1 <= 55), x2 <= 10), x3 >= 1), x3 <= 2), max(x3-1, 1-((55-x1)*(1/20))((10-x2)*(1/10))))

Thank you very much in advance...

restart;
#plot(exp('frem'(x+1,3)-1),x=-5..5,discont);
int(exp('frem'(x+1,3)-1),x=-5..5);
Error, (in int) wrong number (or type) of arguments: invalid options or option values passed to exact integration
evalf(Int(exp('frem'(x+1,3)-1),x=-5..5));
Error, (in evalf/int) when calling 'frem'. Received: 'invalid input: frem received x+1, which is not valid for its 1st argument, x'
sol1:=dsolve({diff(x(t), t)=eval(piecewise(0 <= t and t < 10/3, 60, 10/3 <= t and t < 13/3, 0),t='frem'(t,13/3)),x(0)=0},numeric,output=listprocedure);
sol2:=dsolve({diff(y(t),t)=eval(piecewise(0 <= t and t < 4, 50, 4 <= t and t < 5, 0),t='frem'(t,5)),y(0)=0},numeric,output=listprocedure);
#two commands above are well,but the below is not well.
sol:=dsolve({diff(x(t), t)=eval(piecewise(0 <= t and t < 10/3, 60, 10/3 <= t and t < 13/3, 0),t='frem'(t,13/3)),diff(y(t),t)=eval(piecewise(0 <= t and t < 4, 50, 4 <= t and t < 5, 0),t='frem'(t,5)),x(0)=0,y(0)=0},numeric,output=listprocedure);
Error, (in signum) invalid input: frem received t, which is not valid for its 1st argument, x
plots:-odeplot(sol,[[t,x(t)],[t,y(t),color=blue]],t=0..50,gridlines=true,thickness=2);
Error, (in plots/odeplot) input is not a valid dsolve/numeric solution.

any advice is appreciated.

eq:=[Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = -0.3381778526e-2, (2) = -.3381778526, (3) = -.3185010532, (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.})]

how i can get a unique results:[Vector[row](4, {(1) = 0., (2) = 0., (3) = 0., (4) = 0.}), Vector[row](4, {(1) = -0.3381778526e-2, (2) = -.3381778526, (3) = -.3185010532, (4) = 0.})]

 

Maple show "

Error, (in simplify/hypergeom/baseHG) Maple was unable to allocate enough memory to complete this computation. Please see ?alloc"

after I finish the equations set and run it.

what's the reason?

hi,

 I solved  the laplace equation(pde) in spherical cordinates(in my problem tempreture is steady and azimuthal(theta) asymmetry,so my data is a simple function of "phi".)

but I'm really confused,how to make a contour plot of this data on the surface of the sphere where only each point of (phi)axis has a corresponding data value> "simplify(u(1,phi))"?? [the code with the data "u" is attached]

plzz help me soon and abit simple for a newbie,tnX alot. 

 

Download ques.mwques.mw

Hi, I was told there are 3 errors about this code, could anyone please help ?

Thank you very much 


DiSpanningTree := proc(G,v)
local comp,edges,recurse,visited;
recurse := proc(w)
local d,z;
if assigned(visited[]) then return false; end if;
comp(numelems(comp)+1) := w;
visited[w] := true;
d := Departures(G,v);
for z in d do
if recurse(z) then edges(numelems(edges)+1) := [w,z]; end if;
end do;
return true;
end proc;
visited := table();
comp := Array([]);
edges := Array([]);
recurse(v);
return Graph(convert(comp,'list'),edges);
end proc:

I am new to maple and I need help.

Let x=x(t) and y=y(t) be functions in t. Suppose that x'=2x−5y+t and y'=4x+9y+sint such that x(0)=y(0)=0. Find y(1).

How do I go about doing this question?

Thanks

Can I use Maple to solve equation like |a-b|+\sqrt{2b+c}+c^2-c+1/4=0 for a,b,c?

 

a,b,c are real numbers and I need to solve it in real domain.

Dear all,

I have one probem in using Maple in comparison with Matlab.

Generally, when using Matlab, I write a long program with 500 lines (for example) and where I use some matricial calculations and other. When I want to repeat this program for some parameters (variables) many times, I transform the program to a procedure "Function" with just adding the command Function in the start of the program.

When using Maple, I have a difficulty to transform a long program which I want to repeat for some variables to a procedure "proc". The program uses packages like LinearAlgebra and other procedures.

Is there a simple way to transform a long Maple program to a procedure which should be repeated many times for some variables in Maple. 

I have especially problems with the commands local, global, use (for packages), etc.. and the warning related to the variables. It is not easy for a long program with many variables to write them in local or global variables.

Thank you.

First 1288 1289 1290 1291 1292 1293 1294 Last Page 1290 of 2434