Question: Couldn't exclude few results in fsolve

Hello all,

I'm trying to solve nine non-linear equations for various input. I am using a for loop to vary the input, and for few input combinations there is no solution. I am trying to exclude these and print the values only if there is a solution. After looking at some of the forms I used if (not type(sol[7], numeric) then print("no solution") else print(sol[7]) end if but this is the output I am getting for all the input.

Attached is the maple code. Any help in this is very much appreciated.



Please Wait...