Re: Terrible unit trouble in Mathematic 9
- To: mathgroup at smc.vnet.net
- Subject: [mg129170] Re: Terrible unit trouble in Mathematic 9
- From: David Reiss <dbreiss at gmail.com>
- Date: Wed, 19 Dec 2012 04:58:51 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <kap6c4$469$1@smc.vnet.net>
You need to get both the syntax right as well as the names of the units (which are strings). E.g., UnitConvert[Quantity[55 , "Miles"/"Hours"], Quantity["Meters"/"Seconds"]] Go back and spend a bit of time reviewing the documentation and working through the examples for the functions that are contained in the documentation.... ;-) --David On Dec 18, 2:35 am, tio54... at gmail.com wrote: > I continue to receive "Unable to interpret unit specification m/s" (for e= xample, but almost anything I attempt returns this message) with input: > UnitConvert[55 mi/h,"m/s"] or UnitConvert[55 mi/h,m/s] or any other combi= nation of quotes, omitted quotes, etc. Even the prediction/suggestion box, = when I execute Quantity[55,"mi/hour"}, after it returns 55 mi/h, if I type = in any combination of m/s, "m"/"s", "m/s", etc. into the box that opens whe= n I select "Convert" in the prediction box yields the same "unable to inter= pret unit specification. > > What the heck????