Skip to content

Commit

Permalink
One more Sum example
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Sep 27, 2020
1 parent c8541bc commit 9e88fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mathics/web/media/js/inout.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ function showGallery() {
'N[E, 30] (* 30-digit Numeric approximation of E *)',
'30!',
'30! // N',
'Sum[2 i + 1, {i, 0, 10}] (* Sum of 1st n odd numbers (n+1)**2 *)',
'n = 8; 2 ^ # & /@ Range[0, n] (* Powers of 2 *)',
'Total[%] (* Sum is 2 ^ n - 1 *)',
'(* Symbolic Manipulation *)',
Expand Down

0 comments on commit 9e88fad

Please sign in to comment.