class7 - PHYS 5900 Class 7 (9/09/2009) Zi-Wei Lin Units...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
PHYS 5900 Class 7 (9/09/2009) Zi-Wei Lin Units Unit symbols can be tagged to numbers : In[1]:= N @ Sqrt @H 5m ê s L ^2 D ,3 D Out[1]= 5.00 m 2 s 2 In[2]:= N @ Sqrt @H 5m ê s L ^2 D + Sqrt @H 3. m ê s L ^2 D ,3 D Out[2]= 8. m 2 s 2 In[3]:= PowerExpand @ % D Out[3]= 8. m s PowerExpand should be used with caution because it may neglect branches of multivalued functions : E.g. m 2 s 2 could be m s in addition to + m s . ü Conversion of units To load the Units package: In[4]:= << Units` or In[5]:= Needs @ "Units`" D
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Functions include: Convert, ConvertTemperature, SI In[6]:= ? Convert Convert @ expr , newunits D converts expr to a form involving a combination of units newunits . à In[7]:= Convert @ 12. Meter ê Second, Mile ê Hour D Out[7]= 26.8432 Mile Hour Information, Radiation, Viscosity, Unit Multipliers, and Others can be found here : Units Package For example: Units for Length include : Angstrom ä AU ä AstronomicalUnit ä Bolt ä Cable ä Caliber ä Centimeter ä Chain ä Cicero ä Cubit ä Didot ä DidotPoint ä Diopter ä Ell ä Fathom ä Feet ä Fermi ä Foot ä Furlong ä Hand ä Inch ä Kayser ä League ä LightYear ä Link ä Meter ä Micron ä Mil ä Mile ä NauticalMile ä Parsec ä Perch ä Pica ä Pole ä PrintersPoint ä Rod ä Rope ä Skein ä Stadion ä Stadium ä StatuteMile ä SurveyMile ä XUnit ä Yard SI Prefixes include Atto ä Centi ä Deca ä Deci ä Exa ä Femto ä Giga ä Hecto ä Kilo ä Mega ä Micro ä Milli ä Nano ä Peta ä Pico ä Tera ä Yocto ä Yotta ä Zepto ä Zetta In[8]:= N @ Convert @ 55 Mile ê Hour, Kilo Meter ê Hour D ,2 D Out[8]= 89. Kilo Meter Hour In[9]:= Convert @ 1. Kilogram ê Meter^3, Gram ê Centimeter^3 D Out[9]= 0.001 Gram Centimeter 3 In[10]:= Convert @ 1. Kilogram ê Meter^3, Pound ê Feet^3 D Out[10]= 0.062428 Pound Feet 3 In[11]:= ? ConvertTemperature ConvertTemperature @ temp , oldscale , newscale D converts temperature temp from temperature scale oldscale to scale newscale . à 2 class7.nb
Background image of page 2
In[12]:= ConvertTemperature @ 86, Fahrenheit, Celsius D Out[12]= 30 In[13]:= ?SI SI @ expr D converts expr to SI units H International System L . à In[14]:=
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/25/2010 for the course PHYS 5900 taught by Professor Lin during the Fall '09 term at East Carolina University .

Page1 / 9

class7 - PHYS 5900 Class 7 (9/09/2009) Zi-Wei Lin Units...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online