
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This assignment is by Badrinath Parveen at Alagappa University for Computational Physics course. Its main points are: Monte, Carlo, Stochastic, Methods, Area, Graph, Error, Normal, Distribution, Plot
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

M.Phil Physics Course: Computational Physics (Stochastic Methods) Home Work # 1
Due date: One Week after this distribution in class.
Question 1 Using Monte Carlo method, estimate the shaded area as shown in figure. (a) First find the value of area for different number of darts thrown (N). Then draw a graph for the area versus N ( Take 1000 ≤ N ≤ 10 6 in steps ). (b) Then find out the exact value of the area and find out error as exact – calculated value. Plot the error versus N. Comment on results.
Question 2 The Normal distribution is given as p(x) = Aexp(-x 2 /2); A is given as 1/√ 2 π. Using Monte Carlo method, estimate the following: (a) find the value of area under the curve for 0 ≤ x ≤ 1 for different number of darts thrown (N). Then draw a graph for the area versus N. (b) Then find out the exact value of the area and find out error as exact – calculated value. Plot the error versus N. Comment on results.
Question 3 Using Monte Carlo method, estimate the area bounded by a parabola y = x 2 and a straight line y = x + 2. (c) find the value of area under the curve for different number of darts thrown (N). Then draw a graph for the area versus N. (d) Then find out the exact value of the area and find out error as exact – calculated value. Plot the error versus N. Comment on results.
Question 4 A cylinder has a diameter of 2 units and height of 2 units. Using Monte Carlo method, estimate the following: (e) find the value of volume for different number of darts thrown (N). Then draw a graph for the area versus N. (f) Then find out the exact value of the area and find out error as exact – calculated value. Plot the error versus N. Comment on results.
+1 y = x y = -x