MaplePrimes Questions

I have a column vector of lists. FWIW, it was generated by numerically solving an ODE and then map-ping the solution over a vector with values for the independent variable, like "yt:=map(solnn,xv)" where xv is a column vector with floats and solnn is the result of a dsolve(...,numeric). Each element of the solution vector yt has the form [t=..., y(t)=..., d/dt(y(t))=...] and has the type List.

I want to extract the solutions for y(t) (i.e. the numbers only) into a new...

i am modeling a simple standing wave. i have created three plots y1, y2 and y and then i am using animate to move them. the problem is that i cant add a legend describing every plot and i am not getting how to do this.

in addition when i click on the plot and then go to the legend menu, both show legend and edit legend are disabled.

here is my code
 
with(plots): y1:=0.01*sin(Pi/2*x-40*Pi*t);

y1 := -0.01 sin(-1/2 Pi x + 40 Pi t)

I'm very new to maple and i want to use DEplot to plot phase portraits.  how do i do this? I am using maple classic.

Hi, I am trying to put a for loop inside another for loop, but it is not working. but if i split it up, it works, may I know what is it i miss out please?

eta is a diagonal matrix.

I tried writting

for i from 1 to 17 do
nod:=(2*(i-1))+1;
diz:=eta(i,i)
end do

for j from 2 to 18 do
nod:=(2*(i-1))+1;
diz2:=eta(j,j)
end do

but when i try to combine it

for i from 1 to 17 do
for j from 2 to 18 do

When maple does gauss elimination for matrice(student linalg). In "edit matrice" can i solve for x1,x2,x3..?

Hi, How do I check what sort of matrix is it by asking the right question?

For example, M is a 3x4Matrix

I type in "whattype(M)", it gives me the answer "matrix".

May I know what I should type so that it shows me that it is a "3x4 Matrix" please?

Thanks

 


Hi there,

I am trying to find an analytical solution to an integral. Unfortunately, I only get the function call returned. Is there anything I can do to get Maple to solve it?

Thank you

integral_question.mw 

how to create  a pragram to draw the rays reflected by a concave spherical mirror in maple

I have an equation of the plane Q: x + y + z - 1 = 0. Now i want to define a function 

f:=(x,y,z)->lhs(Equation(Q)): 

and i calculate the value f(1, 2, 3), but Maple understand. Plese help me.

If i want to substitute the coordinates N(a + 1, b + 2, c + 3) into the equation of the plane Q. What must i do?

I have recently discovered that some objects in maple are (unexpectadly, and perhaps undeservedly) considered type:-polynom.

> T := table():
> type( T, polynom );
true
> R := proc() end proc:
> type( R, polynom );
true

My attempts to circumvent this by using a shaper polynom type were in vain (R can be subsituted with T without affecting output):

Hi, I have a 18x1 matrix. I am trying to sort it from smallest value to the largest value. But how to I as it to show which was the original position?

For example, M is my 18x1 matrix, i wrote "sort(M)".

In matlab I would write [Q,F]=sort(M);

Q will rearrange it for me and F will tell me the original position where it is from.

Please advice. Thank you very much.

Please name the post, which had the most visitors.
Quantity must be more than 24,000.

Many Thanks!

Hi! I have 4 function. I wanna plot two of them in x=-0.5..0 range; the other two in x=0..0.5 range. How can I display that four function in one plot? Thanks!

 

How to perform the following plot in Maple?

 

 

 

First 1731 1732 1733 1734 1735 1736 1737 Last Page 1733 of 2434