Question: This is in Octave by the way 1.A barometer uses a column tube filled partially with high density fluid to measure atmospheric pressure. The pressure
This is in Octave by the way
1.A barometer uses a column tube filled partially with high density fluid to measure atmospheric pressure.
The pressure is : P = pgh
Where p is density of the fluid g is the acceleration due to gravity h is the height of the fluid in the tube Create an m-file that does the following. (a) Create a vector of pressures from 0 to 100kPa in 10kPa increments (b) If we have two barometers with two different fluids, mercury and water, create a vector with the density of each. (c) Using the meshgrid command find the height to which each liquid column will rise using the pressure vector created in part (a) and the density vector created in part (b). (d) Output table of liquid column heights, water in the first column, mercury in second.
2.Suppose you are designing a control system for a transport container which is temperature sensitive. The temperature must be controlled within a specific range. You have developed a model that predicts how the container will respond to fluctuations in exterior temperatures and now youd like to simulate the behavior for your bosses.
(a) Create a gaussian distribution of temperatures with a mean of 72 and a standard deviation of 2 corresponding to a 3 hour duration. Youll need a temperature for each time from 0 to 180min at 30sec intervals. Submit in table format
(b) Find the max and min temps and at what time they occur. Clearly label each and output to screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
