http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Discussion \ running program

Click here to log in (you must be logged in to post comments).

AuthorComment
lag_13
Probe
Posted: 10 Jun 2004
14:14 GMT
Total Posts: 1
i was making a program on my calc but it
wont show the answer in fraction form. help me
here is my program
PROGRAM:SLOPE
:Input "Y2=",Y2
:Input "Y1=",Y1
:Input "X2=",X2
:Input "X1=",X1
:(Y2-Y1)/(X2-X1)>A
:A>Frac>Z
: Disp Z





[Edited by lag_13 on 10-Jun-04 23:20]
Lunchbox
Carrier
avatar
Posted: 10 Jun 2004
17:31 GMT
Total Posts: 2007
Use this code instead:
PROGRAM:SLOPE
:Input "Y2=",Y2
:Input "Y1=",Y1
:Input "X2=",X2
:Input "X1=",X1
:(Y2-Y1)/(X2-X1)>A
: Disp A>Frac
it should work
ShockTroop
Goliath
Posted: 11 Jun 2004
12:08 GMT
Total Posts: 170
Yeah, you can't put converted fractions into a variable.
Oh, and a word of advice: I strongly suggest you don't submit it to a site because there are a bazillion others out there (in case you were thinking about it).
Lunchbox
Carrier
avatar
Posted: 11 Jun 2004
15:07 GMT
Total Posts: 2007
Another possible oprion is just to buy a 68k calculator [e.g. TI-89, TI-92+, or Voyage200 PLT]. They do that automatically. Then again, they do cost $139.99~...
Ray Kremer
Ultralisk
Posted: 12 Jun 2004
00:43 GMT
Total Posts: 310
They do what automatically? Convert things to fractions? Not if you use a decimal point anywhere.

Why does anyone need a program to plug-and-chug the slope formula anyway...
Lunchbox
Carrier
avatar
Posted: 13 Jun 2004
09:26 GMT
Total Posts: 2007
it saves precious seconds during math tests to just let ur calc do the work. Also, on the 89 if you change the mode to exact, it always says the answer in fraction form.
spiral
Wraith
Posted: 13 Jun 2004
23:37 GMT
Total Posts: 958
not if you put a . after numbers, or it just can not be shown as a fraction or root.
Ray Kremer
Ultralisk
Posted: 14 Jun 2004
01:30 GMT
Total Posts: 310
Precious seconds? By having an 89 instead of using the 8x's >Frac command? Please. If that little time makes that much of a difference, you deserve a bad grade anyway.

Ah screw it. After all, we live in the age where students can't be bothered to memorize things like the BLOODY SIMPLE slope formula.
ShockTroop
Goliath
Posted: 14 Jun 2004
12:06 GMT
Total Posts: 170
I second that.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org