Hello,
I am working on a semi major project and I am having difficulty with a component of it.
I need a user to be able to imput a mathematical formula such as but not limited to: "x^2 + 2x +6" and for TCL to convert it to a tcl forumula, so that a tcl interpreter can understand it.
Basically I am interested in making a graphical interface Tk operating under TCL for the Newton Method for resolving any equation equal to 0... after an N amount of iterations specified by the user. But I want the user to be able to input mathematical expressions in a non TCL way.
Any help?
Example of what I want is to give tcl a formula of this type:
ln(x^4 + 6) and after tell it to compute f(3) and for it to tell me the result of ln((3)^4 + 6)...
Thank you
I am working on a semi major project and I am having difficulty with a component of it.
I need a user to be able to imput a mathematical formula such as but not limited to: "x^2 + 2x +6" and for TCL to convert it to a tcl forumula, so that a tcl interpreter can understand it.
Basically I am interested in making a graphical interface Tk operating under TCL for the Newton Method for resolving any equation equal to 0... after an N amount of iterations specified by the user. But I want the user to be able to input mathematical expressions in a non TCL way.
Any help?
Example of what I want is to give tcl a formula of this type:
ln(x^4 + 6) and after tell it to compute f(3) and for it to tell me the result of ln((3)^4 + 6)...
Thank you