Create an anonymous function p that finds the pressure

Assignment Help Civil Engineering
Reference no: EM131029632

Barometers have been used for almost 400 years to measure pressure changes in the atmosphere. The fi rst known barometer was invented by Evangelista Torricelli (1608-1647), a student of Galileo during his final years in Florence, Italy. The height of a liquid in a barometer is directly proportional to the atmospheric pressure, or

P = ρgh

where P is the pressure, ρ is the density of the barometer fluid, and h is the height of the liquid column. For mercury barometers, the density of the fluid is 13,560 kg/m3. On the surface of the earth, the acceleration due to gravity, g , is approximately 9.8 m/s2. Thus, the only variable in the equation is the height of the fluid column, h , which should have the unit of meters.

(a) Create an anonymous function P that finds the pressure if the value of h is provided. The units of your answer will be

kgm/m3s2(m)  = kg 1/ms2 = Pa

(b) Create another anonymous function to convert pressure in Pa (Pascals) to pressure in atmospheres (atm). Call the function Pa_to_atm . Note that 1 atm = 101,325 Pa

(c) Use your anonymous functions to fi nd the pressure for fl uid heights from 0.5 m to 1.0 m of mercury.

(d) Save your anonymous functions as .mat files

Reference no: EM131029632

Questions Cloud

What is gross profit : Mayer Corporation had sales of $24,000, cost of sales of $10,000, advertising expense of $8,500, and income tax expense of $1,500. What is gross profit?
Fleet replacement analysis for replacing the md-80 fleets : Fleets Replacement Analysis from SH&E Consult. The following reports and assumptions has been considered following Fleet Replacement Analysis for replacing the MD-80 fleets with new fleets of Airbus A-320
Larsen company manufactures car seats : Weighted-average method. Larsen Company manufactures car seats in its San Antonio plant. Each car seat passes through the assembly department and the testing department. This problem focuses on the assembly department. The process-costing system at L..
Supply the missing data in each independent case : Following are data from 4 separate companies. Supply the missing data in each independent case
Create an anonymous function p that finds the pressure : Create another anonymous function to convert pressure in Pa (Pascals) to pressure in atmospheres (atm). Call the function Pa_to_atm . Note that 1 atm = 101,325 Pa.
Cvp analysis among other assumption : Cvp analysis among other assumptions assumes that behavior of both cost and revenue is linear throughout the relevant range of activity. Do you agree? support your argument with real data from any business form like companies
Compute the laplacian using the cylindrical polar form : For this section take u(x,y,z) =x ^2, Convert the formula for u into a formula for u involving spherical polar coordinates. Then compute the Laplacian using the spherical polar form. Check that your answer is 2.
The bethlehem inn is an all-equity firm : The Bethlehem Inn is an all-equity firm with 18,000 shares outstanding at a value per share of $14.50. The firm is issuing$50,000 of debt and using the proceeds to reduce the number of outstanding shares. How many shares of stock will beoutstanding o..
Adulthood delayed what has the recession done to millennials : Write the thesis about the article Adulthood, Delayed: What Has the Recession Done to Millennials? It is about strategies that authors use to convince people what to think or do.

Reviews

Write a Review

Civil Engineering Questions & Answers

  Derive an equation for the undrained shear strength of clay

if a clay slope at a construction site fails derive an equation for the undrained shear strength of the clay given that the shear reistance along L of the slope can be given as: (SuH0)/ sin beta

  Determine the specific weight of the wood

A solid wooden cube (.5*.5*.5 m^3) is floating in water and 0.2 of the cube extends above the water surface. Determine the specific weight of the wood.

  Mass of water vapor diffuses through tube

If the water vapor is removed from the upper tank so that the concentration there remains nearly zero, what mass of water vapor diffuses through the tube each hour?

  Determine substrate concentration and biomass concentration

How would you determine the substrate concentration and biomass concentration at 0.5 days - Use spreadsheet to solve for the concentrations with a delta t = 0.01 days.

  If the bearing stress on the concrete pedestal must not

If the allowable stress in the cylinder is 55 MPa, what is the maximum internal diameter (nearest integer, such as 10, 11, 12, …., in units of millimetres) of the cylinder?

  Find probability that a radndomly selected thermometer reads

assume the readings on thermometers are normally distibuted with a mean of 0C and a standard feviation of 1.00C. Find the probability that a radndomly selected thermometer reads greater than 1.23 and draw a sketch of the region.

  What is hydraulic residence time for activated sludge tank

A wastewater treatment plant uses an activated sludge process for secondary treatment of 0.300 cubic meters / second of primary effluent. The mixed liquor has a concentration of 2,100mg VSS/L, and the RAS concentration is 10,000mg VSS/L.

  The bolt holes in the flange at a were supposed to align

the steel g 12000 ksi pipe shown in the adjoining figure is fixed to the wall support at c.nbspthe bolt holes in the

  Determine the maximum shear stress at the end

A 600 mm long solid steel shaft is to transmit a torque of 30 N-m, G=90 GPa, diameter 15mm. Determine (a) Maximum shear stress, and (b) Angle of twist (phi) at the end.

  At what minimum slope can be laid such that velocity is less

At the design flow, it is intended to have a relative depth of 0.8. At what minimum slope can it be laid such that the velocity is at least 2 ft/s at design flow and depositied solids will be scoured out by the deisgn flow

  Determine the length of the swale required with side slopes

The longitudinal slope of the swale is to be 1.5% with side slopes of 5:1 (H:V). If the grassed swale has a Manning's n of 0.030 and a minimum infiltration rate of 200 mm/hr, determine the length of the swale required.

  Identify the risk factors

Tacoma Narrows Bridge. Conduct either a qualitive and quantitive risk assessment on this project. Identify the risk factors that you consider most important for the suspension bridge construction. How would you assess the riskiness of this project..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd