# Problem Set #4

- Look at the picture of the "analog computer" in the
slides
on Module 8.3.
**Use the (***x*, *y*) approximate values you see
at the positions of the
nails on the plywood board to
solve for *m* and *b* via the linear least squares method.
You could use Excel (or a calculator) to run the formula from the slides, but
fortunately Excel 2007 provides a much easier method:

- Enter the X data in one column and the Y data in the adjancent column.
- Highlight the two columns
- Do
**Insert/Scatter**, and select the scatter option with the points only (first
option)
- When the plot pops up, right-click on on of the points and select
**Add Trendline**
- In the trendline dialog, check the Display Equation on chart option at
bottom.

Check your model against what you see in the image, and include your results
(the plot if possible) in your writeup.

- Do
**Exercise 5** from Module 9.2 on p. 364.

- Do
**Exercise 1** from Module 9.3 on p. 372 (instructions at bottom of
previous page). Make sure to
compute the area first using Monte Carlo simulation; then compute the area.
Recall that you can
compute exact integrals using the
Wolfram Mathematica Online Integrator.