On Fri, 26 Dec 2008 19:52:26 +0530 H.S.Rai <[email protected]> wrote:
> > On Fri, Dec 26, 2008 at 3:55 PM, Alex Ghitza <[email protected]> > wrote: > > Hello, > > > > I am unable to reproduce the error you obtained. Here is what I > > get in 3.2.2: > > Mine is SAGE Version 3.1.4, Release Date: 2008-10-20 > > The complete sage code is below signature. I don't think version will > be issue, as I am doing very basic things. > > Please see if code below work fine for abc.n(digits=5) The result you get after running the code in your message is still a symbolic expression: sage: abc 3150/(2000*(proofStrain + 5e-06*f_y/gamma_ms) + 7) Sage doesn't substitute the values in the expression automatically, when you set them at the command line. You have to pass those values in the substitution explicitly. You can achieve this by doing sage: abc.subs(locals()) 239.108910891089 BTW, I think this syntax is very confusing: sage: x_ulCal = x_ul(d=d,epsilon_s = epsilon_sMin) I suggest that you use .subs() directly, e.g., sage: x_ulCal = x_ul.subs(d=d,epsilon_s = epsilon_sMin) The method you use might be deprecated soon. Cheers, Burcin --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
