276 Reputation

10 Badges

17 years, 253 days

MaplePrimes Activity

These are questions asked by awass

It is never a good error message but I have not been able to find out whatit means.



I have a matrix m with 9 rows and 4 columns and when I enter the command below I get an error message:

num := product((z-(m[s,1]+I*m[s,2])),s = 1..9);
Error, Matrix index out of range

However, there is no problem if I use brute force:

I played aorund a bit with the "Insert Table" command and it seems to create just an inert object that cannot be accessed or operated upon except directly by typing into its boxes. Is that true? Is it just for word processing?

Here is a simple sequcnce of commands that execute without a problem:
eq1 := 5+3*x=0:
eq2 := 2+7*x-3*y-5*x*y=0:

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

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

I am using Maple 12.01 and I am using dsolve to solve a second order ODE;  example :


ic:=a->[D(y)(0)=0,y(0)=a]; # initial conditions.

I want to investigate the  values of z(t, y, y') when g(t, y,y') = 0. Here z might be y''' or cos(t y') and g  might be y(t)-4.

What I would like to do is create an Array whose nth entry is of the form [ tn, z(tn,y(tn), y'(tn)]  where tn is the nth value of t at which the condition g(t, y,y') = 0 is satisfied.

First 6 7 8 9 Page 8 of 9