Difference between revisions of "Creating another array using the same index"

 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
1. Go the main diagram of Car cost model.
+
[[Category: Arrays]]
  
2. Select 'Fuel cost Module'.
+
*Close result and [[object window]] of <code>Maintenance cost</code>
 +
*Double click on <code>Fuel cost Module</code> to open the diagram inside
  
 
[[Image:Creating another array fuel cost module.jpg]]
 
[[Image:Creating another array fuel cost module.jpg]]
  
3. Open the key icon.
+
*Double click on <code>Miles per gallon</code> to bring up it's [[object window]]
 +
<small>Note that its definition is already set to <code>Uniform (20, 30)</code></small>
 +
*Change node's definition from <code>Uniform (20, 30)</code> to <code>Table</code>
  
4. Select 'Miles per gallon'.
+
:[[Image:Table.jpg]]
  
[[Image:Creating another array Miles per gallon.jpg]]
+
'''Expected: Question box would appear'''
  
5. Open drop down options, select 'Definition'.
+
*Select '''OK''' button
 +
<small>This opens to Indexes window</small>
 +
*Double click <code>Car type</code>
 +
*Click '''OK''' button
  
6. Open drop down menu, this time select 'Distribution'.
+
:[[Image:Edit table car type.jpg]]
{Question box would appear}
 
  
7. Press 'OK' button.
+
<small>Edit table of <code>Miles per gallon</code> appears</small>
  
8. Indexes window would appear.
+
*Select the first cell, type <code>Uniform (25, 35)</code>
{Car type would be on 'Selected Indexes' pane, if not; select it}
+
*Arrow down
 +
*On the second cell type <code>Uniform(15, 25)</code>
 +
*Press ''Tab'' key
 +
*Press result button
  
9. Press 'OK'.
+
'''Expected: Result table of <code>Miles per gallon</code> with cell values 30, 20 will be shown'''
  
[[Image:Table.jpg]]
+
==See Also==
 
+
* [[Creating Arrays (Tables)]]
10. On the edit table, select the second cell and type 'Uniform(15,25)
 
 
 
11. Press the check button to accept the change.
 

Latest revision as of 19:29, 18 March 2016


  • Close result and object window of Maintenance cost
  • Double click on Fuel cost Module to open the diagram inside

Creating another array fuel cost module.jpg

Note that its definition is already set to Uniform (20, 30)

  • Change node's definition from Uniform (20, 30) to Table
Table.jpg

Expected: Question box would appear

  • Select OK button

This opens to Indexes window

  • Double click Car type
  • Click OK button
Edit table car type.jpg

Edit table of Miles per gallon appears

  • Select the first cell, type Uniform (25, 35)
  • Arrow down
  • On the second cell type Uniform(15, 25)
  • Press Tab key
  • Press result button

Expected: Result table of Miles per gallon with cell values 30, 20 will be shown

See Also

Comments


You are not allowed to post comments.