HW9 #2

# HW9 #2 - of tons together R = tons*percents display...

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

Sheet1 Page 1 %Engineering 6, Spring 2004, Problem 9.2 %Ryan Uy, 2509 %Section B05, Tues. 3-4 % assign values for percents percents = [1.6 2.4 5.7 0 0 % solve for percents in decimal form percents = percents./100 % tons for first 2 alloys = 850 tons = [850 850 725 725 725] % multiply matrices together (multiplies percents into tons and adds columns

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: % of tons together R = tons*percents % display commands disp('Total tons of raw material required to make specified amounts of the five alloys:') disp(' Cu Mg Zn Mn Si') disp(R) Sheet1 Page 2 copy table given into a matrix 0 1 0 0.5 0.5 0 1.4 4.5 0 0 4.4 1.5 0 0.6 0 0 0.3 0 7 0.7] tons for last 3 alloys = 725...
View Full Document

## This note was uploaded on 01/22/2011 for the course ENG 006 taught by Professor Lagerstrom during the Spring '06 term at UC Davis.

### Page1 / 2

HW9 #2 - of tons together R = tons*percents display...

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

View Full Document
Ask a homework question - tutors are online