<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/ti/onlinemanual/000809" xml:lang="en">
   <Header>
      <Title>Defining Calcualtions Details</Title>
      <Keyword type="header" order="d1e2379050">
         <Level1>Defining</Level1>
         <Level2>calculation details</Level2>
      </Keyword>
      <Keyword type="header" order="d1e2379055">
         <Level1>Calculation Details</Level1>
         <Level2>defining</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>For each calculation you can define various calculation lines,
		according to a specific syntax. This syntax defines how the calculation must be
		performed. The result of a calculation is always one single figure: the final
		result.</Paragraph>
      <List>
         <ListIntro>In a calculation you can use constant values and three types
		  of variables:</ListIntro>
         <ListItem>Answers to calculation questions (for type Dialog)</ListItem>
         <ListItem>Aspect values (for type Constraint)</ListItem>
         <ListItem>Intermediate results (results of a part of the
		  calculation)</ListItem>
      </List>
      <List>
         <ListIntro>You can further use:</ListIntro>
         <ListItem>Operators</ListItem>
         <ListItem>Brackets</ListItem>
         <ListItem>Functions</ListItem>
      </List>
      <ExampleSection>
         <SectionTitle>Example</SectionTitle>
         <Paragraph>Calculate the angle of a triangle by using the following
		  formula:</Paragraph>
         <Formula space-and-orientation="indented-estimated">
            <Paragraph>Angle=asin (length of side a/length of side
				c)</Paragraph>
         </Formula>
         <Paragraph>The following questions can be defined in the <GUIRef href="/baanerp/ti/grt/tigrt0131m000" role="session">Calculation Questions (tigrt0131m000)</GUIRef> session:</Paragraph>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="3">
               <TR no="1" isLast="false">
                  <TH rowspan="1" colspan="1">Question</TH>
                  <TH rowspan="1" colspan="1">Description</TH>
               </TR>
               <TR no="2" isLast="false">
                  <TD rowspan="1" colspan="1">LA</TD>
                  <TD rowspan="1" colspan="1">Specify the length of side A</TD>
               </TR>
               <TR no="3" isLast="true">
                  <TD rowspan="1" colspan="1">LC</TD>
                  <TD rowspan="1" colspan="1">Specify the length of side C</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph>The formula is recorded by using two calculation
		  lines:</Paragraph>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="3">
               <TR no="1" isLast="false">
                  <TH rowspan="1" colspan="1">Function</TH>
                  <TD rowspan="1" colspan="1"/>
                  <TH rowspan="1" colspan="1">Question</TH>
                  <TD rowspan="1" colspan="1"/>
                  <TH rowspan="1" colspan="1">Operator</TH>
                  <TH rowspan="1" colspan="1">Result</TH>
               </TR>
               <TR no="2" isLast="false">
                  <TD rowspan="1" colspan="1">asin</TD>
                  <TD rowspan="1" colspan="1">(</TD>
                  <TD rowspan="1" colspan="1">LA</TD>
                  <TD rowspan="1" colspan="1">)</TD>
                  <TD rowspan="1" colspan="1">/</TD>
                  <TD rowspan="1" colspan="1">.</TD>
               </TR>
               <TR no="3" isLast="true">
                  <TD rowspan="1" colspan="1">...</TD>
                  <TD rowspan="1" colspan="1">(</TD>
                  <TD rowspan="1" colspan="1">LB</TD>
                  <TD rowspan="1" colspan="1">)</TD>
                  <TD rowspan="1" colspan="1">=</TD>
                  <TD rowspan="1" colspan="1">Final result</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph> Note If
		  you start the <GUIRef href="/baanerp/ti/grt/tigrt0585m000" role="session">Calculations (translated) (tigrt0585m000)</GUIRef> session from the <Link href="/baanerp/tc/glossary/glossary#specific" role="glossary">appropriate</Link> menu, you see a
		  more user-friendly translation of the calculation.</Paragraph>
      </ExampleSection>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/ti/onlinemanual/000123" role="manual">Setting up a classification structure in GRT</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>