Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: greg701 on May 04, 2011, 05:32:33 am

Title: Output results to a table TI-Nspire
Post by: greg701 on May 04, 2011, 05:32:33 am
Hi all I was wondering whether it would be possible to output results from iterative calculations to a table.

For example say I have the Newton raphson Iterative formula,

(http://latex.codecogs.com/png.latex?\LARGE&space;\dpi{100}&space;x_{r+1}&space;=&space;x_r&space;-&space;\frac{f(x_r)}{f^{'}(x_r)})

and I wanted to display results in a table with headers r and x_r

How would I go about programming this so it outputs to a table on my TI-Nspire (Non cas)?

Thanks for your time and trouble
Title: Re: Output results to a table TI-Nspire
Post by: Eiyeron on August 13, 2011, 07:23:57 pm
Yes! With iterative, that would be easy!
OFr example:
Code: [Select]
NewTable table // or equivalent function
index = 0
While blahblah
//calculus
index+1->index
result->table[index]
EndWhile //Correclty written?