Question: Same statement different results

As shown in the image bellow. The first statement of fsolve function yields nothing but evaluating the expression. I copied the expression into the second command line and got the result. How can I make the first one works, since it belongs to a proc in my program. 

Please Wait...