Parallel Algorithm for Calculating the Integration
Abstract
Analysis and implementation of a parallel algorithm to calculate the integration of the function y=1/e to the x with a specified time interval. Design and implementation using C/C++ is based on the sharing of memory among "THREADS." The "Pthread" library has been used. Use of the output file to print information and the purpose of using the POSIX library It is to implement the program faster than the one nucleus, when it involves a set of processors (THREADS) where each thread is considered to be a processor. This accelerates the solution of the complex problems in the system that need a large memory, where time sharing is used by Mutex. Lock and unlock through research prior to the use of parallel programs and its memory sharing technique to solve complex and large issues that require a long time to be implemented. Using parallel programs, each thread carries a particular issue and solves it, and the results are combined by reducing the time execution and increasing the speed of the system speedup according to the speed equation S=T1/Tn
References
- - Ippolito, G.Home, YoLinux. Available at: http://www.yolinux.com/TUTORIALS/#google_vignette (Accessed: 17 August 2024).
- - Mathematics, (2023), Midpoint rule vs Trapezoidal rule accuracy, Mathematics Stack Exchange. Available at: https://math.stackexchange.com/questions/4646783/midpoint-rule-vs-trapezoidal-rule-accuracy (Accessed: 17 August 2024).
- - Buttlar, D., Farrell, J.P. and Nichols, B. Pthreads programming. Sebastopol, OReilly Media,2013.
- -David.B, Programming with POSIX Threads, Addison-Wesley Professional,1997.
- - Github.io. (2016).RCS Workshop 3, Introduction to Parallel Computing using MATLAB 5Limitations of Parallel Speedup. [online] Available at: https://researchcomputingservices.github.io/parallel-computing/02-speedup-limitations/#:~:text=One%20good%20way%20to%20measure [Accessed 17 Aug. 2024]..
- -Hesham El-Rewini , Advanced Computer Architecture and Parallel Processing, Wiley-Interscience,2008.
- -Maplesoft.com. (2024).Newton-Cotes Formula - Maple Help. [online] Available at: https://www.maplesoft.com/support/help/maple/view.aspx?path=Student%2FCalculus1%2FNewtonCotes [Accessed 17 Aug. 2024].
- -Victor Alessandrini, Shared Memory Application Programming, Morgan Kaufmann,2015.
- -Michael L. Scott , Shared-Memory Synchronization, Springer,2013
- -KHURMA, M., Trapezoidal rule - formula: Trapezoidal formula, Cuemath. Available at: https://www.cuemath.com/trapezoidal-rule-formula/ (Accessed: 17 August 2024).