Quantcast
Channel: MaplePrimes - Questions and Posts tagged with solve
Viewing all articles
Browse latest Browse all 1087

How many solutions has "solve" found?

$
0
0

I have 6 equations, eq1,...,eq6, with 6 unknowns a,b,c,d,f,g. I can find all the solutions with "solve".
If "solve" has found only one solution, then the ith solution number is given by sol[i]. For example,
c:=sol[3]. This comes from

sol:=solve({eq1,eq2,eq3,eq4,eq5,eq6},{a,b,c,d,f,g});

However, if solve has found more than one solution,
then the jth element of the ith solution is sol[i][j]. It is thus imperative to know how many solutions
the command "solve" has found. Also, how do we restrict "solve" to look only for real soultions?
Thank you very much!

mapleatha


Viewing all articles
Browse latest Browse all 1087

Trending Articles