OD – HW 1 Solution

If you haven’t already signed up; please submit your email to receive notifications and updates about the course.

Solution to Homework 1

Problem 1 provides the solution for us. We are learning how to use iterative methods to estimate the state vector. In this case we will use the Newton-Raphson root-finding method to solve for the problem. An Excel sheet is provided that walks through the first three iterations as an illustration. C++ code is provided on GitHub that will solve for the final solution and show the number of iterations.

Homework Solution 1

Excel – Visual Iterative Solution

C++ Solution

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s