Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi all, I am a teacher of middle/high school math. I have found that when I use the solve function on:

x/3=(x+0.2)/15+1.5

I get 5.674999999

In fact, as I was typing the above equation just now using Maple Math, I noticed it returns:

The Export function in ExcelTools completely overwrites Excel 2010 ".xlsx" files with no errors or messages.  The same command works properly for Excel 2003 ".xls" files.  It looks like a bug to me.

Hi, 
I'm trying to visualize a 3-Dimensional function, the color being the 4th dimension. All the examples that I have found of the so called plot3d function only involve 2D functions, the third dimension really being the return value of the function. I need more: I have a 3D function which takes in (x,y,z) if you like, and outputs one number. I'd like to visualize this function in maple. 

 

Thanks, 
~Austen 

Hi,

See the code mli.mws

What is the mistake in this command ?

chfonc:=cat('piecewise(' , seq(cat(convert(t<lf[k],string) , ' , 1 , ' ,convert(t<lf[k],string), ' , 1 , ' ) , k=1..p) , '1) ') :

I am trying to solve three non-linear coupled initial value problems. The equations are a bit complicated. The MAPLE code is 

restart

with*plots

eq[1] := (1/6)*Ra*v(x)^3*((2*v(x)*w(x)^2*(v(x)^2/w(x)^2-3)*(diff(w(x), x))-6*w(x)^3*(1-v(x)/w(x))^2*(diff(v(x), x)))*A+v(x)^2*w(x)^2*(2*v(x)/w(x)-3)*(diff(w(x), x))-3*w(x)^4*(1-v(x)/w(x))^2*(diff(v(x), x)))/(w(x)^2*(w(x)+2*A)^2*(2*v(x)+3*B))+u(x)

eq[2] := (1/105)*(diff(u(x)^2*(v(x)^2+11*B*v(x)+39*B^2...

The following simple code

myproc1:=proc({parlist::list:=[]})
return parlist[1];
end proc:

myproc2:=proc(parlist::list)
return myproc1('parlist'=parlist);
end proc:

myproc2([1,2]);

fails with


Error, (in myproc1) invalid subscript selector

The reason is that myproc1 has the optional argument parlist, which has the same name as myproc2. myproc2 seems to make...

First of, thank you commenters, you have helped me so much in the past!

I am doing a matrix inversion with random numbers and I would like to loop the process, and have each inverstion go into a matrix, such that the matrix will be a bunch of rows ( i number of rows) and three columns (the matrix inversion yeieds three values)

 

> for i to 2 do;
>
> a1h := Generate(float(range = 0.1316881e-2 .. 0.1359706e-2)); a1f := Generate(float(range = .317149811 .. .327463626...

One of my coworkers brought in G.L. Legendre's book "Pasta By Design" (amazon.ca/dp/0500515808).  It is full of photographs and parametric equations for 92 shapes of pasta.  Of course, we had to set about plotting his equations in Maple.  Orginally I was going to post about this before Maple 16 came out, but I was struck with how much better plots looked in the Maple 16 pre-release and so I decided to wait.   As one example, here are the parametric equations for Giglio Ondulato noodles plotted using the default 3D plot settings in Maple 16 and Maple 15.

 

Hi,

I am really stuck in one more bit thats the least square problem.  leastsquare1.mw 

Hope someone can help me to solve this bit and get me out of this problem :(.

Least square method is successfuly implemented in MATLAB code (WRITTEN IN THIS MESSAGE AT THE END), but I couldn't do it in Maple.  I am having problem in the for loop section,  I am attaching Matlab code and  maple code ...

I have a differential that I'm solving using rk4 on maple and I want to plot the resaulting points in an interval. How do I do that?

here is what I've already done:

> f := {y(0) = 0, diff(y(x), x) = cos(5*y(x))-x};

> p := dsolve(f, y(x), numeric, method = classical[rk4], stepsize = .1);
proc(x_classical)  ...  end;

> for i from 0 by .1 to 3 do p(i) end do;
           ...

scatter2d  quantile2 scatter1d is removed?


with(stats): with(statplots): with(transform):
with(random): with(describe): with(plots):
datax:=[normald[5,1](100)]:
datay:=[normald[7,3](100)]:
scatter2d(datax,datay);
quantile2(datax,datay);
scatter1d(datax);
scatter1d[jittered](datax);

who(things) replace it?

Can you divide 2 polynomials with Real coeffs.   eg 1.87x3-2x2+5.789x- 3,2 by    1.5 x2+2x-1.4 to get the quotient and remainder? If so how?

Released today, with over 4500 additions and enhancements, Maple 16 reinforces our track record for consistent innovation and industry leadership in areas like ease of use and symbolic computing performance.

Hello,

Suppose that S1,S2,S3 are 3 blocks of a matrix S := Matrix(...). I would like to do

 

out := ArrayTools:-Concatenate(2,convert(S1,vector),convert(S2,vector),convert(S3,vector)):

but in the case when I have n blocks.

 

Thanks,

Dimitar

I am aware of how to plot the feasible region defined by a system of linear inequalities (inequal in the plots package). Also, I can use the implicitplot command to plot the feasible region defined by a single nonlinear inequality. My question is, how do I plot the feasible region defined by a system of nonlinear inequalities. For example, how would a graph the region satisfying x>=0, y<=exp(-x), and y>=x^2?

First 1626 1627 1628 1629 1630 1631 1632 Last Page 1628 of 2253