Showin the work

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

Post Reply
codywalker
New Member
Posts: 2
Joined: Sat 09 Dec, 2006 8:18 pm

Showin the work

Post by codywalker »

I'm writing Financial programs on a ti-86 in basic. My question is how do I get the calculator to print out what it is actually doing...

ex: this is what I have now:

prompt a,b
a+b->c
disp c

I need the it to display what it is doing, for example displaying 1+2=3. Obviously if a=1 and b=2. Thanks for the help.

here's a small one I'm doing now for expected return, I need it to print out line 2 with the variables inserted. for example I'd like line 2 to display on screen:
(1*2)+(3*4)
Expected Return
14

Code: Select all

:Prompt Xa,Xb,Ra,Rb
:(Xa*Ra)+(Xb*Rb)->Rp
:Disp "Expected Return"
:Disp Rp
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

prompt A,B
A+B->C
Output(1,1,A,"+",B,"=",Ans
codywalker
New Member
Posts: 2
Joined: Sat 09 Dec, 2006 8:18 pm

Post by codywalker »

Error 11 Argument
doesn't work... only

Text(

can do the multiple variables from what I've tested. Not sure if it makes any difference, but this is on the ti-86
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

I have never used a 86, so I thought it was similar. Other than that, you would so such similar to the code I posted.
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

On my 84p I made a nice program that displays the calculation used with the actual numbers in it, I used Symbolics numStr(
I wouldn't know how to do it on 86's though, recompile Symbolic for 86?
Last edited by King Harold on Tue 19 Dec, 2006 12:48 pm, edited 1 time in total.
User avatar
silver calc
New Member
Posts: 73
Joined: Tue 28 Mar, 2006 10:50 pm
Location: Wouldn't you like to know?

Post by silver calc »

Don't know if this will work on an 86, but you could do this:
prompt Str1 ;a+b or any other evaluable expression
Disp Str1+"=",expr(Str1
Please "encourage" me to work more on Image any way you deem necessary
Post Reply