Skip to main content
1-Visitor
November 1, 2013
Solved

Symbolic solve problem

  • November 1, 2013
  • 1 reply
  • 5066 views

https://www.dropbox.com/s/7q9g9ca3yvtfi2h/Symbolic%20solutions%20using%20Find%20and%20solve%20keyword.mcd

Hi all,

sorry for link rather than attachment. I have been trying to solve (symbolically) a system of equations which, it seems, I can only do using a solve block. The problem is that I want to create a function from the solution so I can re-use it and evaluate numerically. The solve block solution seems only to allow a symbolic evaluation of the result. I could of course cut and paste the symbolic solution into a function but this seems untidy. If I solve a simple system of equations using the solve keyword then I can evaluate both symbolically and numerically, however, the solve keyword method won't solve my real problem.

Please see linked MC11 sheet in which I have started with a very basic problem and then moved on to my real problem. I'm using MC15.

Regards,

Dave.

Best answer by AlanStevens

Just noticed your advanced problem - included that in this attachment.

Alan

Worksheet replaced with a neater version - in MC14/15 format..

1 reply

19-Tanzanite
November 1, 2013

You need to supply initial guesses for a and b - see attached.

Alan

PS You can upload files by clicking use advanced editor (top right), then Choose File at bottom of advanced editor.

19-Tanzanite
November 1, 2013

And if your equations are always linear, you could use lsolve (no initial guesses required):

lsolve.PNG

Alan