homework_3 (1)

homework_3 (1) - Introduction to Computers and Engineering...

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

View Full Document Right Arrow Icon
Introduction to Computers and Engineering Problem Solving Spring 2005 Problem Set 3: Tank design Due: 12 noon, Session 11 1. Problem statement You are designing a series of cylindrical tanks to hold hazardous waste. You must estimate the costs and volumes of the tanks, and keep other associated data such as their name or ID. You will be writing a Tank class in Java to implement each tank as an object with member data that describe its state or attributes, and member methods that describe its behaviors. The tanks consist of a cylinder with plates welded on each end (Figure 1). L R Thickness t Plate, also thickness t Tank dimensions The tank volume is V= π R 2 L (1) The tank cost is C= c 1 m + c 2 w (2) c where m= mass of steel used in tank (kg) w= length of welds needed to fabricate tank (m) c 1 = cost of steel, per kg 2 = cost of welding, per m 1.00 Spring 2005 1/4 Problem Set 3
Background image of page 1

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

View Full DocumentRight Arrow Icon
The amount of material in the tank, m, is given by: m= ρ (V 1 + V 2 ) (3) V 1 = L π [ (R+t) 2 - R 2 ] (4) V 2 = 2 π (R+t) 2 t (5) where V 1 = volume of material in the cylinder walls (m 3 ) V 2 = volume of material in the end plates (m 3 ) ρ = density of steel (kg/ m 3 ) t= thickness of cylinder walls (m) The length of the weld to attach the end plates to the cylinders is the sum of the cylinders’ inside
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

homework_3 (1) - Introduction to Computers and Engineering...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online