Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: Anima on October 24, 2011, 04:48:35 pm

Title: Use "Symbolic" functions in programs?
Post 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)
Title: Re: Use "Symbolic" functions in programs?
Post by: harold on October 24, 2011, 04:57:17 pm
What kind of programs? From TI-BASIC it's very simple - the same way you always use those functions
Title: Re: Use "Symbolic" functions in programs?
Post by: Anima on October 24, 2011, 05:04:37 pm
I use them by pressing the button [MATH] twice. But when I'm in the editor it doesn't work.
Title: Re: Use "Symbolic" functions in programs?
Post by: harold on October 24, 2011, 05:37:32 pm
It works for me (which version of Symbolic? with or without Omnicalc?), but you could try typing real(12, (for d) etc..
Title: Re: Use "Symbolic" functions in programs?
Post by: Anima on October 24, 2011, 05:41:59 pm
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".
Title: Re: Use "Symbolic" functions in programs?
Post by: Deep Toaster on October 24, 2011, 06:48:29 pm
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:
Title: Re: Use "Symbolic" functions in programs?
Post by: persalteas on October 15, 2012, 08:02:06 am
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...
Title: Re: Use "Symbolic" functions in programs?
Post by: TIfanx1999 on October 15, 2012, 02:16:43 pm
I don't know why it would work in one program and not another. Are you using the real( token?
Title: Re: Use "Symbolic" functions in programs?
Post by: Sorunome on October 15, 2012, 06:57:56 pm
If you are using the real( token you should also use omnicalc
Title: Re: Use "Symbolic" functions in programs?
Post by: persalteas on October 16, 2012, 07:39:19 am
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...
Title: Re: Use "Symbolic" functions in programs?
Post by: TIfanx1999 on October 16, 2012, 07:45:18 am
Hmm... Perhaps you should post some code so people can look at it?
Title: Re: Use "Symbolic" functions in programs?
Post by: persalteas on October 16, 2012, 08:10:07 am
The code I try to run:

Code: [Select]
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:

Code: [Select]
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:
Code: [Select]
: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.)
Title: Re: Use "Symbolic" functions in programs?
Post by: Sorunome on October 16, 2012, 09:44:55 pm
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.

Title: Re: Use "Symbolic" functions in programs?
Post by: persalteas on October 18, 2012, 08:56:44 am
Quote
Omnicalc installs the Symbolic hooks.

So, Symbolic programs can run without Symbolic, with Omnicalc ? Ok...
Title: Re: Use "Symbolic" functions in programs?
Post by: Sorunome on October 18, 2012, 06:39:11 pm
no, omnicalc only installs the symbolic hooks, you still need the symbolic app lying around but you never ever have to access it