<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30565217</id><updated>2011-12-14T18:32:53.549-08:00</updated><title type='text'>Knowbotron's Unit Conversion Calculator</title><subtitle type='html'>Tips and Tricks on Knowbotron's freeware unit conversion calculator Dicom. The calculator is the first of it's kind that not only converts units but considers units into calculations.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://knowbotron-calculator.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30565217.post-6915548913937107920</id><published>2009-09-22T09:43:00.001-07:00</published><updated>2009-09-22T09:43:12.351-07:00</updated><title type='text'>"Dicom Unit Aware Calculator" has been awarded "5Stars" on download4a.com</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;We are pleased to inform you that "Dicom Unit Aware Calculator" has been awarded "5 Stars" on download4a.com. This rating is chosen by download4a to reflect the high standards in Knowbotron's software product.&lt;br /&gt;&lt;br /&gt;&lt;a target='_blank' href='http://www.download4a.com/Windows/Business-Finance/Calculators-Converters/Download-Dicom-Unit-Aware-Calculator.html'&gt;&lt;img border='0' alt='Dicom Unit Aware Calculator 5 stars award' src='http://www.download4a.com/Images/5stars_award160x80.gif'/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-6915548913937107920?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/6915548913937107920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/6915548913937107920'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2009/09/unit-aware-calculator-has-been-awarded.html' title='&amp;quot;Dicom Unit Aware Calculator&amp;quot; has been awarded &amp;quot;5Stars&amp;quot; on download4a.com'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-116741556433084744</id><published>2006-12-29T10:03:00.000-08:00</published><updated>2006-12-29T10:06:05.576-08:00</updated><title type='text'>New Dicom Calculator User's Forum</title><content type='html'>Knowbotron Forum (&lt;a href="http://forums.knowbotron.net/"&gt;forums.knowbotron.net&lt;/a&gt;) is a new place to discuss products from &lt;a href="http://www.knowbotron.com/"&gt;knowbotron&lt;/a&gt;. The new &lt;a href="http://forums.knowbotron.net/home/index.php?board=2.0"&gt;Dicom user's forum&lt;/a&gt; there is dedicated for Dicom users only. The old Dicom forum is therefore discontinued. Please discuss anything and everything about Dicom in this new forum.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-116741556433084744?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/116741556433084744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/116741556433084744'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/12/new-dicom-calculator-users-forum.html' title='New Dicom Calculator User&apos;s Forum'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115607074062654525</id><published>2006-08-20T03:45:00.000-07:00</published><updated>2006-08-21T01:10:38.996-07:00</updated><title type='text'>On Document Calculation</title><content type='html'>In &lt;a href="http://www.knowbotron.com"&gt;Dicom Calculator&lt;/a&gt; you  can evaluate expression, right on the input document, without pressing  [F8] and generating an output document. To do so, write any expression  on Dicom input document. Select the expression and press [F4] and [F5].&lt;br /&gt;&lt;br /&gt;[F4]  will apply the begin and end tag to the expression and [F5] will calculate the  expression and display the result immediately.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Write 5 ft^2 + 3 m^2  on the input tab of a new document.&lt;/li&gt;&lt;li&gt;Select the expression with your mouse.&lt;/li&gt;&lt;li&gt;Press [F4] and then [F5], the result will be shown immediately after the expression as: 3.4645152 m.^2&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2015/3281/1600/f4f5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/2015/3281/320/f4f5.png" alt="Immediate expression evaluation on Dicom Unit Conversion Calculator" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Note: Dicom will replace exponentiation (^) symbol with superscript in the process.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115607074062654525?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115607074062654525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115607074062654525'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/08/on-document-calculation.html' title='On Document Calculation'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115449236022177256</id><published>2006-08-01T21:01:00.000-07:00</published><updated>2006-08-01T21:19:20.396-07:00</updated><title type='text'>Memory and Variable in Dicom Unit Conversion Calculator</title><content type='html'>&lt;a href="http://www.knowbotron.com"&gt;Dicom&lt;/a&gt; can store values in memory. In dicom you can also store values in variables.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Named Memory Variable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;x = 1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;y = 3 ft.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the above examples values 1 and 3 ft are stored into variables named &lt;span style="font-weight: bold;"&gt;x&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;. You can later reuse these named memory variables in other expressions.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;z = x + 10&lt;/span&gt; (result is 11)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;wd = y + 6 inch.&lt;/span&gt; (result is 1.0668 m.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Unnamed Memory Variable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In addition to named variables as in the examples above Dicom also internally stores calculation results in memory locations. These are so called unnamed variables and can be recalled in an expression using # operator. Dicom remembers recent 16 results in unnamed memory locations starting with 1. The memory location 0 however always stores the latest calulation result.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;1 + 2 + 3&lt;/span&gt; (result is 6, stored in memory location say, m)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;#0 + 4&lt;/span&gt; (result is 10, will be stored in memory location m+1)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;#0 + 100&lt;/span&gt; (result is 110, will be stored in memory location m+2)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;#(m+1) + #(m+2)&lt;/span&gt; (result is 120)&lt;br /&gt;&lt;br /&gt;In the above example the result of the first expression (i.e. 6) is stored to unnamed memory variable location no. say &lt;span style="font-weight: bold;"&gt;m&lt;/span&gt;. The second expression recalled this result using #0 and add up 4 with it. As you may guess the result of the second expression (which is 10) will be stored into next memory location, &lt;span style="font-weight: bold;"&gt;m+1&lt;/span&gt;, and so on. In the last expression location (m+1) and (m+2) are recalled and added together.&lt;br /&gt;&lt;br /&gt;You can define and use as many named variables as you like. However, you should be careful in selecting the name of the variables so that those do not conflict with  Dicom's 650+ unit symbols, 150+ functions and other reserved words. A recommended convention is use &lt;span style="font-weight: bold;"&gt;m_&lt;/span&gt; as a prefix to name your variables.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;m_width = 3 m.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;m_height = 12 m.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;m_area = m_width * m_height&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that you can assign values to a named variable but you can't do the same to unnamed memory location.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;m_width = 3.5 m. &lt;/span&gt;(is valid)&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;#0 = 3.5 m.&lt;/span&gt; (is invalid)&lt;br /&gt;&lt;br /&gt;You can store both dimensionless values and units to variables but during calculation don't mix things up. The exression you want to evaluate always need to be homogeneous in terms of dimensions.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;m_width + 6&lt;/span&gt; (is invalid)&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;m_width + 6 inch.&lt;/span&gt; (is valid)&lt;br /&gt;&lt;br /&gt;Length of a Dicom variable name can be a maximum of 31 characters.&lt;br /&gt;&lt;br /&gt;You can display all used named and unnamed memory variables from Dicom explorer. Click on &lt;span style="font-weight: bold;"&gt;View &gt; Explorer&lt;/span&gt; and then click on &lt;span style="font-weight: bold;"&gt;Memory&lt;/span&gt; tab. The nodes &lt;span style="font-style: italic;"&gt;Numbered memory&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;Named Memory&lt;/span&gt; will display the unnamed and named variables you have used in current the session.&lt;br /&gt;&lt;br /&gt;You can use &lt;span style="font-weight: bold;"&gt;RECLAIM&lt;/span&gt; command to refresh dicom memory. Alternaetly, you can right click on &lt;span style="font-style: italic;"&gt;Memory&lt;/span&gt; node on the dicom explorer &lt;span style="font-weight: bold;"&gt;Memory&lt;/span&gt; tab and select &lt;span style="font-style: italic;"&gt;Reclaim Memory&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This will erase all the named and unnamed memory variables and reclaim the memory for reuse. However, to reflect the refresh in Dicom explorer you need to right click on the root node &lt;span style="font-style: italic;"&gt;Memory&lt;/span&gt; and select &lt;span style="font-style: italic;"&gt;Refresh Memory&lt;/span&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115449236022177256?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115449236022177256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115449236022177256'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/08/memory-and-variable-in-dicom-unit.html' title='Memory and Variable in Dicom Unit Conversion Calculator'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115391710364723553</id><published>2006-07-26T05:31:00.000-07:00</published><updated>2006-07-26T06:09:37.820-07:00</updated><title type='text'>Currency Conversion in Dicom</title><content type='html'>Currency in &lt;a href="http://www.knowbotron.com"&gt;Dicom&lt;/a&gt; is treated like any another physical quantity (like mass, length, time, etc.). So syntax to convert one currency from another is same as you convert units.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;10 USD to EUR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The above will convert 10 US dollars to Euro. Note that Dicom's 3 character long currency symbols are standard ISO symbols that are also being used by renowned systems like xe.com, SAP, etc.&lt;br /&gt;&lt;br /&gt;One advantage of treating currency as another physical quantity is, you can calculate expression that involves currency along with other units.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;10 USD/mi to EUR/km&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Updating Currency Rate&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Needless to say that Currency value is ever changing. So, you need to update currency rate. In Dicom it is plain and simple, you just assign the new value.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;1 EUR = 1.1 USD&lt;br /&gt;1 GBP = 1.7 USD&lt;br /&gt;&lt;br /&gt;Unfortunately, version 4.0 do not automatically update currency from internet. You can, however still update using a batch file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Updating Currency Rate in a Batch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Write down all your currency assignments as in the example above in a text file. You can use notepad to edit your file. You may separate each assignment either by newline or by semicolon.&lt;br /&gt;Save your file.&lt;br /&gt;&lt;br /&gt;In Dicom calculator enter the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;RUN '&amp;lt;input file&amp;gt;'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Replace &lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;&amp;lt;input file&amp;gt;&lt;/span&gt; with the actual path and filename. Single quotes are required. Press enter. Dicom will update the currencies as instructed in the file.&lt;br /&gt;&lt;br /&gt;Dicom's &lt;span style="font-weight: bold;"&gt;RUN&lt;/span&gt; command can take an optional output file name, like:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;RUN '&amp;lt;input file&amp;gt;' '&amp;lt;output fle&amp;gt;'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;You may use the above syntax to check out the results and errors if any. You may collect up to date currency rate from &lt;a href="http://www.xe.com/"&gt;www.xe.com&lt;/a&gt;. &lt;a href="http://www.xe.com/"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;You may use &lt;span style="font-weight: bold;"&gt;RUN&lt;/span&gt; command for other purposes also e.g. to set up Dicom environment. The input file is not a Dicom document file but a batch of calculator commands and expressions. So input file content should be simple text file containing barebone commands, expressions and functions (without any document tags and document specific commands) that you can execute from Dicom calculator.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115391710364723553?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115391710364723553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115391710364723553'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/currency-conversion-in-dicom.html' title='Currency Conversion in Dicom'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115373330021995319</id><published>2006-07-24T02:28:00.000-07:00</published><updated>2006-07-24T05:43:56.520-07:00</updated><title type='text'>Solving Equations in Dicom</title><content type='html'>&lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;To some extent &lt;a href="http://www.knowbotron.com"&gt;Dicom  conversion calculator&lt;/a&gt; can be used to solve equations. If an equation can be written in a manner so that it  converges on each iteration you can easily solve that equation in  Dicom.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;Let us consider the  following equation:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;    &lt;div style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;x^3-17*x+12=0&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;The equation is a  polynomial of third degree. We may re-write it as&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="font-weight: bold; color: rgb(255, 0, 0);"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;x=(17*x-12)^(1/3)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;    &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;The process of  solving this equation is - at first we assume a value of x and then calculate  the right hand side (RHS) with the assumed value of x. We then better our assumption with the new value  of x as the calculated value and continue this process  untill assumed value and calculated value converge within the range we  can tolerate. &lt;/span&gt;&lt;br /&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;If we solve the  equation manually with an assumed value of x=1, the result will be as  follows:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="font-weight: bold;"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;Iteration  Assumed (x)   Calculated (RHS)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;1              x=1.00            1.71&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;2              x=1.71            2.57&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;3              x=2.57             3.16&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;span class="253031508-24072006"&gt;4              x=3.16             3.47&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;..                          ..                     ..&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;After a few  iterations we will have x=3.71 and RHS=3.71 which may be considered as the  solution to the value of x with acceptable accurcy.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;Using Dicom this  process can be carried out automatically. To do this we need to use expression  opeartor (&lt;span style="font-weight: bold;"&gt;:=&lt;/span&gt;) and &lt;span style="font-weight: bold;"&gt;Loop()&lt;/span&gt; function in Dicom.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="font-weight: bold;"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;Expression  Operator&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;The expression  operator is an unique feature of &lt;a href="http://www.knowbotron.com"&gt;Dicom conversion calculator&lt;/a&gt; which tells Dicom to remember the  expression and recalculate whenever a variable of the expression is changed.  This operator is different from assignment (&lt;span style="font-weight: bold;"&gt;=&lt;/span&gt;) opeartor.&lt;br /&gt;&lt;br /&gt;In short, the difference between expression operator (&lt;span style="font-weight: bold;"&gt;:=&lt;/span&gt;) and assignment operator (&lt;span style="font-weight: bold;"&gt;=&lt;/span&gt;) is that the expression operator assigns &lt;span style="font-style: italic;"&gt;expression&lt;/span&gt; to a memory variable, while the assignment operator assigns &lt;span style="font-style: italic;"&gt;value&lt;/span&gt; to a memory variable.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt; &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;We can define the  right hand side of the equation as the expression &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt; as  below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;y :=  (17*x-12)^(1/3)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;to see how  expression (&lt;span style="font-weight: bold;"&gt;:=&lt;/span&gt;) operator works in Dicom, enter the following in Dicom calculator and press  enter.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;x=1;  y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;You will see the  result being1.7099759466767. N&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;ow change the value of x=1 to x=2 and press enter.  Voila, the value of &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt; has also been changed to 2.80203933065539.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;   &lt;div style="font-weight: bold;"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;Loop()  Function&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;Now we need to  evaluate &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt; with calculated value on each iteration. Dicom &lt;span style="font-weight: bold;"&gt;Loop()&lt;/span&gt; function syntax  is as below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="font-weight: bold;"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;br /&gt;Loop( intNum,  'exprn')&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;   &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;Where, &lt;span style="font-style: italic;"&gt;intNum&lt;/span&gt; is an  integer number denoting the no of iterations and &lt;span style="font-style: italic;"&gt;exprn&lt;/span&gt; is the  expression to iterate and should be written within single  quotes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;We want to assume  the first value of x=1; then we calculate the value of &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt; and assign the  calculated value to &lt;span style="font-weight: bold;"&gt;x&lt;/span&gt;. So expression we want to iterate is &lt;span style="font-weight: bold;"&gt;'x=y'&lt;/span&gt;. Let's iterate  it 20 times. Below is the resulting dicom instructions:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="253031508-24072006"&gt; &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;y :=  (17*x-12)^(1/3) &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;; &lt;/span&gt;x=1; Loop(20, 'x=y')&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="253031508-24072006"&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;Cut and paste the  above instructions in Dicom calculator. You will get the value of x after 20  iteration and it is 3.71021341594725.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="253031508-24072006"&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;Let's recalculate it  for 100 iterations:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span class="253031508-24072006"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;y := (17*x-12)^(1/3) &lt;/span&gt;&lt;span class="253031508-24072006"&gt;; &lt;/span&gt;x=1; Loop(100,  'x=y')&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;And we get x=  &lt;/span&gt;3.71021358587913&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;&lt;br /&gt;To clear out Dicom  memory i.e. any previous assignment, expression, etc. you may use &lt;span style="font-weight: bold;"&gt;RECLAIM&lt;/span&gt;  command before issuing new instructions to Dicom that stores memory varables.&lt;br /&gt;&lt;br /&gt;Example: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;RECLAIM; &lt;span class="253031508-24072006"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;y := (17*x-12)^(1/3) &lt;/span&gt;&lt;span class="253031508-24072006"&gt;; &lt;/span&gt;x=1; Loop(100,  'x=y')&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:100%;" &gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Grab a copy of Dicom, it is absolutely free. You can download it &lt;a href="http://www.knowbotron.com"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span class="253031508-24072006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115373330021995319?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115373330021995319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115373330021995319'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/solving-equations-in-dicom.html' title='Solving Equations in Dicom'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115339856975769131</id><published>2006-07-20T05:29:00.000-07:00</published><updated>2006-07-20T06:02:03.360-07:00</updated><title type='text'>Date and Time Functions in Dicom Unit Conversion Calculator</title><content type='html'>&lt;p class="mobile-post"&gt;&lt;a href="http://www.knowbotron.com"&gt;Dicom conversion calculator&lt;/a&gt; has numerous built in date and time functions. Discussed here are some of the most commonly used ones:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Cdate( [date_args] )&lt;/span&gt; - returns date part of the date/time specified by the parameters&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Ctime( [date_args] )&lt;/span&gt; - returns time part of the date/time specified by the parameters&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Cdatex( [date_args] )&lt;/span&gt; - returns date and time specified by the parameters&lt;/li&gt;&lt;/ul&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt; in each of the cases is optional. When &lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt; is omitted the functions return current date and time as appropriate.&lt;/p&gt;&lt;p class="mobile-post"&gt;That means:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Cdate()&lt;/span&gt; = Current Date. The &lt;span style="color: rgb(0, 102, 0);"&gt;Today()&lt;/span&gt; function also produces same output.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Ctime()&lt;/span&gt; = Current Time&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Cdatex()&lt;/span&gt; = Current Date and Time. The &lt;span style="color: rgb(0, 102, 0);"&gt;Now()&lt;/span&gt; function also returns same output.&lt;/li&gt;&lt;/ul&gt;&lt;p style="font-weight: bold;" class="mobile-post"&gt;Date Parameters&lt;/p&gt;&lt;p class="mobile-post"&gt;In place of &lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt; you can optionaly specify day, month, year, hour, minute and second.&lt;br /&gt;&lt;/p&gt;&lt;p style="color: rgb(255, 0, 0);" class="mobile-post"&gt;&lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt; = day [, month [, [year [, [hour [, [minute [, second ] ] ] ] ] ]&lt;/p&gt;&lt;p class="mobile-post"&gt;The defults for missing parameters are assumed as month=January, year=0001, hour=00, minute=00, and second=00.&lt;/p&gt;&lt;p class="mobile-post"&gt;Thus, the valid syntaxes for the &lt;span style="font-weight: bold;"&gt;Cdate()&lt;/span&gt; function are:&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Cdate()&lt;/span&gt; = current date&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Cdate(20)&lt;/span&gt; = 20 January 0001&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Cdate(20,2)&lt;/span&gt; = 20 February 0001&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Cdate(20,2,2006) &lt;/span&gt;= 20 February 2006&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Ctime()&lt;/span&gt; = current time&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Ctime(20,2,2006) &lt;/span&gt;= 00:00:00&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Ctime(20,2,2006,13) &lt;/span&gt;= 13:00:00&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Ctime(20,2,2006,13,30) &lt;/span&gt;= 13:15:00&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Ctime(20,2,2006,13,30,5) &lt;/span&gt;= 13:15:05&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;Cdatex()&lt;/span&gt; function works in a similar manner also.&lt;/p&gt;&lt;p class="mobile-post"&gt;There are many date/time related functions in dicom that require &lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt;, for example:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Age( [date_args] )&lt;/span&gt; - Seconds elapsed between current and speified date/time&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Cdow( [date_args] )  &lt;/span&gt;- Name of the day of the week&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Cmonth( [date_args] ) &lt;/span&gt;- Name of the month&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Day( [date_args] ) &lt;/span&gt;- Day of the month&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;DayNum( [date_args] )&lt;/span&gt;  - Day serial of the year, 1 January being 1st day&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;DaySerial( [date_args] )&lt;/span&gt; - Day serial since 01-Jan-0001&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Dow( [date_args] ) &lt;/span&gt;- Day of the week (0=Sunday, 6=Saturday)&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;DowISO( [date_args] )&lt;/span&gt; - ISO day of the week (0=Moday, 6=Sunday)&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Month( [date_args] )&lt;/span&gt; - Month no (1-12) of the year&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Second( [date_args] ) &lt;/span&gt;- Seconds elapsed since 01-Jan-0001 00:00:00&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;WeekNum( [date_args] )  &lt;/span&gt;- Week no (1-52) of the year&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;WeekNumISO( [date_args] ) &lt;/span&gt;- ISO week no (0-52) of the year&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Year( [date_args] ) &lt;/span&gt;- Year of the date&lt;/li&gt;&lt;/ul&gt;&lt;p class="mobile-post"&gt;Note that in each of the above functions &lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt; are optional and if you don't specify it,  current date/time will be assumed.&lt;br /&gt;&lt;/p&gt;&lt;p class="mobile-post"&gt;You can assign the ouput of &lt;span style="font-weight: bold;"&gt;Cdate(), Ctime() or Cdatex()&lt;/span&gt; functions to a memory variable and use that variable in place of &lt;span style="font-style: italic;"&gt;date_args&lt;/span&gt; as well. &lt;/p&gt;&lt;p class="mobile-post"&gt;Example:&lt;/p&gt;&lt;p style="color: rgb(0, 102, 0);" class="mobile-post"&gt;LandingOnMoon = Cdate(16, 7, 1969); TimePassed = Age(LandingOnMoon)&lt;/p&gt;&lt;p class="mobile-post"&gt;You may also use: &lt;span style="color: rgb(0, 102, 0);"&gt;Age(16, 7, 1969)&lt;/span&gt;&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115339856975769131?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115339856975769131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115339856975769131'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/date-and-time-functions-in-dicom-unit.html' title='Date and Time Functions in Dicom Unit Conversion Calculator'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115322259090989937</id><published>2006-07-18T04:36:00.000-07:00</published><updated>2008-01-31T21:42:53.730-08:00</updated><title type='text'>Controlling Precision and Presentation - DECIMAL, DIGIT and FORMAT</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://www.knowbotron.com/"&gt;Dicom&lt;/a&gt; calculation result can be formatted using DECIMAL, DIGIT, and FORMAT command.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;DECIMAL is used to set number of digits after decimal point, large value is displayed in normal notation&lt;/li&gt;&lt;li&gt;DIGIT is used to set number of significant digits, large value is displayed using exponential notation&lt;/li&gt;&lt;li&gt;FORMAT is used to format the result&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Syntax of DECIMAL Command&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;[SET] DECIMAL []&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;n can be any value between 0 and 18. If it is not specified or 0 the decimal is reset to default 15.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;DECIMAL; 2.34^15&lt;/span&gt; = 345332.824799534&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;DECIAML 2; 2.34^15&lt;/span&gt; = 345332.82&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Syntax of DIGIT Command&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;[SET] DIGIT []&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;n can be any value between 0 and 18. If it is not specified or 0 the decimal is reset to default 15.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;DIGIT; 2.34^15&lt;/span&gt; = 345332.824799534&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;DIGIT 2; 2.34^15&lt;/span&gt; =3.5e+005&lt;br /&gt;&lt;br /&gt;You may notice that DIGIT or DECIMAL without any value specified defaults to same format, which is 15 significant digits with exponential form for large value.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Syntax of FORMAT Command&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;[SET] FORMAT ['']&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;spec is the format specifier enclosed within single quotes ( ' )&lt;br /&gt;The spec follows the C/C++ format convention. Some examples are shown below:&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;FORMAT '%x' ; 255&lt;/span&gt; = ff (hexadecimal)&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;FORMAT '%i' ; 13/3&lt;/span&gt; = 4 (signed integer)&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;FORMAT '%f' ; 13/3&lt;/span&gt; = 4.333333 (6 decimal float)&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;FORMAT '%.15g' ; 13/3&lt;/span&gt; = 4.33333333333333 (dicom default i.e. 15 decimal float, may use exponential notation when required)&lt;br /&gt;&lt;br /&gt;Clik &lt;a href="http://www.knowbotron.com/"&gt;here&lt;/a&gt; to visit Knowbotron's web site. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115322259090989937?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115322259090989937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115322259090989937'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/controlling-precision-and-presentation.html' title='Controlling Precision and Presentation - DECIMAL, DIGIT and FORMAT'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115314535910478799</id><published>2006-07-17T07:09:00.000-07:00</published><updated>2006-07-17T08:56:50.983-07:00</updated><title type='text'>Dicom Conversion Calculator can Handle Binary, Octal, Hexadecimal and Arbitrary Based Numbers</title><content type='html'>&lt;div&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;strong&gt;Converting a Base-N Number to Decimal  Number&lt;/strong&gt;&lt;/span&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;In Dicom a value without any base indicator is a  decimal value as usual.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Example: 100, 1.234, 1e-10 etc.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;However you can specify the base value of a number  in Dicom. To do this you need to follow the syntax below:&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#ff0000;"&gt;&lt;strong&gt;0b&amp;lt;base  value&amp;gt;:&amp;lt;number&amp;gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Here, base value can be any value between 2 and  36&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Example:&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Binary number or base-2&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;span style="color:#008000;"&gt;0b2:10101010&lt;/span&gt; (decimal  170)&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Octal number or base-8&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;span style="color:#008000;"&gt;0b8:1234567&lt;/span&gt; (decimal  342391)&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Hexadecimal number or base-16&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;span style="color:#008000;"&gt;0b16:2345FF&lt;/span&gt; (decimal  2311679)&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;An arbitrary base-36 number&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;span style="color:#008000;"&gt;0b36:19ADZ&lt;/span&gt; (decimal  2112983)&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Note that the digits and letters allowed in an  arbitrary N (36&amp;gt;=N&amp;gt;=2) based number are first N number of digits and  letters from the list below:&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, G,  H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Thus for a binary number only allowed digits are: 0  and 1. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;For an octal number allowed digits are 0 to  7.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;For a hexadecimal number allowed digits are 0 to 9  and letters A to F.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;For a 36 based number all 36 values (0 to 9 plus A  to Z) are allowed.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;If you don't specify digits and letters from the  allowed range an "Unknown string" or "Missing operator" error will  occur.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;span class="001121811-17072006"&gt;&lt;span style="font-family:Arial;color:#0000ff;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;strong&gt;Converting a Decimal Number to a  Base-N Number&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;You can use FORMAT command to specify the base value  to be converted to. The syntax is as below:&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#ff0000;"&gt;&lt;strong&gt;FORMAT '0b&amp;lt;base  value&amp;gt;'&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Example:&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#008000;"&gt;FORMAT '0b2'; 170&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;= 0b2:10101010&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#008000;"&gt;FORMAT '0b8'; 342391&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;= 0b8:1234567&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#008000;"&gt;FORMAT '0b16'; 2311679&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;= 0b16:2345ff&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#008000;"&gt;FORMAT '0b36'; 2112983&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;= 0b36:19adz&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Note that FORMAT command without any specification  will reset Dicom to decimal value formatting.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;span class="001121811-17072006"&gt;&lt;span style="font-family:Arial;color:#0000ff;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;&lt;strong&gt;Converting a Base-X number to a  Base-Y Number&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Set FORMAT to specify base value Y to convert to.  Enter the X-based representation of the number to convert.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;Example: Convert binary 10101010 to hexadecimal  number&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;color:#008000;"&gt;FORMAT '0b16'; 0b2:10101010&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family:Tahoma;font-size:100%;"&gt;= 0b16:aa&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115314535910478799?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115314535910478799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115314535910478799'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-conversion-calculator-can-handle.html' title='Dicom Conversion Calculator can Handle Binary, Octal, Hexadecimal and Arbitrary Based Numbers'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115304898315618691</id><published>2006-07-16T04:23:00.001-07:00</published><updated>2006-07-16T12:27:04.986-07:00</updated><title type='text'>Runtime Modes of Dicom Unit Conversion Calculator</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2015/3281/1600/dicom-calculator-normal.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/2015/3281/320/dicom-calculator-normal.png" alt="Dicom unit conversion calculator in normal mode" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;a href="http://www.knowbotron.com"&gt;Dicom unit conversion calculator&lt;/a&gt; can run in any of  the four modes &lt;span class="165013710-16072006"&gt;described  below.&lt;/span&gt;&lt;/span&gt;&lt;div&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong style="color: rgb(255, 0, 0);"&gt;Compact Mode&lt;/strong&gt; - Document and  Calculator view, suitable for adhoc calculation.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong style="color: rgb(255, 0, 0);"&gt;Normal Mode&lt;/strong&gt; - Explorer,  Document, Calculator, and Converter all are on stage (in the figure above). The normal view is  suitable for document based mass computation.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong style="color: rgb(255, 0, 0);"&gt;Custom Mode&lt;/strong&gt; - As configured by  you. As an example you may want just the calculator to be in front when you run  Dicom&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong style="color: rgb(255, 0, 0);"&gt;Tray Only&lt;/strong&gt; - Only tray Icon  view, suitable if you always want dicom to be active and ready for calculation  and conversion.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;You can select runtime mode from the menu, choose  "&lt;em&gt;&lt;strong&gt;File &gt; Preferences... &gt; Mode Settings &gt; Startup  Mode&lt;/strong&gt;&lt;/em&gt;"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="118385810-16072006"  style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://www.knowbotron.com/"&gt;&lt;span style="font-family:Times New Roman;"&gt;Dicom unit  conversion calculator&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman;"&gt; is  available &lt;/span&gt;&lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;&lt;span style="font-family:Times New Roman;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt; for free download.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt;&lt;/div&gt;&lt;a href="http://www.knowbotron.com"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115304898315618691?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115304898315618691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115304898315618691'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/runtime-modes-of-dicom-unit-conversion.html' title='Runtime Modes of Dicom Unit Conversion Calculator'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115304898255806283</id><published>2006-07-16T04:23:00.000-07:00</published><updated>2008-01-03T07:01:08.150-08:00</updated><title type='text'>Dicom Working Set</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://photos1.blogger.com/blogger/2015/3281/1600/Working%20Set.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="Dicom unit conversion calculator - working set" src="http://photos1.blogger.com/blogger/2015/3281/320/Working%20Set.png" style="margin: 2pt 2pt 10px 10px; float: right; cursor: pointer;" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;a href="http://www.knowbotron.com/"&gt;Dicom unit conversion calculator&lt;/a&gt; has 650 built-in  unit symbols. &lt;span&gt;These are the symbols that can  define a physical quantity on its own. You can combine these symbols in an  infinite number of ways as required (eg. &lt;span style="color: rgb(0, 102, 0);"&gt;ft./s.&lt;/span&gt; is a combination of &lt;span style="color: rgb(0, 102, 0);"&gt;ft.&lt;/span&gt; and &lt;span style="color: rgb(0, 102, 0);"&gt;s.&lt;/span&gt;  to represent speed). &lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span&gt;&lt;span&gt;However, you  may not require all these units for your day to day business. Your profession  may require just a limited set of symbols. To address this issue Dicom  implemented a concept of Working Set.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span&gt;An Working Set is a collection of unit symbols for a  particular purpose. Dicom has some pre-defined working set for fields such as  &lt;span style="font-style: italic;"&gt;Astronomy, Business, Civil Engineering, Electrical Engineering, Grocery Shop,  Jwellery, Kitchen&lt;/span&gt;, etc. However, you can create your own working set of  units.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;br /&gt;Create your own Working  Set&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;   &lt;li&gt;&lt;span&gt;Activate Dicom Explorer. If it is not already    active you can choose &lt;span style="font-style: italic; font-weight: bold;"&gt;View &amp;gt; Explorer&lt;/span&gt; to display it.&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span&gt;Click on &lt;span style="font-weight: bold; font-style: italic;"&gt;Unit&lt;/span&gt; tab of the explorer&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span&gt;Right Clcik on the &lt;span style="font-style: italic; font-weight: bold;"&gt;Working Set&lt;/span&gt; from the    tree&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span&gt;From the context menu select &lt;span style="font-style: italic; font-weight: bold;"&gt;Add a New Working    Set&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span&gt;Enter a name for your working set on the dialog    box that is displayd and press Apply. The working set will be created. Close    the dialog box.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;br /&gt;Add Units and Composite Units to your Working Set&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;   &lt;li&gt;&lt;span&gt;Right  click on newly created working set and select &lt;span style="font-weight: bold; font-style: italic;"&gt;Add New  Unit/Composition&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span&gt;From the Dialog box select your units one by one and complete filling up of  your working set&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;div&gt;&lt;span&gt;&lt;span&gt;Note that you can  also add and delete units to and from any of the dicom defined working  set.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;a href="http://www.knowbotron.com/"&gt;&lt;span&gt;Dicom unit  conversion calculator&lt;/span&gt;&lt;/a&gt;&lt;span&gt; is  available &lt;/span&gt;&lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;&lt;span&gt;here&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt; for free download.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt; &lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115304898255806283?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115304898255806283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115304898255806283'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-working-set.html' title='Dicom Working Set'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115299498202496419</id><published>2006-07-15T12:38:00.000-07:00</published><updated>2006-07-16T06:09:35.513-07:00</updated><title type='text'>Examples of Calculation with Dicom Document</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2015/3281/1600/Dicom%20Examples.png"&gt;&lt;img style="margin: 3pt 10px 10px 3pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/2015/3281/320/Dicom%20Examples.png" alt="Dicom unit conversion calculator - example calculations" border="0" /&gt;&lt;/a&gt;&lt;span class="tx"&gt;You can find numerous examples installed with &lt;a href="http://www.knowbotron.com"&gt;Dicom unit conversion  calculator&lt;/a&gt;.  Those examples demonstrate varoius  syntaxes, functionalities and calculations in dicom.&lt;br /&gt;&lt;br /&gt;The default installation path of the example folder is "&lt;span style="font-weight: bold;"&gt;C:\Program  Files\Dicom4\Examples&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;To try out the examples click on the menu path "&lt;span style="font-style: italic; font-weight: bold;"&gt;File  &gt; Open... &lt;/span&gt;" and navigate to the examples directory. Dicom document files are  either plain text (.txt) files or rich text (.rtf) files.&lt;br /&gt;&lt;br /&gt;Once loaded the  selected file will be opened in the Dicom document's input tab.&lt;br /&gt;&lt;br /&gt;Simply press  [&lt;span style="color: rgb(0, 102, 0);"&gt;F8&lt;/span&gt;] to calculate the document. The ouput of the document will be placed in the  output tab.&lt;br /&gt;&lt;br /&gt;Hope you would find those examples very helpful to master &lt;a href="http://www.knowbotron.com"&gt;Dicom unit  conversion calculator&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;a href="http://www.knowbotron.com/"&gt;&lt;span style="font-family:Times New Roman;"&gt;Dicom unit  conversion calculator&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman;"&gt; is  available &lt;/span&gt;&lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;&lt;span style="font-family:Times New Roman;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman;"&gt; for free download.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115299498202496419?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115299498202496419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115299498202496419'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/examples-of-calculation-with-dicom.html' title='Examples of Calculation with Dicom Document'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115290543827378485</id><published>2006-07-14T12:30:00.000-07:00</published><updated>2006-07-14T12:50:30.183-07:00</updated><title type='text'>Some Useful Shortcut Keys for Dicom Unit Conversion Calculator</title><content type='html'>&lt;p style="font-weight: bold;" class="mobile-post"&gt;1. Calculate document&lt;/p&gt;&lt;p class="mobile-post"&gt;Press [&lt;span style="color: rgb(0, 102, 0);"&gt;F8&lt;/span&gt;]&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;2. Apply expression begin and end tags to the selected text&lt;/span&gt; &lt;/p&gt;&lt;p class="mobile-post"&gt;Method (1) Press [&lt;span style="color: rgb(0, 102, 0);"&gt;F4&lt;/span&gt;]&lt;br /&gt;Method (2) Click [&lt;span style="color: rgb(0, 102, 0);"&gt;XB&lt;/span&gt;] or [&lt;span style="color: rgb(0, 102, 0);"&gt;XE&lt;/span&gt;] button on Dicom Calculator&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;3. Calculate Expression entered on calculator&lt;/span&gt; &lt;/p&gt;&lt;p class="mobile-post"&gt;Method (1) Press [&lt;span style="color: rgb(0, 102, 0);"&gt;ENTER&lt;/span&gt;]&lt;br /&gt;Method (2) Click [&lt;span style="color: rgb(0, 102, 0);"&gt;Enter&lt;/span&gt;] or [&lt;span style="color: rgb(0, 102, 0);"&gt;En&lt;/span&gt;] button on Dicom Calculator&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;4. Calculate Expression entered in Dicom document (calculate immediately on the input document)&lt;/span&gt; &lt;/p&gt;&lt;p class="mobile-post"&gt;If expression is not enclosed between begin and end tags follow step 2, then press [&lt;span style="color: rgb(0, 102, 0);"&gt;F5&lt;/span&gt;]&lt;br /&gt;In another way: select expression + Press [&lt;span style="color: rgb(0, 102, 0);"&gt;F4&lt;/span&gt;] + Press [&lt;span style="color: rgb(0, 102, 0);"&gt;F5&lt;/span&gt;]&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;5.  Check a Keyword in an expression on Dicom Document&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="mobile-post"&gt;Auto Check keywords is off (File &amp;gt; Preferences... &amp;gt; Calculation and Editing &amp;gt; Check Keywords) keywords can still be checked on Dicom document by pressing [&lt;span style="color: rgb(0, 102, 0);"&gt;F2&lt;/span&gt;]. The single keyword for units or functions, which the cursor is on, will be checked and autoformatted.&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;6.&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;Check Keywords in Dicom Calculator&lt;/span&gt;&lt;/p&gt;&lt;p class="mobile-post"&gt;Auto check keyword option works on Dicom document. But same option for Dicom Calculator can be toggled on/off by pressing [&lt;span style="color: rgb(0, 102, 0);"&gt;F6&lt;/span&gt;]&lt;/p&gt;&lt;p class="mobile-post"&gt;&lt;span style="font-weight: bold;"&gt;7.  Superscript and Subscript&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="mobile-post"&gt;[&lt;span style="color: rgb(0, 102, 0);"&gt;Ctrl+&lt;/span&gt;] and [&lt;span style="color: rgb(0, 102, 0);"&gt;Ctrl-&lt;/span&gt;] keys can be used to format (toggled on/off) selected text as superscript and subscript. Dicom can deal with superscripts within an expression too! For example, you can write ft^2 or &lt;span style="font-style: italic;"&gt;ft with a superscripted 2&lt;/span&gt; to mean "square of a foot".&lt;/p&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;a href="http://www.knowbotron.com/"&gt;&lt;span style="font-family:Times New Roman;"&gt;Dicom unit  conversion calculator&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman;"&gt; is  available &lt;/span&gt;&lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;&lt;span style="font-family:Times New Roman;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman;"&gt; for free download.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115290543827378485?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115290543827378485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115290543827378485'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/some-useful-shortcut-keys-for-dicom.html' title='Some Useful Shortcut Keys for Dicom Unit Conversion Calculator'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115260208529089819</id><published>2006-07-11T00:08:00.000-07:00</published><updated>2006-07-11T06:22:56.966-07:00</updated><title type='text'>Dicom Unit Symbol Convention</title><content type='html'>&lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;When you use units  in calculation or conversion you can express that in &lt;a href="http://www.knowbotron.com"&gt;Dicom Calculator&lt;/a&gt; and Dicom  Document in one of the the followoing three manners:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="font-weight: bold;"&gt;1. Unit symbols  without any braces&lt;/span&gt; - these are the unit symbols standarised by International  System of Unit (SI). &lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;br /&gt;Example:  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;m.&lt;/span&gt; -  metre&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ft.&lt;/span&gt; -  feet&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;mi.&lt;/span&gt; -  miles&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;2. Unit symbols with curly  braces {}&lt;/span&gt; - these are not standard symbols but widely used. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;br /&gt;Example:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;{inch.}&lt;/span&gt; -  inches&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;{km.}&lt;/span&gt;  -kilometres&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;{cm.}&lt;/span&gt; -  centimetres&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;3. Unit symbols  with square braces []&lt;/span&gt; - these are non-standard symbols and also not widely  used.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;br /&gt;Example:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;[fath.]&lt;/span&gt; -  fathom&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;[micron.]&lt;/span&gt; - micro  metre&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;   &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;br /&gt;In all of the cases  above use of period (.) next to the unit symbol is optional. Also the use of {}  or [] are optional.When the option  "&lt;span style="font-style: italic;"&gt;File &gt; Preferences... &gt; Calculation and Editing &gt; Check keywords&lt;/span&gt;" is  checked on (by default it is on) any unit symbol  written is automatically reformatted in Dicom Calculator and Dicom  Document.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;That means you can  write &lt;span style="color: rgb(0, 102, 0);"&gt;{inch.}&lt;/span&gt; in any of the following manner:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;inch&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;inch&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;{inch}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div style="color: rgb(0, 102, 0);"&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;{inch.}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;and even  &lt;span style="color: rgb(0, 102, 0);"&gt;[inch]&lt;/span&gt; or &lt;span style="color: rgb(0, 102, 0);"&gt;[inch.]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;br /&gt;Dicom will reformat  to its standard convention - &lt;span style="color: rgb(0, 102, 0);"&gt;{inch.}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span class="729103709-21062006"&gt;&lt;a href="http://www.knowbotron.com/"&gt;&lt;span style=";font-family:Times New Roman;" &gt;Dicom unit  conversion calculator&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:Times New Roman;" &gt; is  available &lt;/span&gt;&lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;&lt;span style=";font-family:Times New Roman;" &gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:Times New Roman;" &gt; for free download.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115260208529089819?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115260208529089819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115260208529089819'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-unit-symbol-convention.html' title='Dicom Unit Symbol Convention'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115228653318549221</id><published>2006-07-07T08:17:00.000-07:00</published><updated>2006-07-07T08:35:33.483-07:00</updated><title type='text'>Array Handling in Dicom Conversion Calculator - Part 2</title><content type='html'>In &lt;a href="http://knowbotron-calculator.blogspot.com/2006/07/array-handling-in-dicom-conversion.html"&gt;part-1&lt;/a&gt; we discussed six functions related to array handling in &lt;a href="http://www.knowbotron.com"&gt;Dicom&lt;/a&gt;. The functions ArSet() and ArGet() are used to set and get array elements as the name implies. However, Array elements in Dicom can also be assigned and retrived in a much easier way.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX=Dim(3)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArSet(1,10,arX)&lt;/span&gt; is equivalent to &lt;span style="color: rgb(0, 102, 0);"&gt;arX(1)&lt;/span&gt;=10&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX(2)=20&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX(3)=30&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Similarly &lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(1,arX)&lt;/span&gt; is equivalent to simply &lt;span style="color: rgb(0, 102, 0);"&gt;arX(1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Array and Aggregate Functions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Following aggregate functions in Dicom apply to an array elements or a series of values or quantities. The functions are used respectively to determine Maximum, Minimum, Average, Sum, Count, and Standard Deviation of the values supplied.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Max( array | qty1 , qty2 [ , qty3…] )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Min( array | qty1 , qty2 [ , qty3…] )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Avg( array | qty1 , qty2 [ , qty3…] )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Sum( array | qty1 , qty2 [ , qty3…] )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Count( array | qty1 , qty2 [ , qty3…] )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Stdev( array | qty1 , qty2 [ , qty3…] )&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Example of aggregate functions with list of values&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Max(1,2,3) = 3&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Max(1 ft, 6 inch, 250 mm) to ft &lt;/span&gt;= 1.00 ft&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Min(1,2,3) = 1&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Min(1 ft, 6 inch, 250 mm) to ft&lt;/span&gt; = 0.50 ft&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Avg(1,2,3) = 2&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Avg(1 ft, 6 inch, 250 mm) to ft&lt;/span&gt; = 0.77 ft&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Sum(1,2,3) = 6&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Sum(1 ft, 6 inch, 250 mm) to ft&lt;/span&gt; = 2.32 ft&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Count(1,2,3) = 3&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Count(1 ft, 6 inch, 250 mm)&lt;/span&gt; = 3&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Stdev(1,2,3) = 0.81649&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Stdev(1 ft, 6 inch, 250 mm) to ft &lt;/span&gt;= 0.2068 ft&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example of aggregate functions with Array&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that there is no limit to the number of comma separated list of values. And as you noticed already, the list of values can be with or without units. However, for long list of values instead of using comma separated list you can use an array.&lt;br /&gt;&lt;br /&gt;Above Examples are re-written below using array, just cut and paste the following code in a Dicom document and press [f8] to execute.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;['&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX=Dim(3);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(1,2,3,arX);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arY=Dim(3);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(1 ft, 6 inch, 250 {mm.}, arY);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Max(arX); Max(arY);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Min(arX); Min(arY);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Avg(arX); Avg(arY);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Sum(arX); Avg(arY);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Count(arX); Count(arY);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Stdev(arX); Stdev(arY);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;']&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;[' and '] are used in a Dicom document to distinguish the expressions to be evaluated from the rest of the document text. These are so called expresson tags.&lt;/li&gt;&lt;li&gt;Multiple expressions in Dicom are separated with semicolon (;)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;&lt;/span&gt;&lt;a href="http://www.knowbotron.com/"&gt;Dicom unit conversion calculator&lt;/a&gt; is available &lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;here&lt;/a&gt; for free download.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115228653318549221?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115228653318549221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115228653318549221'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/array-handling-in-dicom-conversion_07.html' title='Array Handling in Dicom Conversion Calculator - Part 2'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115218356835507929</id><published>2006-07-06T03:52:00.000-07:00</published><updated>2006-07-06T03:59:28.476-07:00</updated><title type='text'>Array Handling in Dicom Conversion Calculator - Part 1</title><content type='html'>Arrays are useful in analysing data set. Dicom statistical functions use arrays as parameters.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.knowbotron.com"&gt;Dicom&lt;/a&gt; is unique in its ability to handle array. Array can be named or unnamed. The array elements can be with unit or unit-less. Array can be single or multi-dimensional. With dicom you can deal with one-dimensional list, two-dimensional table, and three-dimensional pages of table.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Function Description with Examples&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are 6 Array handling functions in dicom as described below.&lt;br /&gt;&lt;br /&gt;1. To create single or multidimensional array use:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Dim( columns [, rows [,pages]] )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Dim (3)&lt;/span&gt; - list of 3 values.&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Dim (3, 4)&lt;/span&gt; - a 3 columns by 4 rows table&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Dim (3, 4, 100) &lt;/span&gt;- 100 pages of 3x4 table&lt;br /&gt;&lt;br /&gt;Note that index of Dicom array elements starts with 1.&lt;br /&gt;Assigning an array to a name is convenient.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX = Dim(3)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arY = Dim(3, 4)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the above example, arX and arY are two named arrays.&lt;br /&gt;&lt;br /&gt;2. To append array elements use:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ArAdd( arg1, arg2, …[, array] ) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX = Dim(5) &lt;/span&gt;- an array of five values&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(10,20,30,40,50,arX)&lt;/span&gt; - add all 5 values to the array in one go.&lt;br /&gt;&lt;br /&gt;Alternately yo can append one by one or any number of values at a time.&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;arX = Dim(5)&lt;/span&gt; - an array of five values&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(10,20,30,arX)&lt;/span&gt; - add first 3 values to the array.&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(40,50,arX) &lt;/span&gt;- add next 2 values to the array.&lt;br /&gt;&lt;br /&gt;3. To set an array element use:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;ArSet( pos, [array,] value ) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArSet(2, arX, 20.5) &lt;/span&gt;- change the value of the second element to 20.5&lt;br /&gt;&lt;br /&gt;4. To get an array element use:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ArGet( pos [,array] ) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(2, arX)&lt;/span&gt; = 20.5&lt;br /&gt;&lt;br /&gt;5. To delete an array use:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ArDel( [array] ) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArDel(arX)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6. To reference an unnamed array use:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Res( ) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Dim(3)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(100,200,300, Res())&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(2,Res())&lt;/span&gt; - will return 200&lt;br /&gt;&lt;br /&gt;However, you can omit the array parameter (as it is optional in all of the array handling functions) if you want to deal with the unnamed array.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Dim(3)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(10,20,30)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArSet(2,200)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArDel()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As you may rightly guessed, you can deal with only one unnamed array at a time. But of course, there is no limit for the number of named arrays one can use.&lt;br /&gt;&lt;br /&gt;Before concluding, please recall that Dicom arrays can deal with unit too.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Dim(3)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArAdd(5ft, 60 kg, 35 yr)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(1) to inch&lt;/span&gt; : will return 60 inch (inches)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(2) to lb&lt;/span&gt; : will return 132.27 lb (pound)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;ArGet(3) to d&lt;/span&gt; : will return 12783.47 d (days)&lt;br /&gt;&lt;br /&gt;In the next part "Array Handling in Dicom Conversion Calculator - Part 2" we will see some use of arrays in Dicom conversion calculator. Happy computing!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;&lt;/span&gt;&lt;a href="http://www.knowbotron.com/"&gt;Dicom unit conversion calculator&lt;/a&gt; is available &lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;here&lt;/a&gt; for free download.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115218356835507929?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115218356835507929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115218356835507929'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/array-handling-in-dicom-conversion.html' title='Array Handling in Dicom Conversion Calculator - Part 1'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115201160880092693</id><published>2006-07-04T04:03:00.000-07:00</published><updated>2006-07-04T04:13:31.046-07:00</updated><title type='text'>Dicom as a Body Mass Index (BMI) Calculator</title><content type='html'>&lt;span style="font-weight: bold;"&gt;BMI Definition&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Body mass index (BMI) is a measure of body fat based on height and weight that applies to both adult men and women. BMI is always expressed in kilogram per square meter and therefore often left out. Dicom treat BMI as an unitless index.&lt;br /&gt;&lt;br /&gt;For details see also: &lt;a href="http://en.wikipedia.org/wiki/Body_mass_index"&gt;http://en.wikipedia.org/wiki/Body_mass_index&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;BMI Categories&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Underweight: BMI &lt; 18.5&lt;br /&gt;    Normal weight: BMI &gt;= 18.5 and &lt; 25.0&lt;br /&gt;    Overweight: BMI &gt;= 25.0 and &lt; 30.0&lt;br /&gt;    Obesity: BMI &gt;= 30.0&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dicom BMI Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;BodyMass( height[m] [, weight[kg] ] )&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The BodyMass function takes two parameters: height and weight. &lt;/li&gt;&lt;li&gt;Units are optional. If you don't want to mention the units, you should enter height figure in meter and weight figure in kilogram.&lt;/li&gt;&lt;li&gt;If you want to specify units you can do so in whatever unit you feel is convenient.&lt;/li&gt;&lt;li&gt;The function returns unitless BMI when you specify both height and weight.&lt;/li&gt;&lt;li&gt;However, the weight parameter is optional and if you omit this, the BMI function returns ideal weight (assuming a BMI of 24) and the return value is associated with the unit of weight.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;BMI Calculation Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can try each of the following statement in &lt;a href="http://www.knowbotron.com"&gt;Dicom calculator&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0); font-family: courier new;"&gt;BodyMass(6 ft, 70 kg)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0); font-family: courier new;"&gt;BodyMass(6 ft, 150 lb)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0); font-family: courier new;"&gt;BodyMass(5 ft 9 inch, 60 kg 750 g)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0); font-family: courier new;"&gt;BodyMass(6 ft) to lb&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0); font-family: courier new;"&gt;BodyMass(6 ft) to kg&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0); font-family: courier new;"&gt;BodyMass(1.8, 70)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Alternately you can cut and paste the following code in the Dicom document and then press F8 to execute.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(0, 102, 0);"&gt;['BodyMass(6 ft, 70 kg)']&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(0, 102, 0);"&gt;['BodyMass(6 ft, 150 lb)']&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(0, 102, 0);"&gt;['BodyMass(5 ft 9 inch, 60 kg 750 g)']&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(0, 102, 0);"&gt;['BodyMass(6 ft) to lb']&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(0, 102, 0);"&gt;['BodyMass(6 ft) to kg']&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(0, 102, 0);"&gt;['BodyMass(1.8, 70)']&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The result will be as below:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;BodyMass(6 ft, 70 kg) = 20.9298258102689&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;BodyMass(6 ft, 150 lb) = 20.3434498304182&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;BodyMass(5 ft 9 inch, 60 kg 750 g) = 19.7779223535763&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;BodyMass(6 ft) to lb = 176.961136385883 lb.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;BodyMass(6 ft) to kg = 80.26822656 kg.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; color: rgb(255, 0, 0);"&gt;BodyMass(1.8, 70) = 21.6049382716049&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;&lt;/span&gt;&lt;a href="http://www.knowbotron.com/"&gt;Dicom unit conversion calculator&lt;/a&gt; is available &lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;here&lt;/a&gt; for free download.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115201160880092693?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115201160880092693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115201160880092693'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-as-body-mass-index-bmi.html' title='Dicom as a Body Mass Index (BMI) Calculator'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115195853212422794</id><published>2006-07-03T13:12:00.000-07:00</published><updated>2006-07-03T22:18:49.240-07:00</updated><title type='text'>Dicom as a Financial Calculator: Compound Interest Rate</title><content type='html'>&lt;p&gt;       &lt;/p&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Function Description&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Following Dicom financial function calculates the compound interest rate of an one time investment:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;br /&gt;Irr1(nper, pval[USD], fval[USD]) &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In the above function syntax, units in square brackets [] are optional.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;nper&lt;/span&gt; is the number of period to be invested. It is a value without unit.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;pva&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;l&lt;/span&gt; is the present value of invested amount. It can be without unit or with currency unit such as &lt;span style="color: rgb(51, 51, 51); font-weight: bold;"&gt;USD&lt;/span&gt;.  &lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;fva&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;l&lt;/span&gt; is the future value of invested amount. It can be without unit or with currency unit such as &lt;span style="color: rgb(51, 51, 51); font-weight: bold;"&gt;USD&lt;/span&gt;.  &lt;/li&gt;&lt;/ul&gt; &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Calculate the annual compound interest rate for an 100 US Dollars investment if the expected net future value is 200 US dollars after a period of 10 years.&lt;br /&gt;&lt;br /&gt;Using pct for percentage:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0); font-weight: bold;"&gt;Irr1( 10, 100 USD, 200 USD ) = 0.0717734625362931&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;&lt;/span&gt;Without using currency unit:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;Irr1( 10, 100, 200 ) = 0.0717734625362931&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;So the compound interest rate is approximately 7.18%.&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.knowbotron.com/"&gt;Dicom unit conversion calculator&lt;/a&gt; is available &lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;here&lt;/a&gt; for free download.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115195853212422794?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115195853212422794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115195853212422794'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-as-financial-calculator-compound.html' title='Dicom as a Financial Calculator: Compound Interest Rate'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115192505535130196</id><published>2006-07-03T03:49:00.000-07:00</published><updated>2006-07-03T13:32:20.370-07:00</updated><title type='text'>Dicom as a Financial Calculator: Net future value of a one time investment</title><content type='html'>&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Function Description&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Following Dicom financial function calculates net future value of a one time investment:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;br /&gt;Nfv1( rate[pct], nper, pval[USD] ) &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In the above function syntax, units in square brackets [] are optional.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;rate&lt;/span&gt; is interest rate. If the interest rate is 5%, it can be written as either .05 or 5 &lt;span style="color: rgb(51, 51, 51); font-weight: bold;"&gt;pct&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;nper&lt;/span&gt; is the number of period to be invested. It is a value without unit. Note that interest rate is based on this period. &lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;pva&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;l&lt;/span&gt; is the present value of invested amount. It can be unit-less or with currency unit such as &lt;span style="color: rgb(51, 51, 51); font-weight: bold;"&gt;USD&lt;/span&gt;.  &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Calculate net future value of 100 US dollars invested for a period of 10 years at an interest rate of 4% per year.&lt;br /&gt;&lt;br /&gt;Using pct for percentage:&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0); font-weight: bold;"&gt;Nfv1( 4 pct, 10, 100 USD ) = 148.024428491834 USD.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Using fraction for percentage:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;Nfv1( .04, 10, 100 USD ) = 148.024428491834 USD.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Without using currency unit (note that the answer is unit-less):&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);"&gt;Nfv1( .04, 10, 100 ) = 148.024428491834 &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.knowbotron.com"&gt;Dicom unit conversion calculator&lt;/a&gt; is available &lt;a href="http://knowbotron.com/dicom/download_dicom.htm"&gt;here&lt;/a&gt; for free download.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115192505535130196?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115192505535130196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115192505535130196'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-as-financial-calculator-net.html' title='Dicom as a Financial Calculator: Net future value of a one time investment'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30565217.post-115187143035978243</id><published>2006-07-02T12:53:00.000-07:00</published><updated>2006-07-02T13:28:04.163-07:00</updated><title type='text'>Dicom 4.0: Knowbotron Unit Conversion Calculator</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2015/3281/1600/mode_compact_small.gif"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/2015/3281/320/mode_compact_small.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;K&lt;/span&gt;nowbotron's calculator is a free unit aware calculator that performs unit conversion as well as unit calculation. The calculator is called Dicom (version 4.0 is so far the latest).&lt;br /&gt;&lt;br /&gt;The calculator can deal with 650 units covering the whole range of physical quantities. However, an infinite number of combination of these units are also possible. Dicom also allows users to define custom units that become an integral part of Dicom and therefore can also be used in unit calculations. Dicom also has some 150 buil-in functions from various disciplines.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Calculation with units&lt;/span&gt; means numbers and units together can form a mathematical expression to be evaluated. For example : "30 ft. + 6 m. " is such an expression that can be evaluated to ft. (feet) or m. (meter) or any other unit of length.&lt;br /&gt;&lt;br /&gt;Dicom 4.0 can be downloaded from &lt;a href="http://www.knowbotron.com"&gt;http://www.knowbotron.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30565217-115187143035978243?l=knowbotron-calculator.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115187143035978243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30565217/posts/default/115187143035978243'/><link rel='alternate' type='text/html' href='http://knowbotron-calculator.blogspot.com/2006/07/dicom-40-knowbotron-unit-conversion.html' title='Dicom 4.0: Knowbotron Unit Conversion Calculator'/><author><name>Knowbotron</name><uri>http://www.blogger.com/profile/05315964758153103210</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='12' src='http://www.knowbotron.com/images/knowbotron05q.jpg'/></author></entry></feed>
