William Stein wrote: > Maple example is: > > convert(4.532, 'units', 'N'/'m'^2, 'lb''ft'/('s'^2'ft'^2))
> In Mathematica it would be basically: > > Convert[4.532*Newton/Meter^2, Pound * Feet/(Second^2 * Feet^2)] > > and in Sage it will be > > sage: from units import newton, meter, pound, feet, second > sage: a = 4.532*newton/meter^2 > sage: a.convert(pound*feet/(second^2*feet^2)) Well, while we're doing the Rosetta stone here ... load (ezunits); 4.532 ` N/m^2 `` lbm*foot/(s^2*foot^2); => 3.045884688 ` lbm/(foot*s^2) Differences: (1) separate units from quantities (right & left sides of backtick) (2) concise notation (3) conventional abbreviations (4) conventional capitalization Robert Dodier --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---