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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
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 EngineeringAustin, Texas 78712-1062(512)471-5238FAX(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. Weve 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

This note was uploaded on 09/26/2010 for the course CHE 210 taught by Professor Swinnea during the Fall '08 term at University of Texas at Austin.

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 Right Arrow Icon
Ask a homework question - tutors are online