Commit 939034e2 authored by Erik Strand's avatar Erik Strand

Add missing .question tags

parent 432fcb27
......@@ -4,6 +4,7 @@ title: Problem Set 7 (Function Fitting)
## 1
{:.question}
Generate 100 points $$x$$ uniformly distributed between 0 and 1, and let $$y = 2 + 3x + \zeta$$,
where $$\zeta$$ is a Gaussian random variable with a standard deviation of 0.5. Use an SVD to fit
$$y = a + bx$$ to this data set, finding $$a$$ and $$b$$. Evaluate the errors in $$a$$ and $$b$$
......@@ -17,6 +18,7 @@ found $$a = 2.10697$$ and $$b = 2.91616$$.
## 2
{:.question}
Generate 100 points $$x$$ uniformly distributed between 0 and 1, and let $$y = \sin(2 + 3x) +
\zeta$$, where $$\zeta$$ is a Gaussian random variable with a standard deviation of 0.1. Write a
Levenberg-Marquardt routine to fit $$y = \sin(a + bx)$$ to this data set starting from $$a = b = 1$$
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment