Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The procedure for creating an array containing the outcomes of an equation is as follows:

  1. Define the equation that you want to use.
  2. Determine the values that you want to use as input to the equation.
  3. Create an array with the same size as the number of input values.
  4. Use a loop to iterate through the input values and apply the equation to each value.
  5. Store the result of the equation for each input value in the corresponding element of the array.