Difference between revisions of "Completing the model"

 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:'''a.''' Bring up ‘object window’ of ‘Maintenance cost’node.  
+
[[Category: Models]]
:'''b.''' Type ‘$/year’ on ‘Units’ field
+
 
:'''c.''' In ‘Description’ field, type ‘Annual car maintenance costs such as oil changes’
+
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>.
:'''d.''' Enter ‘2400’ in the ‘Definition’ field
+
 
:'''e.''' Press ‘alt+enter’ to accept
+
2. Enter the values as shown in screenshot below
[[Image:Object Maintenance cost.jpg]]
+
 
:'''f.''' Bring up ‘object window’ of ‘Total cost’ node.
+
[[Image:Chapter 5 completing miles.PNG]]
:'''g.''' Type ‘$/year’ on ‘Units’ field.
+
 
:'''h.''' Type ‘Total annual cost of driving and maintaining a car’ in ‘Description’ field.
+
3. Select <code>Fuel cost</code>. Re-define it as an edit table indexed by <code>Car type</code>, and <code>Year</code>.
:'''i.''' On ‘Definition’ field, click ‘inputs’. Select ‘Fuel_cost’. Key in ‘+’ sign. Click ‘inputs’ again, this time select ‘Maintenance cost’
+
 
[[Image:Object Total Cost.jpg]]
+
4. Enter the values in your edit table.
:'''j.''' Click Result button to evaluate total cost.
+
 
[[Image:Result button.jpg]]
+
:[[Image:Chapter 5 completing fuel.PNG]]
:'''k.''' The Result window should come up and it’s value should be '''2971'''
+
 
[[Image:Mid button total cost.jpg]]
+
5. '''Ctrl+R'''. {Your test result would be similar with the screenshot}
:'''k.''' Click ‘mid’ button, select ‘probability density’
+
 
[[Image:Probability Density.jpg]]
+
6. Go back to main diagram.
:'''l.''' You should have a result table.  
+
 
[[Image:Result total cost.jpg]]
+
7. Bring up result table of <code>Total cost</code>.
:'''m.''' Click on the graph button. You should have a graph result that looks like the one below.
+
 
[[Image:Graph result total cost.jpg]]
+
8. 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.