# Homework 1, Some Computations.

### Short Description:

Perform some computations related to computer architecture.

### Goals

When you finish this homework, you should have:
• Done something

### Formal Description

Please solve the following problems. See the notes section below for further requirements.
1. Demonstrate the Factor-Label method by converting 1.23Mib to kb.
2. Europe and North America are drifting apart from each other at a rate of 0.438 cm every year. How many years are required for the continents to drift 1.00 meter apart?
3. The Raspberry Pi 2 had a 900MHz clock. If the CPI was 1, how long did it take to execute a single instruction?
4. If a clock has a period of 1.2 μs, what is the frequency of this clock?
5. The original Raspberry Pi had a 700MHz clock. Assume that this processor had a CPI of 1.3 (I made this up). Assume a program takes 900 million instructions to execute. How long would it take to run this program? Give the answer in seconds, rounded to the nearest 100th.
6. Assume the same conditions from the previous problem except for processor speed. How long would it take to run this program on a Raspberry Pi 2?
7. Please do question 1.4 page 60.
8. Please do question 1.5 parts a and b page 60.

### Notes

• To receive credit, you must show all of your work, including formula derivation.
• To receive credit, your work must be typed. This includes using some form of mathematics formatting software (equation editor in word/libre office, tex/latex, or something else)
• List all conversion factors used in your solution.
• Unless otherwise instructed, give your answer in a "reasonable" unit. IE if your answer is x, 1 ≤ x ≤ 1000.
• You may use a spreadsheet for computations, but
• Label all cells.
• Include a screenshot of the solution in normal and computation mode in your document.
• Include the spreadsheet in your final submission.
• You may also use other software, (ie jupyter notebooks, python, ...) but be sure to follow the above guidance (shot of solution, shot of code, include source code in submission)

### Required Files

A document containing the answers and possibly a spreadsheet or other computation file containing the numeric computations.

### Submission

Submit the assignment to the D2L folder homework 1 by the due date.