Instructions
  • Setup Parameters:
    • Number of Processes: Sets how many processes (simulated processors) will divide and compute the trapezoidal areas.
    • Number of Subintervals: Set the precision of the computation, i.e., the number of intervals the function will be divided into, which impacts the accuracy of π computation.

...

  • Initialize the Experiment:
    • After setting the desired number of processes and subintervals, click Start Calculation to begin.
    • The animation will display trapezoids being computed by each process within a visual representation of the integral, displayed on the canvas. Observe the different trapezoid areas calculated by each process as they appear sequentially.
  • Monitor Process Controls: In the Process Controls section, adjust the speed of each process using the slider to simulate processors running at different speeds. Observe how this affects the overall computation time in the Results section.
  • Analyze Results: As the computation progresses, the Results section displays:
    • Computed π: The approximation of π as calculated by the processes.
    • Wall-clock Time: The real time taken for the computation, which reflects the overall efficiency when using multiple processes.
    • Process Time: The total computation time for all processes combined, used for calculating efficiency.
  • Reset if Needed: To rerun the experiment with different parameters, click the "Reset" button. This clears previous results and resets the canvas.

...

For more details on the experiment, please refer to Procedure. The posttest quiz will evaluate your observations and understanding of the experiment. Please take note of the posttest questions to ensure you capture the relevant details during the experiment.

Processes: 2

Subintervals: 50

Results
Computed π: 0
Wall-clock time: 0 s
Process time: 0 s