# C programming

Some techniques for computing the mathematical constant e=2.71828... accurately need infinite series. An infinite series is the sum of the terms of an infinite sequence. As we cannot find the sum of an infinite series by a computer, we approximate this sum by creating and summing as much element as we can. The speed of this process can be increased using a parallel computing approach. Approximate the e using Maclaurin Series given as:

Please approximate e using Maclaurin Series using any of the libraries that you know (MPI, PTHREAD or OPENMP) (I have these files)Attach your code, and snapshots of all the results to this exam paper. Try at different numbers of processors and numbers of samples, and compare the results.

[login to view URL] way of finding an approximation to π is to use numerical integration such as:

ease approximate π using the integral given above as a sum of rectangles and using any of the libraries that you know (MPI, PTHREAD or OPENMP) Attach your code, and snapshots of all the results to this exam paper. Try at different numbers of processors and numbers of samples, and compare the results. Attach your code, and snapshots of all the results to this exam paper. Try at different numbers of processors and numbers of samples, and compare the results.

Suppose we toss darts randomly at a square dartboard, as seen in the Figure, and whose sides are 1 foot in length. Suppose also that there’s a quarter circle inscribed in the square dartboard. The radius of the circle is 1 foot, and its area is π/4 square feet. If the points that are hit by the darts are uniformly distributed (and we always hit the square), then the number of darts that hit inside the circle should approximately satisfy the equation:

Skills: C Programming

( 8 reviews ) Hyderabad, India

Project ID: #19385743

## Awarded to:

marianakuzmich

Hi, I am C++ expert and have rich experience of C++ programming. I have done many job as same as your requirement before. I checked your requirement. I'm sure that I can easily do this project. I will do my best fo More

₹4000 INR in 4 days
(18 Reviews)
4.6

## 3 freelancers are bidding on average ₹6148 for this job

kipdev13

Hi, Sir. I read your requirements carefully. I am very interested in your work. I am expert in C++. I have 9 years of experience in C++. I love C++. If you hire me, i'll do my best for you and I'll finish in time More

₹3333 INR in 3 days
(34 Reviews)
5.1
garethbill

Dear Sir.C Expert I've read your job very carefully and understand what you want. I'm a Senior developer with 10+ years experience. I've special skills in Web Developing and Mobile Any of your requirements are wel More

₹11111 INR in 3 days
(0 Reviews)
0.0