Dan
--
To post to this group, send email to tins...@googlegroups.com To
unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
http://lafacroft.com/archive/nspire.php
nSolve(f1(x)=25,x)
Would solve for a y value of 25...
Sent from my iPhone
Dan
lee kucera
a.p. statistics
leek...@gmail.com
Beware that stat. is the prefix for stats vars for the first stat
calculation; the second one will have stat1. as prefix; the third one
will be stat2. and so on.
You can see all the variables on the var menu.
You also have the functions stat.results() that display the entire set
of variables for each calculation.
Cheers,
Nelson
However... there's a trick.
On two text boxes write getnum(approxrational(x,10^-n)) and getdenom(approxrational(x,10^-n)), replacing n for a suitable tolerance. warning: the precision of G&G is around 5 or 6 decimal places at most, so use a low n as the tolerance. Otherwise you won't get good results.
Now calculate both formulas using the number you want to convert to fraction as x. You get both the numerator and denominator. With attach, glue the denominator below the numerator. All you need now is a text message with __ to fake a fraction. Move it to the space between the numbers.
Limitations: the two numbers will be aligned to the left. It will be ugly for things like 5/12;
If the numerator and denominator grow too much (like 101/375), you fraction won't look good as both numbers will be wider than the fraction bar;
If the fraction is negative the - sign will appear on the numerator. Again, ugly.
Going one (or several) steps further: Attach each number to an empty label of a 0 radius circle and have its appear on a position determined as a funtion of log(x);
Build several fraction bars of different widths as labels of 0 radius circles and determine their position and which one should be visile by the size of the numbers;
Use abs to isolate the sign and add is separately as an appearing/disappearing label.
These improvements are rather complex, but make fractions look really nice. However, they require a lot of expertise on the G&G app. If anybody wants to try it, email me and I'll guide you through it.
Cheers,
--
Nelson