educational course/tutorialoutlet.com educational course/tutorialoutlet.com | Page 124

www. tutorialoutlet. com
To calculate the value of Pi FOR MORE CLASSES VISIT
www. tutorialoutlet. com

www. tutorialoutlet. com

you have been called in to consult on a new network design for CNT Books. The requirements of this design are summarized as follows: The building has three floors. there are 300 computer and 10 servers. Users must be grouped according to the projects. what features would you look for on the switches you purchase for this design, Explain why you would want each feature. Do you need to include any other devices in this design?---------------------------------------------------------------------------------------

To calculate the value of Pi FOR MORE CLASSES VISIT

www. tutorialoutlet. com

2. 1. To calculate the value of Pi, we can use the graph of a circle and find the area under the graph.
3. 2. Riemann sum( https:// en. wikipedia. org / wiki / Riemann _ sum) is an effective method for finding the area under the graph
4. 3. Write a PThreads Program that will calculate Pi 1.-It should run 8 threads 2.-Create a global variable for the total sum 3.-Use a Mutex variable to lock the critical section where you sum the results 5. 4. The program should output the sum at each thread and the parent will output the total sum 6. 5. Copy this version and remove the Mutex variable 1.-run both versions and compare the output
7. Need 1. 1. Source Code 2. 2. Screenshots of output of both programs Some sample code for PThreads can be found here. https:// grid. cs. gsu. edu /~ cfrederick / csc4320 / examples. php---------------------------------------------------------------------------------------