Please Help--Programming difficulties on the TI-92
[Prev][Next][Index][Thread]
Please Help--Programming difficulties on the TI-92
-
Subject: Please Help--Programming difficulties on the TI-92
-
From: Gary <sktg@AIRMAIL.NET>
-
Date: Sat, 7 Sep 1996 23:45:51 -0500
-
In-Reply-To: <>
Can anyone please tell me how to assign a string to a matrix?, oh and
I have tried, tried is the keywork here,to program a "points to y=mx+b
form" Which you
enter two coordinate points and it gives you the slope and y intercept.
I have been pretty succesful so far, except that it always shows b=on the
end. I used solve to fine the y-intercept, with the variable b. Can
anyone out there tell me if there is a way to eliminate the b= thanks. my
program is below if it is of any help . Oh and another question. Can
anyone tell me how, after it shows it into linear form, to graph the
equation with the prgram.
Thanks in Advance.
Interc()
Prgm
ClrIO
Local q,w,e,r,slope,inter
Dialog
Title "Coordinates For Two Slopes"
Request "X1",q
Request "Y1",w
Request "X2",e
Request "Y2",r
EndDlog
expr(q)»q
expr(w)»w
expr(e)»e
expr(r)»r
(e-q)/(r-w)»slope
solve(w=slope*q+b,b)»inter
Output 20,40,"y="
Output 20,70,slope
Output 20,90,"x+"
Output 20,120,inter
EndPrgm
Visit my webpage at
http://www.geocities.com/SiliconValley/Park/4297/
Remember to sign my guestbook!!!!!
Gary