MaplePrimes Questions

Hi, this is what i have

With(LinearAlgegra):

K:=ZeroMatrix(2):

J:=K.K^T

how do I get J to show me just a 2x2 zero matrix again? The output that I got is ZeroMatrix(K).ZeroMatrix(K)^T

Please help. Thanks.

Hi,

Im trying to animate a simple pendulum with maple 15. I'm able to make to the pendulum masse move, but, somehow, I can't animate the rope of the pendulum. I tried to draw the rope with the plottools library line , but no success.

Pendulum:=proc(x,y)plots[pointplot]([x,y],color=blue, symbol=solidcircle,symbolsize=25) end proc:
A:=animate(Pendulum,[XCoordinate,YCoordinate],t=0..8,frame=100):
Rope:=plottools[line]([0,1],[XCoordinate,YCoordinate],color=blue,thickness=3):

Dear all,

I have seen in the forum some post on this recently but cannot find it and thus ask this question again.

I have an output from a dsolve/numeric as a set of indexed names, like KK[1], KK[2], TT[1], TT[2], etc,

where KK[1]=eval(k(t),dsn) with dsn - output of dsolve/numeric.

I want to save to the file the result of last iteration (say, 15th) which is KK[15] in order not to repat all the calculations every time I open the file. In the file,...

Problem. Find the coordinates of the point M on the sphere (S): x^2 + y^2 + z^2-2*x+4*y+2*z-3=0 such that the distance from the point M 

I want to write a code to generate Legendre Polynomials using the Gram-Schmidt Process. I have no experience with programing. Here is how the process should work:

Given "(f) = {f[0]=1, f[1]=x , f[2]=x^(2) , f[3]=x^(3) , ... , f[n]=x^(n)} "
       
Find the Legendre Polynomials: "{P[0] , P[1] , P[2] , P[3] , ... , P[n]}"

First,  P[0]=f[0]=1

then, the rest are defined recursively by

P[1]=f[1]-(()/())*P[0] = x

Hi All,

 

I want to create a MapleSim Custom Component which has a vector input and the output is a matrix. In this case how can I define the system (Dynamic system sys:=DynamicSystems[?])? Hence, how can I assign these input/output to component ports?

 

Thanks

I have a problem with animations using a density plot as background.

The density plot covers the animation.

 

Here is an example:

plt:=densityplot(-(x^2+y^2),x=-1..1,y=-1..1);
animate(plot,[[sin(r)*cos(t),sin(r)*sin(t),t=0..2*Pi],thickness=10],r=0..Pi,background=plt);

 

Can this be solved? 

 

Best regards

  anthei 

 

 

 

 

 

 

 

 

 

 

 

 

 

This equation lost a root x = -88?

equation.mw

Hi,

I am trying to create a do loop to generate y values from a series of vectors containing the x's. In the end, I will be exporting this data to Excel, so I want to put it into a Vector.

My problem is that sometimes I have 11 x's and sometimes I only have 9 x's.

 
observed := rtable(1 .. 2, 1 .. 3)
for k from 1 to 2 do 
for j from 1 to 3 do 
observed[k][j] := evalf(subs(HK[1] = C1[k, 1...

I am trying to compute commutator like this [d_t +J_x,d_x+J_t], where d_t and d_x are differential operators, J_x and J_t, which contains generators of group, are some currents on group manifold. terms like this [J_x,J_t] could sovled by physics package, but how to manipulate [d_t,J_x]? How to define operator d_t in order to make the commutator works? and if it works we might have another problem as [d_t,J_x]=[d_t, J^a_x*T_a], where T_a are generators, the result is T_a *d_t(J^a_x...

Hi guys,

 

I am fairly new to Maple so please go easy on me!

 

I have seen the Mathieu equation in my chemistry book regarding quadrupole mass spectrometer. I want to know how I can use Maple to solve the equation and to plot a 'stability diagram'?

 

The equation is seen here (in this link):

I have Maple 12. I am trying find integer partition of 20 into size 5 each. This can be accomplished in mathematica, using the command of 

 

IntegerPartitions[20,{5}]

 

Maple does have Partition command but there is no way to use that command to produce an output of size n partition.

 

For example Partition(20,5) results in partitions of 20 with 5 being the largest integer. That is not what I want. I need to...

I recently purchased maple 15 and I'm using it on my desktop computer. I would like to also have it on my laptop so I can use it at school as well. Is there any way, that I can use the same code on both of my computers or I have to uninstall from one and install it on the other?

All helps are appriciated :) Thanks

How do i solve a simple trigonometric equation? For example sin(2*x) = -sqrt(3)/2.

I am unable to find where the problem is within a plot. Here is the error message: Error, (in plot) incorrect first argument [(k-1)*r*(cos(t)+cos(k-1)*t/(k-1)), (k-1)*r*(sin*t-sin(k-1)*t/(k-1)), t = 1 .. 1, r = 1 .. 1, k = 3 .. 3]

Is there a symbol or something that i am supposed to be looking for in the error message so i know where the error is occuring?



First 1761 1762 1763 1764 1765 1766 1767 Last Page 1763 of 2434