awass

301 Reputation

10 Badges

20 years, 40 days

MaplePrimes Activity


These are questions asked by awass

I was trying to solve a VERY simple system of 2 equations,{ eq1,eq2}, for the variable d which appears only once to the first degree with coefficient 1. That is grade school algebra. Maple 15 refused; it needed help.

restart;
eq1:=s=a+b+c+d;
                    eq1 := s = a + b + c + d
eq2:=s=2*(a+b)*(a+c)*(b+c);
             ...

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

 

Thanks,

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:
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:

First 7 8 9 10 Page 9 of 10