Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: Anima on October 24, 2011, 04:48:35 pm
-
Hey!
I've got a little question regarding the app "Symbolic":
Is there a way to use functions like d() or simp() in programs? Because I saw an interesting video on YouTube (it's made by a guy from Germany): http://www.youtube.com/watch?v=-n940XV6mmk (http://www.youtube.com/watch?v=-n940XV6mmk)
-
What kind of programs? From TI-BASIC it's very simple - the same way you always use those functions
-
I use them by pressing the button [MATH] twice. But when I'm in the editor it doesn't work.
-
It works for me (which version of Symbolic? with or without Omnicalc?), but you could try typing real(12, (for d) etc..
-
Version 1.8 without Omnicalc...
What's the syntax for the real command? When I enter the expression real(12, "X^2", "X") it says "ERR:ARGUMENT".
-
The real() syntax is only with Omnicalc installed. Without it it should be the raw characters.
EDIT: Actually, the token hook doesn't work inside programs. The d( token will look like an ellipsis, but it's the same function. Here's what it should look like:
-
Big up, but I have the same problem: I try to use Symbolic commands into a program, but it doesn't work.
Notice that the program you might know called "Supramaths" uses Symbolic commands too, of "real(12" type, whithout Omnicalc, and IT WORKS FINE.
I wonder: for the same command, with the same Apps installed and the same arguments, SupraMaths works great and my program...gets Syntax errors.
If I could, I prefer use "real" commands than the special Symbolic tokens (I'm coding with the old TI Graph Link), but I prefer those special tokens than nothing at all...
Does anyone know what is missing to symbolic in my program ?
thank you for your help...
-
I don't know why it would work in one program and not another. Are you using the real( token?
-
If you are using the real( token you should also use omnicalc
-
Yes I use the "real(" token. I added Omnicalc on the calc (what about hooks cohabitation problems between Omnicalc and Symbolic ?).
It doesn't work better for my program, and the other (Supramaths) still works great...
-
Hmm... Perhaps you should post some code so people can look at it?
-
The code I try to run:
Input "f(X)=",Str1
Input "Pt d'abscisse K:",K
real(12,Str1,"X"->Str2
String>Equ(Str1,Y1
String>Equ(Str2,Y2
{0,Y2(K)->Y2
{0,1->L1
LinReg(ax+b) Y2
Equ>String(Y2,Str2
sub(Str2,1,length(Str2)-3->Str2
{0,K->L2
{0,1->L1
LinReg(ax+b) Y3
Equ>String(Y3,Str3
sub(Str3,1,length(Str3)-3->Str3
{0,Y1(K)->L2
{0,1->L1
LinReg(ax+b) Y1
Equ>String(Y1,Str1
sub(Str1,1,length(Str1)-3->Str1
Str2+"(X-"+Str3+")+"+Str1->Str3
real(14,Str3->Str3
real(19,"y="+Str3
0->P
and, several lines after:
Input "f(X)=",Str0
real(12,Str0,"X"->Str1
real(19,"f'(X)="+Str1
0->P
The code that runs very well, even without Omnicalc:
:Input "f(X)=",Str0
:String►Equ(Str0,{Y1}
:real(12,Str0,"X"→Str1
:String►Equ(Str1,{Y2}
:Lbl Zθ
:real(19,"f'(X)="+Str1
You see, my second code and the program which works are the same (even without the String>Equ it works.)
-
Yes I use the "real(" token. I added Omnicalc on the calc (what about hooks cohabitation problems between Omnicalc and Symbolic ?).
It doesn't work better for my program, and the other (Supramaths) still works great...
Omnicalc installs the Symbolic hooks.
-
Omnicalc installs the Symbolic hooks.
So, Symbolic programs can run without Symbolic, with Omnicalc ? Ok...
-
no, omnicalc only installs the symbolic hooks, you still need the symbolic app lying around but you never ever have to access it