Re: Re: Setting "attributes" for variables?
- To: mathgroup at smc.vnet.net
- Subject: [mg94406] Re: [mg94370] Re: Setting "attributes" for variables?
- From: "Scot Martin" <smartin at seas.harvard.edu>
- Date: Fri, 12 Dec 2008 06:54:14 -0500 (EST)
- Organization: Harvard University
- References: <gho34v$2a$1@smc.vnet.net> <200812110846.DAA01201@smc.vnet.net>
- Reply-to: <scot_martin at harvard.edu>
Yes, I agree it's an irritating aspect of the "Units". Here's the workaround I use: Assuming[{Positive[Kilogram], Positive[Meter]}, Convert[\[Eta], Pascal Second]] The key feature is Assuming[] -----Original Message----- From: Jean-Marc Gulliet [mailto:jeanmarc.gulliet at gmail.com] Sent: Thursday, December 11, 2008 3:46 AM To: mathgroup at smc.vnet.net Subject: [mg94406] [mg94370] Re: Setting "attributes" for variables? Julian wrote: <snip> > One notable instance is in the units > package. I constantly get results like Sqrt[Second^2] when clearly > that result is simply Second. Is there any way to fix this? I'm > using version 6, by the way. The following thread, "Calculating with Units", is worth reading: http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/ thread/ce0feb342ef1e73/f345156f2950e246?lnk=gst&q=Calculating+with+Units#f34 5156f2950e246 http://forums.wolfram.com/mathgroup/archive/2008/Dec/msg00008.html Regards, -- Jean-Marc
- References:
- Re: Setting "attributes" for variables?
- From: Jean-Marc Gulliet <jeanmarc.gulliet@gmail.com>
- Re: Setting "attributes" for variables?