Page 1 of 1

Part 1: Distributed Memory Systems: Q2: Write an MPI program that calculates the integration of the following function ​

Posted: Sat May 14, 2022 2:51 pm
by answerhappygod
Part 1: Distributed Memory Systems:
Q2:
Write an MPI program that calculates the integration of the following function
​F(x) = 3x2 - 3 x + 3
For the interval 0 to 10. Each processor will be assigned part of the interval to calculate its integration. Each processor will reduce the interval size progressively until the difference between the successive area of the interval is smaller than a certain threshold (0.001).
Use trapezoidal method to calculate the integration. Time your execution for different number of processors (2-8).
Report your findings.