In the earlier parts of this lab, you confirmed your skills in C++ and in Matlab.

In this part I want you to put those skills to work to carry out a very simple “estimation” process using C++.

Step 1: Get your hands on the survey measurements you took

Earlier in the course everyone in our class was asked to measure the width of our lab room with a tape measure. As you will see, they are surprisingly instructive. Get your hands on those measurements.

Step 2: Create a new C++ console application

Use the skills you learned in Part 1 of this lab to build yourself a new C++ project that uses the Eigen template library.

Step 3: Figure out how you’re going to “estimate” the width of the room

I’m not looking for any advanced estimation techniques here. Rather, use what you know from your earlier geomatics classes, your basic math skills, and some surveying logic to decide how to come up with the best estimate possible of the width of the room.

Show us what you know.

I know you could do the math part of this with a calculator (or even by hand, really), but I don’t want that. I want you to show me that you can do it using C++. Remember that the goal of this lab is to help you fill your tool belt so that it’s ready when we get to solving more complex problems.

Just as in Part 1:

• You don’t need to read the measurements in from a file. You can just declare a vector and assign the values.
• You don’t need to create any functions or structures, or do any object oriented coding.
• I’d like you to properly document and organize your code.

Step 5: Compute the residuals too

With your estimate in hand from the above steps, I want you to calculate and output the residuals too.

When you’ve completely finished your application you need to submit it.