the value of pi can be calculated in a variety of ways. one such method is as follows: 1) inscribe a circle in a square. 2) randomly generate points in the square (keeping track of n, the total number of points generated), some of which will be within the circle, some of which will be outside of the circle. csci 341 fall 2022 lab 6 3) determine the number of points in the square that are also in the circle (hint: a point within the circle will be