~ubuntu-branches/ubuntu/trusty/mathomatic/trusty

« back to all changes in this revision

Viewing changes to tests/demo.in

  • Committer: Package Import Robot
  • Author(s): George Gesslein II
  • Date: 2012-03-25 08:15:51 UTC
  • mfrom: (1.1.31) (3.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20120325081551-c33rlnt9a46t73d5
Tags: 15.8.2-1
* New upstream release
  - important regressions and other bugs have been fixed
* debian/control
  - bump Standards-Version to 3.9.3 (no changes needed)
* debian/copyright
  - extended copyright years from 2011 to 2012
  - improved wording regarding current maintainers

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
taylor x_new 1 x_old ; build the (nth root of y) iterative approximation formula
19
19
solve verify x_new ; solve for the output variable, verifying the result
20
20
simplify ; convergent nth root approximation formula:
21
 
copy
 
21
copy ; "calculate x_old 10000" tests this formula, if you would like to see for yourself.
22
22
replace x_old x_new with x ; make x_old (input) and x_new (output) the same
23
23
x ; make sure the formula was correct by solving for x
24
24
repeat echo *