<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Convert units and adopt the new unit in to the value</title>
    <link>http://www.mapleprimes.com/questions/41925-Convert-Units-And-Adopt-The-New-Unit</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 14:24:44 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 14:24:44 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Convert units and adopt the new unit in to the value</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Convert units and adopt the new unit in to the value</title>
      <link>http://www.mapleprimes.com/questions/41925-Convert-Units-And-Adopt-The-New-Unit</link>
    </image>
    <item>
      <title>convert/units</title>
      <link>http://www.mapleprimes.com/questions/41925-Convert-Units-And-Adopt-The-New-Unit?ref=Feed:MaplePrimes:Convert units and adopt the new unit in to the value:Comments#answer78349</link>
      <itunes:summary>One way is&lt;pre&gt;P := convert(P,units,Torr);&lt;/pre&gt;</itunes:summary>
      <description>One way is&lt;pre&gt;P := convert(P,units,Torr);&lt;/pre&gt;</description>
      <guid>78349</guid>
      <pubDate>Wed, 31 Jan 2007 09:50:44 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
    <item>
      <title>When I tried that, it gave</title>
      <link>http://www.mapleprimes.com/questions/41925-Convert-Units-And-Adopt-The-New-Unit?ref=Feed:MaplePrimes:Convert units and adopt the new unit in to the value:Comments#answer78348</link>
      <itunes:summary>When I tried that, it gave me the value of 1 atm in torr, but it still left off the [[torr]] unit; however, I believe I have found the correct way to use units in Maple:

Use whichever units you like when assigning values to variables.  Maple can do inter-unit calculations just fine, but may display undesired units.  Right-click on the value Maple outputs, and convert the units to whatever system you like.  This is assuming you are running with(Units). 
</itunes:summary>
      <description>When I tried that, it gave me the value of 1 atm in torr, but it still left off the [[torr]] unit; however, I believe I have found the correct way to use units in Maple:

Use whichever units you like when assigning values to variables.  Maple can do inter-unit calculations just fine, but may display undesired units.  Right-click on the value Maple outputs, and convert the units to whatever system you like.  This is assuming you are running with(Units). 
</description>
      <guid>78348</guid>
      <pubDate>Wed, 31 Jan 2007 10:02:03 Z</pubDate>
      <itunes:author>vanguns</itunes:author>
      <author>vanguns</author>
    </item>
    <item>
      <title>Thanks for the code snipet</title>
      <link>http://www.mapleprimes.com/questions/41925-Convert-Units-And-Adopt-The-New-Unit?ref=Feed:MaplePrimes:Convert units and adopt the new unit in to the value:Comments#answer78258</link>
      <itunes:summary>Thanks for the code snipet Dave

restart:
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );
Units[AddSystem]( NewSI, Units[GetSystem](SI), torr );
Units[UseSystem]( NewSI );
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );

This will be very useful for me.

I need to play around more with customizing units I guess.

dgiznya</itunes:summary>
      <description>Thanks for the code snipet Dave

restart:
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );
Units[AddSystem]( NewSI, Units[GetSystem](SI), torr );
Units[UseSystem]( NewSI );
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );

This will be very useful for me.

I need to play around more with customizing units I guess.

dgiznya</description>
      <guid>78258</guid>
      <pubDate>Thu, 08 Feb 2007 21:12:45 Z</pubDate>
      <itunes:author>dgiznya</itunes:author>
      <author>dgiznya</author>
    </item>
    <item>
      <title>The System of units may be modified</title>
      <link>http://www.mapleprimes.com/questions/41925-Convert-Units-And-Adopt-The-New-Unit?ref=Feed:MaplePrimes:Convert units and adopt the new unit in to the value:Comments#comment85972</link>
      <itunes:summary>I'm glad that the context-menu (right-click) on final results to convert the units works for you.

But perhaps you would like to see pressure shown with torrs by default, throughout your computations, without the extra conversion required.  This can be done by defining and using a new system of units which is identical to SI except that torr is now the default unit for pressure. Normally, in the SI system, pascals is the default unit for pressure.

Consider,

restart:
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );
Units[AddSystem]( NewSI, Units[GetSystem](SI), torr );
Units[UseSystem]( NewSI );
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );

So, after the above, pressure should get expressed with units of torrs.

The Units package is very customizable. You can configure it to represent various dimensions in several sorts of useful ways.

note: I did not load the Units package above by issuing with(Units); Instead I simply used two individual commands from that package directly.

note: In your first post in this thread, you mentioned that when using the right-click context menu on,
   p := 1*Unit(atm)  -&gt;  1*Unit(torr)
that p retained the unit atm. That is how context-menus work, by modifying the output. But doing so does not modify the left-hand side of the original assignment. You can verify this by doing, say,
   p := 1/3  -&gt;  0.3333333333
with the right-click to do Approximate-&gt;10 from the context menu. Then query the value of p. It is still the exact rational 1/3, and not the floating-point approximation 0.3333333333.

Dave Linder
Mathematical Software, Maplesoft.</itunes:summary>
      <description>I'm glad that the context-menu (right-click) on final results to convert the units works for you.

But perhaps you would like to see pressure shown with torrs by default, throughout your computations, without the extra conversion required.  This can be done by defining and using a new system of units which is identical to SI except that torr is now the default unit for pressure. Normally, in the SI system, pascals is the default unit for pressure.

Consider,

restart:
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );
Units[AddSystem]( NewSI, Units[GetSystem](SI), torr );
Units[UseSystem]( NewSI );
combine( 7*Unit(kg)/(Unit(m)*Unit(s)^2), units );

So, after the above, pressure should get expressed with units of torrs.

The Units package is very customizable. You can configure it to represent various dimensions in several sorts of useful ways.

note: I did not load the Units package above by issuing with(Units); Instead I simply used two individual commands from that package directly.

note: In your first post in this thread, you mentioned that when using the right-click context menu on,
   p := 1*Unit(atm)  -&gt;  1*Unit(torr)
that p retained the unit atm. That is how context-menus work, by modifying the output. But doing so does not modify the left-hand side of the original assignment. You can verify this by doing, say,
   p := 1/3  -&gt;  0.3333333333
with the right-click to do Approximate-&gt;10 from the context menu. Then query the value of p. It is still the exact rational 1/3, and not the floating-point approximation 0.3333333333.

Dave Linder
Mathematical Software, Maplesoft.</description>
      <guid>85972</guid>
      <pubDate>Wed, 31 Jan 2007 11:05:10 Z</pubDate>
      <itunes:author>Dave L</itunes:author>
      <author>Dave L</author>
    </item>
  </channel>
</rss>