Docsity

Practice Assignment 1 - Data Structures Using Java | CS 240, Assignments of Data Structures and Algorithms

Toggle sidebar
bg1
Assignment 1
Data Structure Using Java
CS 240 (Section 1)
Due date: February 23, 2005
In this assignment you are going to design an object which would compute the area
within a closed curve using a Monte Carlo simulation technique that was explained in the
class.
You’re going to test your result on a close surface within a circle
16yx
22
, the
positive x-axis and the line
xy
. You are going to consider only the closed area
appearing in the first segment marked oab as shown in the diagram below.
The circle is centered at (0.0, 0.0) point and has a radius of 2 units long. The line
xy
passes through the center of the circle.
a
bo

Partial preview of the text

Download Practice Assignment 1 - Data Structures Using Java | CS 240 and more Assignments Data Structures and Algorithms in PDF only on Docsity!

Assignment 1 Data Structure Using Java CS 240 (Section 1) Due date: February 23, 2005 In this assignment you are going to design an object which would compute the area within a closed curve using a Monte Carlo simulation technique that was explained in the class. You’re going to test your result on a close surface within a circle x^ y^16 (^2)  (^2)  , the positive x-axis and the line y^ ^ x. You are going to consider only the closed area appearing in the first segment marked oab as shown in the diagram below. The circle is centered at (0.0, 0.0) point and has a radius of 2 units long. The line y^  x passes through the center of the circle. a o b