Individual Homework Assignment 1#
Overview
Questions:
What is the first individual homework assignment?
Objectives:
Perform another Monte Carlo method to calculate the value of an integral.
Individual Homework Assignment#
This should be completed by each group member individually. Individual assignments are due one week after being assigned. The due date for this assignment is due in one week.
Write a Python script that estimates the value of $\(\pi\)$ by evaluating the following integral using Monte Carlo integration:
\[ \int_{0}^{1} \frac{1}{1 + x^2} dx \]
This integral will evaluate to \(\frac{\pi}{4} \).
Click this link to start the assignment.