Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This smells (sloppyly reported) homework at ten yards, so a few hints.

  • Sage grammar needs explicit operators:(a)(b) will not be interpreted as a*b...

  • Do not use numerical approximations when you have exact values :

    • N(pi)and N(e) should advantageously replaced by pi and e

    • Your 3.33 reeeks of 3/10

    • Re-read your homework statement and look for a more formal definition of your 9.486 constant.

  • Be more precise "I get a big error" does not help the poor sod, still running H sapiens sapiens L. without mind-reading interface or divoinatory coprocessor, who's trying to divine what error you got, and what hint you may have extracted from it (if only you took the time to read it...).

HTH,

This smells (sloppyly (sloppily reported) homework at ten yards, so a few hints.

  • Sage grammar needs explicit operators:(a)(b) will not be interpreted as a*b...

  • Do not use numerical approximations when you have exact values :

    • N(pi)and N(e) should advantageously replaced by pi and e

    • Your 3.33 reeeks of 3/10

    • Re-read your homework statement and look for a more formal definition of your 9.486 constant.

  • Be more precise "I get a big error" does not help the poor sod, still running H sapiens sapiens L. without mind-reading interface or divoinatory coprocessor, who's trying to divine what error you got, and what hint you may have extracted from it (if only you took the time to read it...).

HTH,