- Question about Ti-83/4 BASIC (Not CE)
- 26 Apr 2020 08:37:46 pm
- Last edited by Izder456 on 26 Apr 2020 09:25:15 pm; edited 1 time in total
Hej all! (Sweden Joke)
I recently optimised my Ti-85 Programme with a function (see var "Q")
Code:
Note : D is digits of precision
How would I do the same thing with sequential functions or y-vars of any type (on the Ti-83+)?
like...the u, v , and w things.
EDIT :
With some help with people in SAX, I got this code :
Code:
However, I get garbage output.
for A=1 : B=2 : C=-3 : D=0 :
I get : x={7,-9},
When I should get : x={1,-3}
I recently optimised my Ti-85 Programme with a function (see var "Q")
Code:
ClLCD
RectC
Q=(~B+{1,~1}*sqrt(B^^2-4*A*C)/(2*A
Disp "Quadratic","ax^^2+bx+c"
Prompt A,B,C,D
round(Q,D
Disp Ans(1
Disp Ans(2
Note : D is digits of precision
How would I do the same thing with sequential functions or y-vars of any type (on the Ti-83+)?
like...the u, v , and w things.
EDIT :
With some help with people in SAX, I got this code :
Code:
ClrHome
a+bi
Disp "Quadratic","ax^^2+bx+c
Prompt A,B,C,D
round((~B+{1,~1}sqrt(B^^2-4AC))/2/A,D
Disp Ans(1),Ans(2
However, I get garbage output.
for A=1 : B=2 : C=-3 : D=0 :
I get : x={7,-9},
When I should get : x={1,-3}