Concept explainers
Using MATLAB create a table which shows the relationship among units of pressure in Pa, and psi in the range of 10 kPa to 100 kPa by an increment of 0.5 kPa.
Explanation of Solution
Given data:
The range of pressure is 10 kPa to 100 kPa by an increment of 0.5 kPa.
Formula used:
Formula used to calculate the unit of pressure in kilo Pascal to psi is,
psi=(145.038×10−3)×P(kPa) (1)
Here,
P is the pressure in kilo Pascal.
Calculation:
The steps to create the table which shows the relationship among units of pressure in Pascal and psi using MATLAB are as follows,
- Generate a range of values of pressure in Pascal (10 kPa to 100 kPa) by an increment of 0.5 kPa.
- Use equation (1) to find the unit of pressure in psi.
- Print the values of pressure in units of psi by varying the range of pressure (10 kPa to 100 kPa) by an increment of 0.5 kPa.
In the MATLAB script editor type the code as follows and save it with name of “unitconversion” as .m file, then run the code to find the relationship between the pressure in Pascal and psi,
P_kPa=10:0.5:100;
P_psi=(145.038e-03)*P_kPa;
format bank
fprintf('\n------------------------------------------')
fprintf('\n\t\tP(kPa)\t\tP(psi)')
fprintf('\n-------------------------------------------\n')
disp([P_kPa',P_psi'])
fprintf('-------------------------------------------')
In the MATLAB command window, the output will be displayed as follows,
------------------------------------------
P(kPa) P(psi)
-------------------------------------------
10.00 1.45
10.50 1.52
11.00 1.60
11.50 1.67
12.00 1.74
12.50 1.81
13.00 1.89
13.50 1.96
14.00 2.03
14.50 2.10
15.00 2.18
15.50 2.25
16.00 2.32
16.50 2.39
17.00 2.47
17.50 2.54
18.00 2.61
18.50 2.68
19.00 2.76
19.50 2.83
20.00 2.90
20.50 2.97
21.00 3.05
21.50 3.12
22.00 3.19
22.50 3.26
23.00 3.34
23.50 3.41
24.00 3.48
24.50 3.55
25.00 3.63
25.50 3.70
26.00 3.77
26.50 3.84
27.00 3.92
27.50 3.99
28.00 4.06
28.50 4.13
29.00 4.21
29.50 4.28
30.00 4.35
30.50 4.42
31.00 4.50
31.50 4.57
32.00 4.64
32.50 4.71
33.00 4.79
33.50 4.86
34.00 4.93
34.50 5.00
35.00 5.08
35.50 5.15
36.00 5.22
36.50 5.29
37.00 5.37
37.50 5.44
38.00 5.51
38.50 5.58
39.00 5.66
39.50 5.73
40.00 5.80
40.50 5.87
41.00 5.95
41.50 6.02
42.00 6.09
42.50 6.16
43.00 6.24
43.50 6.31
44.00 6.38
44.50 6.45
45.00 6.53
45.50 6.60
46.00 6.67
46.50 6.74
47.00 6.82
47.50 6.89
48.00 6.96
48.50 7.03
49.00 7.11
49.50 7.18
50.00 7.25
50.50 7.32
51.00 7.40
51.50 7.47
52.00 7.54
52.50 7.61
53.00 7.69
53.50 7.76
54.00 7.83
54.50 7.90
55.00 7.98
55.50 8.05
56.00 8.12
56.50 8.19
57.00 8.27
57.50 8.34
58.00 8.41
58.50 8.48
59.00 8.56
59.50 8.63
60.00 8.70
60.50 8.77
61.00 8.85
61.50 8.92
62.00 8.99
62.50 9.06
63.00 9.14
63.50 9.21
64.00 9.28
64.50 9.35
65.00 9.43
65.50 9.50
66.00 9.57
66.50 9.65
67.00 9.72
67.50 9.79
68.00 9.86
68.50 9.94
69.00 10.01
69.50 10.08
70.00 10.15
70.50 10.23
71.00 10.30
71.50 10.37
72.00 10.44
72.50 10.52
73.00 10.59
73.50 10.66
74.00 10.73
74.50 10.81
75.00 10.88
75.50 10.95
76.00 11.02
76.50 11.10
77.00 11.17
77.50 11.24
78.00 11.31
78.50 11.39
79.00 11.46
79.50 11.53
80.00 11.60
80.50 11.68
81.00 11.75
81.50 11.82
82.00 11.89
82.50 11.97
83.00 12.04
83.50 12.11
84.00 12.18
84.50 12.26
85.00 12.33
85.50 12.40
86.00 12.47
86.50 12.55
87.00 12.62
87.50 12.69
88.00 12.76
88.50 12.84
89.00 12.91
89.50 12.98
90.00 13.05
90.50 13.13
91.00 13.20
91.50 13.27
92.00 13.34
92.50 13.42
93.00 13.49
93.50 13.56
94.00 13.63
94.50 13.71
95.00 13.78
95.50 13.85
96.00 13.92
96.50 14.00
97.00 14.07
97.50 14.14
98.00 14.21
98.50 14.29
99.00 14.36
99.50 14.43
100.00 14.50
-------------------------------------------
Conclusion:
Thus, the table which shows the relationship among units of pressure in kPa,and psi in the range of 10 kPa to 100 kPa by an increment of 0.5 kPa is created using MATLAB.
Want to see more full solutions like this?
Chapter 15 Solutions
ENGINEERING FUNDAMENTALS
- 14. Find the reaction R and the moment at the wall for the propped beam shown below using Point Load Analogous via Integration: 16 kN/m 000 4.5m 4.5marrow_forward13. Determine the moment at supports A and B of the fixed ended beam loaded as shown using Point Load Analogous via Integration: 10 kN/m 9 kN/m 3 m 3 m 12 kN/marrow_forwardHow does construction estimate inaccuracies lead to delays and complications that impact projects?arrow_forward
- Q5: Given the following system: น -3 y= [4 -2] +3u Generate a model with states that are the sum and difference of the original states.arrow_forward4. Draw a stress-strain curve (in tension and compression) for a reinforced concrete beam below. Label the important parts of the plot. Find the linear elastic approximation obtained using the transformed technique, and plot over the same strain ranges. 24" 4" 20" 16" f = 8,000 psi 8- #11 bars Grade 60 steel 4" (f, = 60 ksi and E₁ = 29000 ksi)arrow_forwardWhy is Historical Data important compared to other sourses of information when estimating construction projects?arrow_forward
- Need help, please show all work, steps, units and round to 3 significant figures. Thank you!!arrow_forwardNeed help. Find the answer to the boxes marked in red. Thanks!arrow_forwardFor the gravity dam shown in the figure, The following data are available: -Unit weight of concrete (Yconc) = 2.4 ton/m³ -Vertical upward earth quake factor (K,) = 0.1 -Neglect Wave pressure, silt pressure and ice force μ=0.65 a-Find heel and toe stresses (Pmin & Pmax) b-Is this structure safe against tension? c-Find the factor of safety against sliding and overturning (F.S, & F.Sover) 165 m 160 m t 10 m T I 4 m 50 100 marrow_forward
- For the gravity dam shown in the figure, The following data are available: -Unit weight of concrete (Yeone) 2.4 ton/m³ Vertical down ward earth quake factor (K,) = 0.1 Neglect Wave pressure, silt pressure and ice force The wind velocity (V)-45 Km/hr Straight length of water expanse (F) 75 Km =0.7 14-70m 3h T a- Find the factor of safety against sliding and overturning (F.Slid F.Sover) b- Find the toe and heel stresses (hma, and hmin.) c-Check tension. 8marrow_forwardQUESTION 2-(40 Points) In the case where other information is given in the figure, the wall is under the effect of a uniform lateral wind load of 0.7 kN/m2. Since the foundation is sized according to the safe bearing capacity of the soil and the safe bearing capacity remains the same, find the width of this foundation asymmetrically (with uniform base pressure). Draw the vertical section of the wall of the asymmetric foundation and write its dimensions and values on it. Draw the T and M diagrams along the width. The foundation thickness is the same in both cases. q=0.7 kN/m2 5 m R Duvar Nd=Wd 0.7 m T K 0 0.6 0.5 1.7 m Yb-24 kN/m3 0.6 m T + foundationarrow_forwardCan you pls. Explain on how to get "BETA T" and "BETA C" on this study about VALUE OF TRAVEL TIME.arrow_forward
- Engineering Fundamentals: An Introduction to Engi...Civil EngineeringISBN:9781305084766Author:Saeed MoaveniPublisher:Cengage Learning