
Concept explainers
(a)
Using the MATLAB Help menu discuss how the function ABS(X) used.
(a)

Explanation of Solution
In MATLAB, go to Help, it shows the documentation, examples, wed support, and academy symbols. Open the documentation then search for the specific functions, it will provides the syntax function then click on it, will shows the information about each of the function.
Search for the function ABS(X), the function ABS(X) is used to display the absolute value of the real values and complex values.
Example 1:
In the MATLAB command window type the code as follows,
X=-5;
abs(X)
The output will be displayed as follows,
ans =
5
Example 2:
In the MATLAB command window type the code as follows,
X=-5+6*i;
abs(X)
The output will be displayed as follows,
ans =
7.8102
Conclusion:
Thus, the function ABS(X) has been explained.
(b)
Using the MATLAB Help menu discuss how the function TIC, TOC used.
(b)

Explanation of Solution
Now Search for the command, it is TIC is used to start a stopwatch timer and the command TOC is used to print the number of seconds required for the operation. Both are used to find the program elapsed time.
Example:
In the MATLAB command window write the code as follows,
tic
P = rand(1000,300);
Q = rand(1000,300);
toc
C = P'.*Q';
toc
Its output displays as below, but it is changes every time as the execution time elapsed different time length for each execution,
Elapsed time is 0.049194 seconds.
Elapsed time is 0.067125 seconds.
Conclusion:
Thus, the function TIC, TOC has been explained.
(c)
Using the MATLAB Help menu discuss how the function SIZE(x) used.
(c)

Explanation of Solution
Now search for the SIZE (x), it is the two
Example:
Consider the matrix as follows:
In the MATLAB command window write the code as follows,
x=[1 2 3;4 5 6;7 8 9];
D=size(x)
The output will be displayed as follows,
D =
3 3
Conclusion:
Thus, the function SIZE(x) has been explained.
(d)
Using the MATLAB Help menu discuss how the function FIX(x) used.
(d)

Explanation of Solution
Now search for the command FIX(x) in Help tab, it is used to round the element of x to the nearest integer towards zero.
Example:
In the MATLAB command window write the code as follows,
x=3.48;
fix(x)
The output will be displayed as follows:
ans =
3
Conclusion:
Thus, the function FIX(x) has been explained.
(e)
Using the MATLAB Help menu discuss how the function FLOOR(x) used.
(e)

Explanation of Solution
The command FLOOR(x) is used to round the element of x to the nearest integer towards negative infinity.
Example:
In the MATLAB command window write the code as follows,
x=-3.67;
floor(x)
The output will be displayed as follows,
ans =
-4
Conclusion:
Thus, the function FLOOR(x) has been explained.
(f)
Using the MATLAB Help menu discuss how the function CEIL(x) used.
(f)

Explanation of Solution
In MATLAB Help tab search the function, the command CEIL(x) is used to round the element of x to the nearest integer towards infinity.
Example:
In the MATLAB command window write the code as follows,
x=3.67;
ceil(x)
The output will be displayed as follows,
ans =
4
Conclusion:
Thus, the function CEIL(x) has been explained.
(g)
Using the MATLAB Help menu discuss how the function CALENDAR used.
(g)

Explanation of Solution
The CALENDAR function is a
Example 1:
In the MATLAB command window write the code as follows,
calendar (1989,10)
The output will be displayed as follows,
Oct 1989
S M Tu W Th F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 0 0 0 0
0 0 0 0 0 0 0
Example 2:
In the MATLAB command window write the code as follows,
calendar (8,10)
The output will be displayed as follows,
Oct 0008
S M Tu W Th F S
0 0 0 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 0
0 0 0 0 0 0 0
Conclusion:
Thus, the function CALENDAR has been explained.
Want to see more full solutions like this?
Chapter 15 Solutions
LMS Integrated for MindTap Engineering, 2 terms (12 months) Printed Access Card for Moavni's Engineering Fundamentals: An Introduction to Engineering, 5th
- A sample of Achilles saturated with water has a mass of 1710 g. After heating in an oven, a constant mass of 1815 g is obtained. The density of solid Achilles seeds is 2.78 g/cm3. We are asked to calculate: a) The water content and void ratio b) The porosity and specific gravity of the clayey soil c) The wet density of the clayey soil, the corresponding dry density and dry densityarrow_forward8. A prestressed concrete beam is subjected to the following stress distributions: Pi is the initial prestressing force, Pe is the effective prestressing force, M, is the bending moment due to self- weight, Ma and M, are the dead load and live load bending moment, respectively. The concrete has the following properties: fr = 6000 psi and fri = 4200 psi +250 -85 -2500 +550 Pe+ Mo+Ma+Mi P alone P₁+ Mo -2450 -3500 Stress at midspan +210 +250 P, alone Pe alone -2500 -3500 Stress at ends Using Table 22.1, evaluate whether the stresses at the center of the span and the end of the span comply with the permissible stress limits. The beam is classified as U-class. Provide justifications for each condition listed in the table. Note: Calculated stresses are to be taken from the above diagram, and permissible stresses are to be calculated using Table 22.1. Compressive stresses immediately after transfer Tensile stresses immediately after transfer Compressive stresses under sustained and total…arrow_forward10. A short column is subjected to an eccentric loading. The axial load P = 1000 kips and the eccentricity e = 12 in. The material strengths are fy = 60 ksi and f = 6000 psi. The Young's modulus of steel is 29000 ksi. (a) Fill in the blanks in the interaction diagram shown below. (2pts each, 10pt total) Po Pn (1) failure range H 3" 30" Ast 6 No. 10 bars = P 22" I e H 3" (4) e = e small Load path for given e Radial lines show constant (2) eb (3) e large failure range Mn (5) e= Mo (b) Compute the balanced failure point, i.e., P and Mb.arrow_forward
- No chatgpt plsarrow_forward11. The prestressed T beam shown below is pretensioned using low relaxation stress-relieved Grade 270 strands. The steel area Aps = 2.5 in². The tensile strength is fpu = 270 ksi, and the concrete compressive strength is fr = 6000 psi. (a) Calculate the nominal moment strength Mn with hr = 6 in. 22" 15" T hf (b) Since this beam is a T-beam, the nominal moment strength M₁ increases with a thicker hf. However, M, stops increasing if he reaches a value. Determine the minimum thickness hy that can achieve the maximum nominal moment strength Mr. Also, calculate the corresponding maximum nominal moment strength Mn with the computed hf.arrow_forward10. A short column is subjected to an eccentric loading. The axial load P = 1000 kips and the eccentricity e = 12 in. The material strengths are fy = 60 ksi and f = 6000 psi. The Young's modulus of steel is 29000 ksi. (a) Fill in the blanks in the interaction diagram shown below. 30" Ast 6 No. 10 bars = Pn (1) Po (4) e = e small Load path for given e failure range Radial lines show constant (2) eb (3) e large failure range Mn (5) e= Mo (b) Compute the balanced failure point, i.e., P and Mb. H 3" P 22" I e H 3"arrow_forward
- 10. A short column is subjected to an eccentric loading. The axial load P = 1000 kips and the eccentricity e = 12 in. The material strengths are fy = 60 ksi and f = 6000 psi. The Young's modulus of steel is 29000 ksi. (a) Fill in the blanks in the interaction diagram shown below. 30" Ast 6 No. 10 bars = Pn (1) Po (4) e = e small Load path for given e failure range Radial lines show constant (2) eb (3) e large failure range Mn (5) e= Mo (b) Compute the balanced failure point, i.e., P and Mb. H 3" P 22" I e H 3"arrow_forward7. Match the given strand profiles with the corresponding loading conditions for a prestressed concrete (PSC) beam. Strand profile (b) (d) (c) (a) Ꮎ Load on a beamarrow_forward4. For serviceability considerations, the effective moment of inertia (Ie) is calculated using the following formula: le 1 - 1cr ((2/3) Mcr) Ma 2 - وا ≥ Note that the upper bound was previously set as Iut in the earlier ACI equation. (a) Arrange the following moment of inertia values in ascending order (from smallest to largest): le, Ier, Ig and lut (b) Mer is the cracking moment. Choose the cross-section that should be used to compute Mcr. NA. h 5. Identify and circle the figure that represents the scenario in which the torsional effect is permitted to be reduced according to the ACI code provisions. (3 pts) mt mi B (b)arrow_forward
- I will rate, thanksarrow_forward. 9. A reinforced concrete beam is subjected to V/ = 40 kips and Tu/ = 12 ft kips at the critical section. Given conditions: ⚫ Longitudinal reinforcements use No. 8 grade 60 steel with an effective depth d = 20 in. For shear capacity, V = 18 kips and V₂ = 22 kips • For transverse reinforcements, use No. 3 bars with grade 60. • The effective torsional area of A. = 150 in². • Crack angle = 45° ⚫ The minimum stirrup spacing is Smin = 4" and the maximum stirrup spacing is Smax = Find the required stirrup spacing at the critical section. 8".arrow_forward3. The beam shown on the right uses three No. 8 bars made of Grade 60 steel as longitudinal reinforcement. The allowable maximum center-to-center spacing of the longitudinal rebars has been determined to be 10 inches. Now assume that Grade 80 steel will be used instead. Determine whether the beam satisfies the rebar spacing requirements according to the ACI Code. Additional assumptions: • Estimate fs = fy • 20" Clear cover: ? 12" Clear side cover: 1.5" The clear cover depth cc and the clear side cover remain unchanged, regardless of the change in material.arrow_forward
- Engineering Fundamentals: An Introduction to Engi...Civil EngineeringISBN:9781305084766Author:Saeed MoaveniPublisher:Cengage LearningResidential Construction Academy: House Wiring (M...Civil EngineeringISBN:9781285852225Author:Gregory W FletcherPublisher:Cengage LearningFundamentals Of Construction EstimatingCivil EngineeringISBN:9781337399395Author:Pratt, David J.Publisher:Cengage,
- Architectural Drafting and Design (MindTap Course...Civil EngineeringISBN:9781285165738Author:Alan Jefferis, David A. Madsen, David P. MadsenPublisher:Cengage Learning



