Does anyone have any idea what is going on with the following code?
var('t')
g = 9.8
m = 80
c = 1/(2*sqrt(3))
f(x) = tanh(x)
v(t) = sqrt(g*m/c)*f(sqrt(g*c/m)*t)
T = 18.13
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=8)
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=7)
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=6)
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=5)
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=4)
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=3)
sum(v(t)*T/800 for t in srange(0,T,T/800)).n(digits=2)
t
752.44705
752.4470
752.448
752.44
752.4
754.
710.
Tom Judson
=========
Thomas W. Judson, Associate Professor
Department of Mathematics and Statistics
Stephen F. Austin State University
P.O. Box 13040-3040 SFA Station
Nacogdoches, TX 75962
OFFICE: 316 Math
TEL: (936) 468-1704
EMAIL: [email protected]
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.