This is kind of what I mean!!! the default language for a TI-83 calculator is different than tcl's. We have $x^2 and it has power($x,2). Any script or way to convert a whole function? I want a user to be able to input it in the TI-83 form and for tcl to convert it to it's own syntax...
(bin) 40 % set x 4
4
(bin) 41 % set s "$x^2"
4^2
(bin) 42 % expr $s
6
isn't the answer 16?
Also,
(bin) 44 % set x 4
4
(bin) 45 % set s "log(x)"
log(x)
(bin) 46 % expr $s
invalid bareword "x"
in expression "log(x)";
should be "$x" or "{x}" or "x(...)" or ...
(bin) 47 % set s "log$x"
log4
(bin)...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.