Re: Ti-85 Frac Question
[Prev][Next][Index][Thread]
Re: Ti-85 Frac Question
after it is converted to decimal, write a program to convert this back
to a reduced fraction. This may not work well if it is a repeating
decimal (like 1/3) which may turn out to be something like
333333333333/1000000000000 but it will work better than a decimal.
What you said about the y intercept and slope being different values,
did you mean the numerator and denominator as 2 different numbers?
because that should work as long as you keep the values seperate
throught the program and use the least common multiple to simplify the
fraction. Hope this helps.
Send any questions to
Tim Brierley
brierley@erols.com
Mark Kidd wrote:
> I'm working on a basic program to give me the slope and y-intercept
> of a
> line when given two points. The problem is that the output of the
> program
> has to be a fraction for both the slope *and* the y-intercept.
> Basically,
> anything that I put in the program after the first fraction call makes
> my
> fraction disappear. That means anything, regardless of whether it
> writes to
> the screen or not. (I've tried to make a menu-type program where the
> slope
> and intercept are actually separate). Nothing seems to work. Any help
> would
> be very appreciated.
>
> Regards
>
> Mark
References: