D problem id calculate the diameter of the earth

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: lem I.D. Calculate the diameter of the earth Assumptions Engineering Education Data Collection Given Information 2 Towers 590 km apart Second Tower 15 m with a 1.9 m shadow Knowledge needed Engineering Education Algorithm Development Engineering Education solution) Test hypothesis (solve solution) Open Open MatLab Solve the problem via sequentially entered lines of code at the command line. Engineering Education Next we will address a different problem and: 1. 2. 3. 4. 5. 6. Create a script file (Matlab program) Practice generating formatted output Learn/practice how to ask the user to input values Add a decision structure to a program Correct errors in a program (logic and syntax) Look briefly at simple repetition structures Engineering Education script Open a new a script m-file 1. Select the new file icon on the toolbar or file>new>script file from the menu You can dock the editor in the main MATLAB window if you wish Engineering Education Problem: How can we calculate the cost of taking a ‘road trip’? Engineeri...
View Full Document

This note was uploaded on 01/28/2014 for the course ENGE 1114 taught by Professor Twknott during the Spring '06 term at Virginia Tech.

Ask a homework question - tutors are online