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

  At which the driver could apply the brakes and still stop

The road is in good, dry conditions until 160 ft before the stalled car where it is wet and stays wet for the remaining length. What is the minimum distance from the stalled car at which the driver could apply the brakes and still stop before hitt..

  Moles of gas in the gas sample

A gas occupise 250 ml and it's pressure is 550mm Hg @ 254C how many moles of gas are in this sample? (convert mm Hg to atm).

  Find the probability that an 11 occurs for the first time

A pair of dice is tossed repeatedly. Find the probability that an 11 occurs for the first time on the 6th toss.

  Determine the maximum power output of the pelton wheel

The Pelton wheel is 3.0 m in diameter, and the nozzle exit is 0.2 m in diameter. Determine the maximum power output of the Pelton wheel. Is a Pelton wheel the appropriate turbine type for this application

  Determine the moisture content and the free moisture

A sample of aggregates weighs 400 grams. After drying at 112oF, its weight was 398.5 grams and absorption is 10%. Determine the moisture content and the free moisture.

  Explain what design speed was used to design the curve

A freeway exit ramp has a single lane and consists entirely of a horizontal curve with a central angle of 90 degrees and a length of 628 ft. If the distance cleared from the centerline for sight distance is 19.4 ft

  Which reactor requires the least volume

Which reactor requires the least Volume? Briefly explain why the PFR and CMFR volumes are different for achieving the same degree of pathogen reduction.

  What is the length of a 200 ft. steel tape having a cross

What is the length of a 200 ft. steel tape having a cross-sectional area of 0.004in2 and a modulus of elasticity of 30,000,000 lb/in2 that is standardized at a tension of 20 lb and a temperature of 68°F

  Determine the average normal stress at the critical section

two 10 mm thick steel plates are fastened together by means of two 20mm bolts that fit tightly into the holes. if the joint transmits a tensile force of 45 kn determine the average normal stress in the plates at a section where no holes occur

  Describe a soil classified as sw and a soil classified as ch

Describe a soil classified as SW and a soil classified as CH in the Unified Soil Classification System as you would to a person having no knowledge of soil classification procedures or equipment.

  Determine what is the optimal size of the reservoir

You have been asked to estimate the optimal size of a small reservoir that is being constructed near Atlanta. Knowing that water is a scarce commodity, you have decided to adopt an "economists" perspective on this problem

  Determine the slenderness ratio of a 5m column with built in

Determine the slederness ratio of a 5m column with built in ends if its cross section is circular with a radious of 40mm abd b 50mm square use the concept of effective length ?

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