Question: Question 5 - [ text { ( 5 + } 5 text { pts ) } ] The last question was
Question
text text pts
The last question was about finding averages with MCU arithmetic. You were given the four numbers and were asked to find the average of these four numbers using addition and bit shifting. By now, you know how to find an approximate average of these numbers using MSP instructions only: add all values and perform two arithmetic right shifts to divide by
a If you are not happy with an approximate result for the average, is there a way of making sure that you get an exact result when computing the average of the given numbers? How?
Set up as a "select all correct answers" question in Carmen.
b Does your scheme in part a work correctly for any set of four numbers? If so explain why. If not, give a counterexample.
This will be text entry in Carmen. One sentence suffices. But be specific.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
