The Knowledge Of Sauron's Minions
From Huben's Wiki
(→The Arcane Knowledge) |
(→The Arcane Knowledge) |
||
Line 59: | Line 59: | ||
# Add another variable to RingWraith, of type double and named "compute". | # Add another variable to RingWraith, of type double and named "compute". | ||
# Inside main(), add 'compute = Math.sin(Math.PI/6);' | # Inside main(), add 'compute = Math.sin(Math.PI/6);' | ||
− | # Print out the value of compute with the proper incantation. | + | # Print out the value of compute with the proper incantation. What have we wrought? |
# Look on my page for "References", and click on Math. Explore therein and find the secrets of exponentiation and other precalculus functions. | # Look on my page for "References", and click on Math. Explore therein and find the secrets of exponentiation and other precalculus functions. |