Well, I thought I'd try one of these cloud severs for a change. cocalc.com has 
the latest version the latest version of SAGE, I just assumed it had the latest 
version of Python too. Silly me!

That's why i need to input a=float(0) for the first Riemann Sum. It didn't 
click. Sorry, I've been teaching Java all year. This is the first time I used 
Python this year which is unusual for me.

So, instead of a=float(0), could I just write a=0.0 as a=0 brings up this 
issue? In fact, is it sufficient to write all integer constants as floats like 
7.0 instead of 7? Or should I just "import from _future_ division" and be done?

Thanx, everyone for your help!!!

TIA,
AJG


Sincerely,
A. Jorge Garcia
Applied Math, Physics & CS
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009
2013-2017 NYS Secondary Math http://PAEMST.org Nominee

_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
https://mail.python.org/mailman/listinfo/edu-sig

Reply via email to