Note: after a few minutes you may get a pop-up box indicating the Excel cannot automatically save your spreadsheet. You can ignore this message.
This Excel spreadsheet solves the model of the projectile problem (calculate the maximum height of the projectile) discussed in Chapter 1 of your text, and in lecture (see slides from lecture)
The spreadsheet has cells for:
Only the maximum height is displayed (F11).
The variables t and h get their initial values from A5 and B5.
These cells are using a conditional formula ("IF" statement) to display nothing (indicated by the empty string "") unless h_new (D7) is smaller than the previous value (h, B7) - i.e., unless the height decreased during that step. We will talk about conditionals and "IF" statements later.
Start-->Programs-->Mathematics Software-->MATLAB-->R2011a-->MATLAB R2011a (the bottom of the three links. DO NOT click on activate or deactivate MATLAB). If you have not used MATLAB before, familiarize yourself with the various areas of the screen:
Execute the program (Highlight it in the Current Folder window and drag it to the command window. Or you can click the green arrow in the toolbar of the editor window). Note: you will get an error. Your TA will explain the problem and tell you how to fix it. Note the answer when the program executes.