EGR115 _homework_ 1

# EGR115 _homework_ 1 - Saved in m-file problem1_1.m Saved in...

This preview shows pages 1–2. Sign up to view the full content.

Saved in m-file “problem1_1.m” “type” lists the file nly the filename “problem1_1” executes (runs) the file Saved in m-file “problem1_1.m” “type” lists the file MATLAB output to screen EGR 115 HOMEWORK #1 Turn in this homework in the proper format (see course syllabus) at the start of class on as specified in the Class Syllabus . Late assignments will not be accepted unless approved by your Instructor. . Use the format defined in the class Syllabus. The format of your submission will be considered when determining the homework grade. Use MATLAB in all problems and be sure to use suitable MATLAB variable names. 1. Compute the volume of a box (in cu in) whose dimensions are 5 in by 4 in by 6 in. 2. Compute the length of the diagonal from one corner to the far corner of the above box (in centimeters). Use 2.54 cm/in. 3. The power in an electrical circuit (in watts) is the product of voltage (in volts) and current (in amps). If the voltage is (1 + 2i) volts and the current is (3 + 4i) amps,

This preview has intentionally blurred sections. Sign up to view the full version.

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

{[ snackBarMessage ]}

### Page1 / 2

EGR115 _homework_ 1 - Saved in m-file problem1_1.m Saved in...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online