>> quad_batch +---------------------------------------------------------------------------+ | This system is for authorized users only. Users accessing this system | | consent to the monitoring, recording and/or disclosure of all activity | | while using this system. | | | | Usage of this system is subject to the terms of the Virginia Tech | | Acceptable Use Guidelines (http://www.policies.vt.edu/acceptableuse.php) | +---------------------------------------------------------------------------+ 4004.admin01 QUAD_SPMD Demonstrate the use of MATLAB's SPMD command to carry out a parallel computation. Lab 1: Lab 1 works on [0.000000,0.142857]. Lab 6: Lab 6 works on [0.714286,0.857143]. Lab 2: Lab 2 works on [0.142857,0.285714]. Lab 3: Lab 3 works on [0.285714,0.428571]. Lab 4: Lab 4 works on [0.428571,0.571429]. Lab 5: Lab 5 works on [0.571429,0.714286]. Lab 7: Lab 7 works on [0.857143,1.000000]. Lab 1: Lab 1 computed approximation 0.567588 Lab 2: Lab 2 computed approximation 0.545610 Lab 3: Lab 3 computed approximation 0.506369 Lab 4: Lab 4 computed approximation 0.457017 Lab 5: Lab 5 computed approximation 0.404413 Lab 6: Lab 6 computed approximation 0.353507 Lab 7: Lab 7 computed approximation 0.307088 Result of quadrature calculation: Estimate QUAD = 3.1415926535557754 Exact value = 3.1415926535897931 Error = 3.401768e-11 QUAD_SPMD Normal end of execution. >> results results = value: 3.1416 >>