[TIB] Re: RSS Equation


[Prev][Index][Thread]

[TIB] Re: RSS Equation




0\->\B
Input A
While A\<>\0        //while A does not equal 0
B+A^2\->\B          //add it's square
Input A                // get the next value
End
\sqrt\B\->\B         //store the square root
disp B                 //display it


__
Hi, I'm a .sig virus. Please make me your signature and help me spread

 -----Original Message-----
From: 	ti-basic-bounce@lists.ticalc.org
[mailto:ti-basic-bounce@lists.ticalc.org]  On Behalf Of James Lloyd
Sent:	Friday, March 30, 2001 4:01 PM
To:	ti-basic@lists.ticalc.org
Subject:	[TIB] RSS Equation


Forgive my lack of programming knowledge for the TI 85, have had it for the
last several years since college and have not done any programming.

Could someone here help me out in programming the TI-85 to calculate RSS
(root, sum, square) equations for an "unlimited" number of inputs? When I
say unlimited .. I cant ever see needing more than say 10 different values
to be calculated.  ie.  the calculator prompts user for inputs, after all
the values are entered, it computes the answer.  Square root of the (sum of
the squares).

Regards

James






References: