EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Tip List

Texas Instruments TI-89
507 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #177 background imageLoading...
Page #177 background image
where m is the number of coefficients in the equation. For the simple linear equation y = ax + b, m = 2,
because we have two coefficients a and b.
It is appropriate to use r
2
without DOF adjustment when the data to be fit has no experimental errors.
For example, this is the case if you are fitting a curve to data generated by some other mathematical
function. However, the DOF adjusted r
2
should be used when the y-data values include experimental
error.
[6.14] Use norm() to find root mean square (RMS) statistic for matrices
The root mean square statistic is used in statistics. I prefer to use it over other statistics for comparing
curve fits and interpolation errors. RMS is defined as
RMS =
1
n
i=1
n
x
i
2
The 89/92+ norm() function is very close to this:
norm([a,b,c,...]) = a
2
+ b
2
+ c
2
+ ...
so we can rewrite the RMS equation and use the norm() function to find RMS:
RMS =
1
n
[
norm
(
dmatrix
)]
where dmatrix is the matrix of data values, and n is the size of the matrix. This function performs the
calculation:
rms(m)
func
if gettype(m)="LIST":listmat(m)m
norm(m)/((max(dim(m))))
Endfunc
The input variable m may be a list or a matrix. If m is a matrix, it may be either a single-row or a
single-column matrix. This is handled by using the maximum value returned by dim() as the value of n.
[6.15] Convert equations between rectangular and polar coordinates
It can be useful to convert equations between polar and rectangular coordinates, and the 89/92+ have
functions that make this particularly easy. These two programs, by Alex Astashyn, perform the
conversion. p2c() converts from polar to rectangular, and c2p() converts from rectangular to polar.
c2p(eq)
func
©Convert 'eq' in rectangular coordinates x,y to polar coordinates r,θ
solve(eq,r)|x=PRx(r,θ) and y=PRy(r,θ)
EndFunc
p2c(eq)
Func
©Convert 'eq' in polar coordinates r,θ to
rectangular coordinates x,y.
solve(eq,y)|θ=RPθ(x,y) and r=RPr(x,y)
EndFunc
6 - 19

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals