Re: Please help! Programming on the Ti-92


[Prev][Next][Index][Thread]

Re: Please help! Programming on the Ti-92



I hope you mean y=3Dmx+b


 On Thu, 29 Aug 1996, Gary wrote:




> I have, tried!, to program a "points to y=3Dmx=3Db form"  Which I mean yo=
u
> 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=3Don t=
he
> 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=3D 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.
>=20
> 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)=BBq
> expr(w)=BBw
> expr(e)=BBe
> expr(r)=BBr
> (e-q)/(r-w)=BBslope
> solve(w=3Dslope*q+b,b)=BBinter
>=20
> Output 20,40,"y=3D"
> Output 20,70,slope
> Output 20,90,"x+"
> Output 20,120,inter
>=20
> EndPrgm
>=20
>=20
> Visit my webpage at
> http://www.geocities.com/SiliconValley/Park/4297/
> Remember to sign my guestbook!!!!!
> Gary
>=20


References: