Normal atmospheric pressure is defined as 1 atmosphere [atm]. 1 [atm] = 14.6956 [psi] = 760 [torr] = 101.325 [kPa*]. i)

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Normal atmospheric pressure is defined as 1 atmosphere [atm]. 1 [atm] = 14.6956 [psi] = 760 [torr] = 101.325 [kPa*]. i)

Post by answerhappygod »

Normal atmospheric pressure is defined as 1 atmosphere [atm]. 1[atm] = 14.6956 [psi] = 760 [torr] = 101.325 [kPa*].
i) Write a function, fn_psi2atm to convert psito atm, torr and kPa. Set the output as 3 different unit with inputof pressure in psi.
ii) Write a script, to do the followingwork.
2-a. Read an external data Time Pressure.txt. by using fgetl,fscanf and textscan. You may combine those functions to read headerlines separately, but do not use other functions to readthe data.
Normal Atmospheric Pressure Is Defined As 1 Atmosphere Atm 1 Atm 14 6956 Psi 760 Torr 101 325 Kpa I 1
Normal Atmospheric Pressure Is Defined As 1 Atmosphere Atm 1 Atm 14 6956 Psi 760 Torr 101 325 Kpa I 1 (19.89 KiB) Viewed 20 times
2-b. Convert the pressure unit by using fn_psi2atm.
2-c. Use pressure unit of [atm]. Fit the data with linear and athird-degree polynomial by using polyfit. Use sprintf to store thefitted result.
2-d. Use subplot. In the first plotting area, plot time vspressure in kPA unit. In the second plotting area, plot the datapoints in atm along w/ the fitted result.
Please use matlab to make the function & script withthe given instructions.
time (sec) 1 234 in 8 5 6 7 9 10 25.9 27.0 28.2 29.0 29.8 30.6 31.1 31.5 31.0 30.5 Pressure (psi)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply