HW 6 - Homework#6 ENED 1091 HW#6 Due at noon Problem 1 The...

This preview shows page 1 - 4 out of 9 pages.

Homework #6ENED 1091 HW#6 Due March 17, 2016 at noonProblem 1: The figure below shows measurements of the flow rate of fluid into a tank taken every 30 seconds.The volume of fluid in the tank is simply the initial volume plus the integral of the flow rate (assuming no outflow from the tank):(a)Assume the initial volume is 0 gallons. Using the data points given in the graph, estimate thevolume at 120 seconds using the trapezoidal rule.
 
1
Homework #6
(b) Repeat part (a) using Simpson’s Rule. Work:integ = 0;t = [0 30 60 90 120 150 180];flow_rate = [0 0.5 0.7 0.3 0.5 0.5 0.3];for c=1:2:length(t)/2    integ = integ+((flow_rate(c)+(4*flow_rate(c+1))+flow_rate(c+2))*(t(c+2)-t(c))/6);endfprintf('The volume is: %i \n',integ)
(c)Assume the initial volume is 400 gallons. Using the given data points, estimate the volume at 180 seconds using the trapezoidal rule.
 
(d) Repeat part (c), again assuming an initial volume of 400 gallons, using Simpson’s Rule.
Problem 2: Consider liquid flowing into a cylindrical tank as shown in the diagram below.2
Liquid LevelHeight of Tank: 10 ft.Radius of Tank: 2 ft.Homework #6(a)Calculate the volume of the tank in cubic ft.Work: 2^2*pi*10 = 125.66 Answer: 125.66 ft^3(b) Calculate the capacity (or volume) in gallonsWork: 125.66*7.47 = 940.03Answer: 940.03 gallons(c)Assuming 400 gallons of liquid in the tank, calculate the liquid level in ft.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture