Difference between revisions of "Completing the model"

 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
1. Bring up object window of 'Miles per year'. Redefine it as edit table index by Car type and Year.
+
[[Category: Models]]
 +
 
 +
1. Bring up object window of <code>Miles per year</code>. Redefine it as edit table index by <code>Car type</code> and <code>Year</code>.
  
 
2. Enter the values as shown in screenshot below
 
2. Enter the values as shown in screenshot below
Line 5: Line 7:
 
[[Image:Chapter 5 completing miles.PNG]]
 
[[Image:Chapter 5 completing miles.PNG]]
  
3. Select 'Fuel cost', on the expr re-define it as an edit table indexed by Car type, and Year.
+
3. Select <code>Fuel cost</code>. Re-define it as an edit table indexed by <code>Car type</code>, and <code>Year</code>.
 +
 
 +
4. Enter the values in your edit table.
 +
 
 +
:[[Image:Chapter 5 completing fuel.PNG]]
 +
 
 +
5. '''Ctrl+R'''. {Your test result would be similar with the screenshot}
  
4. Ctrl+R. {Your test result would be similar with the screenshot}
+
6. Go back to main diagram.
  
[[Image:Chapter 5 completing fuel.PNG]]
+
7. Bring up result table of <code>Total cost</code>.
  
4. Go back to main diagram.
+
8. Compare your result table with the screenshot below.
  
5. Bring up result table of 'Total cost'.
+
:[[Image:Chapter 5 completing total cost.PNG]]
6. Compare your result table with the screenshot below.
 
  
[[Image:Chapter 5 completing total cost.PNG]]
+
==See Also==
 +
* [[Creating Arrays (Tables)]]

Latest revision as of 19:37, 18 March 2016


1. Bring up object window of Miles per year. Redefine it as edit table index by Car type and Year.

2. Enter the values as shown in screenshot below

Chapter 5 completing miles.PNG

3. Select Fuel cost. Re-define it as an edit table indexed by Car type, and Year.

4. Enter the values in your edit table.

Chapter 5 completing fuel.PNG

5. Ctrl+R. {Your test result would be similar with the screenshot}

6. Go back to main diagram.

7. Bring up result table of Total cost.

8. Compare your result table with the screenshot below.

Chapter 5 completing total cost.PNG

See Also

Comments


You are not allowed to post comments.