mankoff wrote: > Hi List, > > I'm a sage newbie and am having trouble getting a numerical expression > from sage. > > # I've set up an equation: > phi(t) = A*exp(k*c*t) > > # and I solve it for when the exponential grows past 1: > time = solve(phi == 1,t) > time > [t == 432000*log(1000)/pi] > > Now, how can I evaluate 'time' or 't=...'? I'd like to remove the log > and pi and just get a number that I can do some math with. >
Nevermind, I figured it out: time[0].right().n() Not sure why time.rhs() doesn't work... -k. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org