{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CHE 210 HW1

# CHE 210 HW1 - COLLEGE OF ENGINEERING THE UNIVERSITY OF...

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

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.

Unformatted text preview: COLLEGE OF ENGINEERING THE UNIVERSITY OF TEXAS AT AUSTIN Department of Chemical Engineering•Austin, Texas 78712-1062•(512)471-5238•FAX(512)471-7060 ChE 210 Homework 1 Due: Wednesday, September 15 Simple Scripts In class we are examining how to write simple MATLAB scripts to solve problems. We’ve seen the very basic use of the input and fprintf functions to handle input and output and solved problems in a simple sequence of assignment statements. You are to write working MATLAB scripts (using m-files) to solve these problems and run these scripts for the cases listed in each problem. 1. The equation that is used to determine the volume of a hollow sphere is ( 29 3 3 4 3 o i V r r π =- Write a script that asks the user for the outer, r o , and inner, r i radius and then computes the volume. The script should then print all quantities (r o , r i , and V) on separate lines with each quantity identified by text. Maybe something like the following: Outer radius: 5.0 Inner radius : 4.0 4....
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

CHE 210 HW1 - COLLEGE OF ENGINEERING THE UNIVERSITY OF...

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

View Full Document
Ask a homework question - tutors are online