This is the Matlab practice so needs Matlab code
2. Numerical Integration
Consider an industrial tank in the shape of an inverted cone. The
radius of the tank at the top rim is 3 m, and the total height of
the tank is 4 m.
The volume of the tank in m3 is given by: V = (1/3) R2 H.
The volume of liquid in the tank when filled to a height h measured
from the bottom vertex is:
V = (1/3)pi* (R/H)2 h3
The Lab will consist of a single script, divided in two parts. In
each part, the filling schedule will be different. A filling
schedule is a function that provides flow rate, in m3 / h, as a
function of time.
In Part I, your script will calculate the level of the liquid, h,
after a two-hour filling schedule is completed. The filling
schedule for Part I, Schedule I, is as follows:
During the first 30 minutes, the flow rate will increase linearly
from zero to 10 m3 / h
During the following 60 minutes, the flow rate will stay constant
at 10 m3 / h
During the last 30 minutes, the flow rate will decrease linearly
from 10 m3 / h down to zero
In Part II, your script will calculate the time it takes to
completely fill the tank with a different filling schedule,
Schedule II, given by the equation:
Flow Rate (m3 / h) = 10 (1 - e-2t ) m3 / h
where t is time in hours, and the exponent, 2t, is
dimensionless
Part I:
The volume of liquid calculated in Part I, from which the height of
the liquid in the tank will be calculated, should be obtained by
using the built-in function to integrate polynomials, polyint(
)
Part I generates a single output to the console: "The height of the
liquid after Schedule I is ____ meters."
Part II:
In Part II, your script first defines Schedule II as an anonymous
function
In Part II your script calculates the volume at a given time by
integrating Schedule II using the built-in function quad( )
For Option A, it is acceptable to use a loop to find the time at
which the tank gets completely full. If you will use an iterative
approach, check the tank volume in 0.01 hour steps
Part II generates a single output to the console: "The time
required to fill up the tank with Schedule II is ____ hours."
In: Mechanical Engineering
A soft-drink bottler purchases nonreturnable glass bottles from a supplier. The lower specification on bursting strength in the bottles is 225 psi. The bottler wishes to use variables sampling to sentence the lots and has decided to use an AQL of 1.5%. Find an appropriate set of normal and tightened sampling plans from the standard. Suppose that a lot is submitted, and the sample results yield ???= 250 and s = 10. Determine the disposition of the lot using Procedure The lot size is N = 150,000.
In: Mechanical Engineering
How would you put the alloy HR15 in the heat treatment solution?
In: Mechanical Engineering
A 70% Cu–30% Zn brass wire is cold-drawn 15 percent to a diameter of 4.53 mm. The wire is then further cold-drawn to a diameter of 3.98 mm. (a) Calculate the total percent cold work that the wire undergoes. (b) Estimate the wire’s tensile and yield strengths and elongation from Fig. 6.44.
In: Mechanical Engineering
Assume that you are appointed by a university as the technical manager of the University's Formula-SAE-A Race Car project and you are required to:
a) Identify the relationships between operational objectives and functional requirements for the case of a new Formula-SAE-A Race Car (F-SAE-A) in 2018. Cite three operational objectives and the functional requirements that are needed to realise these objectives via using qualitative measures only; and
b) What is meant by “MOE”? For the effectiveness analysis of the F-SAE-A, list what you think would be the 10 most important characteristics that should be exercised and measured in the analysis. For one of the MOE of the F-SAE-A, describe an operational scenario for obtaining a measure of its effectiveness.
In: Mechanical Engineering
In: Mechanical Engineering
The 12 cylinder 2 stroke cycle compression ignition engine of an oil tanker is operating at 150 rpm The brake mean effective pressure of the engine is 400 kPa and the excess air coefficient is 2. The crankshaft of the engine is directly coupled to a propeller and a torque of 1500 kN-m is applied. The engine operates on light fuel oil which can be approximated as C12H26. If the brake specific fuel consumption is 200 g/hp-h what is the volumetric efficiency of the engine ?
In: Mechanical Engineering
Boxes use to ship the components, must have square bases in order or attached square labels to each end. The labels may have standard hazard warnings or handling information. The labels, however, can be magnified or reduced in size, but they must remain square, presently the boxes a base of 10cm square. To pack enough components into a box, the boxes have a capacity of 4000 cm3. The boxes are made of a special fibre-glass reinforced tough plastic to protect the components and the box manufacturer charges £2.50 for an area of 500 cm2.
As a cost cutting exercise calculate a box with a square base and a capacity of 4000 cm3 which has the minimum possible area. If 10,000 boxes are use per year by the component manufacturer, how much money will be saved in a year by using the new boxes with the minimum area?
Answer = £10,000
In: Mechanical Engineering
Steam is contained in a 4-liter volume at a pressure of 1.5 MPa and a temperature of 200°C. If the pressure is held constant by expanding the volume while 40 kJ of heat is added, find the final temperature. use enthalpy.
In: Mechanical Engineering
Describe How hot wire anemometer is calibrated?
In: Mechanical Engineering
a gas turbine power plant operating on brayton cycle with a fuel compressor isentropic efficiency of 80 and turbine isentropic efficiency of 85 percent and it has a pressure ratio of rp. The gas temperature is 300K at a compressor inlet and 1300K at the turbine inlet. Heat is received from a source of 1700K. Utilizing the air-standard assumption (Hot Assumption) and for pressure ratio rp which varies from 3 to 10, determine:
a) The gas temperature at the exits of the compressor and the turbine.
b) the back work ratio
c) the thermal efficiency
d) the second law efficiency
e) exergy destruction for each component
plot your results as functions of gas cycle pressure ratio, and discuss the results.
Please solve this using EES software
In: Mechanical Engineering
Considering the three classes of response of materials to changes in temperature, explain why it is a sudden change rather than an accelerating or gradual change that is important for the operation of a repeatable thermal cutout switch.
In: Mechanical Engineering
(a) Dry saturated steam at a temperature of 180ºC is to be produced in a fire tube boiler from the cooling of 50 000 kg h–1 of flue gases from a pressurised combustion process. The gases enter the tubes of the boiler at 1600ºC and leave at 200ºC. The feed water is externally preheated to 180ºC before entering the boiler. The mean specific heat capacity of the flue gases is 1.15 kJ kg–1 K–1. The latent heat of vaporisation of the water at 180ºC is 2015 kJ kg–1. Feed water temperature = 180ºC. Determine the amount of steam produced per hour, if the total heat loss is 10% of the heat available for steam raising.
(b) The overall heat transfer coefficient based on the outside area of the tubes is given as 54 W m–2 K–1. Determine the area of heat transfer required to perform this duty.
(c) The tubes within the boiler are to be 25 mm inside diameter with a wall thickness of 3 mm. The average flue gas velocity through the tubes to maintain the overall heat transfer coefficient value and to minimise pressure losses is to be more than 22 m s–1 and less than 28 m s–1. Assuming that the average density of the flue gases is 1.108 kg m–3, calculate:
(i) the minimum and maximum number of tubes in each pass
(ii) the overall length of tubes at each of these numbers of tubes
(iii) the minimum number of tube passes in each case, if the length of a boiler tube is to be less than 5 metres.
In: Mechanical Engineering
2. Write a program which reads in the text file generated in
part one and writes out the same data as a comma-separated values
(CSV) file for further processing.
The file should have a header line which identifies which column
contains which values and should look something like this:
Time, Potentiometer, Temperature, Light, Switch0, Switch1, Switch2,
Switch3
That header line should be followed by detail lines containing the
measurements and should look something like this (matching the
above Arduino output):
0,1,1,1,1,0.50,0.14,0.90 40,1,1,1,1,0.65,0.20,0.89
Store the data in an appropriate struct.
In: Mechanical Engineering
Small high-swirl direct-injection CI engines have fuel conversion efficiencies which are about 10 percent higher than values typical of equivalent indirect-injection engines. (ID1 engines are used because they achieve higher bmep.) What combustion-system-related differences contribute to this higher efficiency?
In: Mechanical Engineering