~ubuntu-branches/ubuntu/natty/mathomatic/natty

« back to all changes in this revision

Viewing changes to tests/pie.in

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-05-27 23:29:55 UTC
  • mfrom: (1.1.26 upstream) (3.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20100527232955-xzvvnwdzy8c9mdji
Tags: 15.1.1-1
* New upstream release
* debian/patches/10_fix_makefile.dpatch
  - updated to new upstream code
* debian/patches/30_bts-459093_ftbfs_make_test_time.dpatch
  - updated to new upstream code

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
((4/((8*n)+1))-(2/((8*n)+4))-(1/((8*n)+5))-(1/((8*n)+6)))/(16^n)
7
7
simplify
8
 
sum n 0 10 ; Sum as n = 0 to 10 in steps of 1.
 
8
sum n 0 10 ; Numerically sum from n = 0 to 10 in steps of 1.
9
9
pi ; The digits should be the same.
10
10
x^n/n! ; Sum this n = 0 to infinity to compute (e^x).
11
11
replace x with 1 ; Sum this n = 0 to infinity to compute e:
12
 
sum n 0 20 ; Sum as n = 0 to 20 in steps of 1.
 
12
sum n 0 20 ; Numerically sum from n = 0 to 20 in steps of 1.
13
13
e ; The digits should be the same.
 
14
sum n=0 to 20 ; The sum command can also be entered this way.