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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post by answerhappygod »

Part 1: Distributed Memory Systems:
Q1:
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 Standard rectangular decomposition of the area to calculate the integration. Time your execution for different number of processors (2-8).
Report your findings.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply