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

  Engineering ethics and ethical issue

what is the engineering ethics course where to write about any engineering ethical case and discuss the ethical issue?

  Engineering ethics and concept and cases

what is the engineering ethics case related to civil engineering with reference and discuss all the engineering ethics issues which covered the "Engineering etics concepte and cases?

  Transportation and management

In the construction management, there is a lot of procurement route that are necessary and suitable for the construction industry.

  Supporting Investment Promotion: ERNST & YOUNG

Ernst & young is currently providing support to various sectors. In this regards it was felt that if this report is able to document good practices currently being adopted or planned in ceramic sector.

  Personalized Cancer Therapy-A step forward

Cancer is the uncontrolled growth of abnormal cells in the body resulting in tumours that can be benign or malignant (cancerous cells). A proper treatment is necessary to fight with this serious disease.

  Discuss the different environmental companies

Discuss the different agencies, institutes, centers, different environmental companies that are active in UAE.

  Develop a simple urban constructed wetland design

Develop a simple urban constructed wetland design.

  Evaluate company performance in relation to GRI standards

Evaluate company performance in relation to GRI standards and comment on Stigler's theory.

  Water system design

Determine the corresponding error in the computed discharge

  Hydraulic behaviour in open channel

Describe how test flumes and associated equipment are used to assess and confirm hydraulic behaviour in open channel

  Write a paper on steel sustainability

Write a paper on steel sustainability.

  Writing case study about bridge collapse

Writing case study about bridge collapse

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