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.
Part 1: Distributed Memory Systems: Q2: Write an MPI program that calculates the integration of the following function
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Part 1: Distributed Memory Systems: Q2: Write an MPI program that calculates the integration of the following function
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!