Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Below is a link to my worksheet.  I am attempting to evaluate a Fourier series for a particular number of terms & at a specific location xmax.  As far as I can tell xmax is assessed correctly.  Howver, when I go to evaluate the Fourier series for x = xmax using either the 'value' or 'evalf' command they do on seem to recognize that x = xmax.

So I am guessing I must have some syntax problem.  Can anyone show me what I have wrong?

command_syntax.mw

I'm having sone trouble with my matricies after running restart. When creating the matrice, everything is fine and they are defined as normal. But, if I run restart and try to erdefine them, they are defined as some form of 

The only way I've been able to fix this besides restarting Maple is to either add or remove the colon after the matrix, depending on wether there was one. If ther was, when I remove it the matrix is defined normally and vice versa. I'm relatively new to Maple coming from Matlab and would like to start using it more, but this matrix thing is very frustrating. I've attached a copy of the maple file. Thanks

First definition, everything is normal:

After restart, everything goes bad:

I want to animate a ball rolling on the surface cos(abs(x)+abs(y)).  The ball mass m is 1kg, radius r is 0.1meters starts at (0.5,0.5,cos(abs(5)+abs(5))) meters using g=9.8.  If we say the initial velocity of the ball is pushed in some random direction.  How do I show the path of the ball and animate?

Howto make all points start from [0,0] and goto [1,0] 
and make my loop not overwrite my initial conditions for the next steps?

M:=10; N:=1000;

for i to M do
X[i, 0] := 0;
Y[i, 0] := 0;
X[i, 1] := 1;
Y[i, 1] := 0;
for j to N do
Vinkel := c*rand()-Pi;
X[i, j] := X[i, j-1]+cos(Vinkel);
Y[i, j]:= Y[i, j-1]+sin(Vinkel)
end do:
end do :

 

 

 

Hi...  I use the "solve" command to solve an algebraic  system. Sometimes, the solution is given using some unknowns as parameters.

A toy example: x+y+z=1,x-y+3z=7 gives x=-2z+4,y=z-3 as a function of the parameter z (in the RHS).

Can I obtain directly (without going through the block-by-block solution) the set of parameters used in the given solution?

Thanks in advance.

https://math.stackexchange.com/questions/1056074/what-is-the-difference-between-eigenvectors-and-the-kernel-or-null-space-of-a-ma

i use

NullSpace(A - lambda*identityMatrix);

however, none of them equal the result of Eigenvectors

Hello Maple users,
Help me to find all positive real solutions of the polynomial containing a small parameter "c" as:

(solution must be in term of c).


 

Hello,  after almost a decade not using Maple, I am trying to get going to solve a set of differential equations and I have some problems that are probably pretty basic.

 

1.  I have the following simplification equations

which rightfully gives

and

which I hoped would give

but gives

"Error, invalid left hand side in assignment".  What am I doing wrong?

 

2.  The above simplification equations will be used to simplify this vector:

Once I get passed the "Invalid left hand side assignm,ent" issue, I would like to reorganize each line of the above vector and simplify using the small equations above.  What command do I need to use to do this?  The Phi & Beta variables are not necessarily next to one another so the equations need to be reorganized and the substitution for Omega & Omega_dot done.

Any help is appreciated! Thanks

Dear friends,


 

 

 

Effect of A and B on z values

``

A

``

B

x values

y = 5

y = 10

y = 15

y = 5

y = 10

y = 15

x = 4

"[ 4 5 1.9]"

"[ 4 10 1.8]"

"[ 4 15 3.2]"

"[ 4 5 2.2]"

"[ 4 5 2.0]"

"[ 4 15 3.3]"

x = 6

"[ 6 5 1.7]"

"[ 6 10 1.5]"

"[ 6 15 2.2]"

"[ 6 5 1.9]"

"[ 6 10 1.7]"

"[ 6 15 2.3]"

x = 8

"[ 8 5 3.0]"

"[ 8 10 1.7]"

"[ 8 15 3.1]"

"[ 8 5 3.2]"

"[ 8 10 1.9]"

"[ 8 15 3.2]"

``

``

Table 1: Effect of Modified Parameters on z output

 

Dear friends.,
I want a suitable plot for the above data. I have given the values as [ x  y  z] for z values to be plotted for the two cases, A and B in the same graph to compare and get the best option x ,    y and A or B .

Mathematically an x vs y vs z plot. Any bar or similar plot is what seems suitable to me.

I could not locate any help for plotting 3D data values in help page.

Any suggestions and solution please.

Thanks.

Ramakrishnan V

NULL


 

Download 3Dplot_given_Data_xyz.mw

Hi everibody 

I work with Maple 2015 under OS-X El Capitan.

Using more than one matrix vector product (either M.V  or MatrixVectorMultiply(M,V)  ; M is a n by p matrix and V a column vector of size p) within the same block of commands generates an error.

Do other people have the same problem ?
Thanks for your feedback.

SomethingGoesWrong.mw


PS : I know I can do this   X . <<1, 1, -1> | <-1, 2, 0>> but this doesn't explain the error I get

 

Hi, there!

I try to simplify the next expression:

Simplify(LeviCivita[4, sigma, lambda, rho]*LeviCivita[4, xi, eta, mu]*g_[rho, mu]*qp[sigma]*q[lambda]*qp[xi]*q[eta])

Maple gives the answer:

In reality, it is the incorrect answer, because indices must run over 1,2,3 but not 1,2,3,4!

SumOverRepeatedIndices(%) confirms that maple mistakes.

 

my preamble is:

with(Physics)

Setup(mathematicalnotation = true);
Coordinates(X);

Setup(spaceindices = lowercaselatin)

Setup(tensors = q[mu](X))

PDEtools:-declare(q(X))

Setup(tensors = qp[mu](X))

PDEtools:-declare(qp(X))

I have many expressions in a worksheet like this:

latex(%, "equations.tex", append = true)

I should have defined a file name like this:

fname := "C:/home/MyStuff/Economics/MICRO NOTES/equations.tex"

And then replaced the first expression throughit the worksheet by:

latex(%, fname, append = true)

To acheive this I open the Find/Replace dialogue as in picture below:

This does not work. Instead of replacing with fname the result is "fname" .  Is there any way of doing what I want?

interface(prettyprint=0):
interface(screenwidth=500):
with(LinearAlgebra):

expect 

Matrix([[a1,a2,3],[5,6,7],[9,10,12]])

but

it print datatype = anything,storage = rectangular,order = Fortran_order,shape  and (2,1) etc

Matrix(3,3,{(2, 1) = 1, (3, 1) = 1, (3, 2) = 1},datatype = anything,storage = rectangular,order = Fortran_order,shape = []), Matrix(3,3,{(1, 1) = aa1, (1, 2) = 1, (1, 3) = 1, (2, 1) = 2, (2, 2) = aa5, (2, 3) = 1, (3, 1) = 2, (3, 2) = 2, (3, 3) = aa9},datatype = anything,storage = rectangular,order = Fortran_order,shape = [])

what are the dynamical system which act on invariant manifold?

Hi,

Quick question.  If I was to solve a second order ODE using the dsolve function, and I was to use the numeric option such that I get a Procedure as the result.  Lets say I run something like sol:=dsolve(...,numeric);  If theta is the parameter to sol, then I can obviously call sol(Pi) to return the solution at Pi, I will receive the following result [theta=Pi, r(theta)=..., D(r)(theta)=...].

Now, lets say I wanted a Polarplot of [theta,r(theta)], how can I acheive this?

I have tried several ways, my thinking was something like polarplot(rhs(evalf(sol(theta))[2],theta=0..2*Pi); but I get the following "Error, invalid input: rhs received eqn_n(theta)[2], which is not valid for its 1st argument, expr".

Would anyone of you clever people have any pointers on how to polarplot a numeric solution?

Thankyou.

1 2 3 4 5 6 7 Last Page 1 of 1342