MaplePrimes Questions

Hello, I have an equation with 200 variables and I want to assign them to a 1 column by 200 rows matrix. My variables are named ΔXi where i goes from 0 to 100. My Matrix is named Matrix.

I have tried something like that:

ΔXi := Matrix(i) but I get "Error, unsupported type of index, i"

Any ideas?

Thank you
 

My teaching has maple 12 in class and provides files online of his lectures.  I tried opening the file using maple13 at home and when it opened it was a bunch of junk.  Is there a way to open older versions of maple on maple 13?

 

Thanks for the help,

 

Noelle

please help me here

we want a "remember table assignment for the first derivative evaluated at a point a1" for example

D(f)(a1):=0

but using this command maple creates a proc

for example using the command

f(a1):=0:

maple asks : 1. function def. 2. remember table assignment

but using D(f)(a1) :=0 just creates a function def.

Very likely there is a very simple solution to this question, but I searched Maple's help pages and this forum and didn't find a solution.  Probably because I don't use the correct English terms.

given two functions

(1) X := x->f1(t);

(2) Y := y->f2((t);

witth t = -infinity...infinity; f1 and f2 arbitrary functions of a parameter t

How I can get the function

Y := x->f3(x);

Situation:  I have multiple lists of the form [i$i=1..n,0$k] , where n is a positive integer and k is a nonegative integer.

 

Desired result:  For each list, produce a list of permutations of the list (as you would receive from combinat[permute]) such that in each permutation, the nonnegative integers in the list appear in ascending order from left to right and no two nonnegative integers are adjacent to one another. 

 

Here is a simple sequcnce of commands that execute without a problem:
restart;
eq1 := 5+3*x=0:
eq2 := 2+7*x-3*y-5*x*y=0:
x:=solve(eq1,x):
y:=solve(eq2,y):
lprint('x'=x,'y'=y);


x = -5/3, y = 29/16


If I put the commands into a procedure there are problems:

How can i ignore the singularity and gain values past this point? i get:

cannot evaluate the solution further right of 2.6991460, probably a singularity.

the program decsribes the motion of a double pendulum, so that the equations used show their angles relative to a normal...i want to gain information about these angles from a static point as time procedes. therefore the points will go back on themselves.

thanks

alex

I have a question concerning list.

I want to calculate value of X which is sum of x[i]

And there is a list L of length n whose i th element is x[i].

How can I do it in maple using procedure? Hence, use this procedure to calculate L:=[1,4,5,6,8]

Thanks~

 

please help me here

suppose we know the following for a function which we donot know

x0 and f(x0)

x0 and f ' (x0) (first derivative at x0)

x1 and f(x1)

x2 and f(x2)


how can we approximate second, third and fourth derivatives of f(x)  for example say at  a point x3

I'm using maple 13 in document mode. When I want to designate a variable as the time derivative, I use the over dot symbol. The problem is that the output is displayed with the full derivative symbols in leibnitz notation. It's really hard to read when the my outputted equations are very long with higher order time derivative terms. Is there a way to get the output to be just displayed with the over dot symbol.?

 

Thankss

 

hi

how can we compare the malpe calculation and manual calculation.

I mean if we use maple to have a solution (different form) and then try to get the same solution manually (compressed form compare to maple), now i want to compare both the solutions using maple, whether the two solutions are same or not. 

 

I'm plotting some random points along a curve but I'm not sure of a couple of things so I have a few questions.

Using a simple curve like x for example.  First I'll choose some random numbers, 100, between -8 and 8, but I also want a couple of decimal points otherwise random integer values will only give me a maximum of 17 points.  So is the best way to do that like this?

with(plots):
a:=[seq((rand(-800..800)(i))/100,i=1..100]    # These will be my x point values;

I have used bubble sort to put my list in order but now i need help to rearrange the list.

For example l:=[2,2,2,3,4,5,1,3,7,8,9]
Bubble sort:= [1,2,2,2,3,3,4,5,7,8,9]

What i want to do is do, smallest&largest,next smallest & next largest
Like this - [1,9,2,8,2,7,2,5,3,4,3]
So as you can see its been rearranged so that their all next to each other.

Any help would be great.

Hi, all, I want to know whether I get a row of a matrix. For example, I have a matrix: [ 1 0 0 1] [ 0 1 0 1] M=[ 1 0 1 0] [ 0 0 0 1] and I want to the first row [ 1 0 0 1], how to do this? thanks Gepo

hello, i am generating an eigenvector of three elements. i need to assign each element a parameter...u,v,w. so for example if the vector is [1,2,3] then i want to assign u=1,v=2,w=3. can somebody pls show me.

the big picture is that i have 4 roots, and for each root i will have 4 eigenvectors, and i need to assign them to u[i],v[i],w[i], where i=1..4.

 

thank you

First 2039 2040 2041 2042 2043 2044 2045 Last Page 2041 of 2434