![WebAssign Homework Only for Moaveni's Engineering Fundamentals: An Introduction to Engineering, SI Edition, 6th Edition, [Instant Access]](https://www.bartleby.com/isbn_cover_images/9780357126677/9780357126677_largeCoverImage.gif)
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
WebAssign Homework Only for Moaveni's Engineering Fundamentals: An Introduction to Engineering, SI Edition, 6th Edition, [Instant Access]
- Problems 5-1 Stead flow of steam enters a condenser with an enthalpy of 2400 kJ/kg and a velocity of 366 m/sec. the condensate leaves the condenser with an enthalpy of 162kJ/sec and a velocity of 6 m/sec what is the heat transferred to the cooling water per kg steam condensed. (-69198 kJ/kg) 5-2 An air compressor delivers 4.5 kg of air per minute at a pressure of 7 bar and a specific volume of 0.17 m³ /kg. Ambient conditions are pressure 1bar and specific volume 0.86 m³/kg. The initial and final internal energy values for the air are 28 kJ/kg and 110 kJ/kg respectively. Heat rejected to the cooling jacket is 76kJ/kg of air pumped. Neglecting changes in kinetic and potential energies, what is the shaft power required driving the compressor? (14.3kW)arrow_forwardDetermine the design resistance to transverse force F,Rdarrow_forwardAs a structural engineer, your task is to design an optimum section that has sufficient resistance to the applied loading for the primary beam proposed in Figure 1. A UB in grade S275 steel is required for the unrestraint beam to carry the ultimate loads over the given span. Choose an optimumUB section and justify your selection. You are required to submit a design analysis by considering bending, shear, transverse force, and deflection checking for the selected member based on Eurocode 3 and the assumption of support condition and loading must be clearly stated. P=15 kN. a 2 m. b=3m ·L· ·b. Figure 1 Simply supported steel beamarrow_forward
- Why is it important to establish logical relationships between tasks when developing a construction schedule?arrow_forwardFor the gravity concrete dam shown in the figure, the following data are available: - Unit weight of concrete (Yeone) = 2.4 ton/m³ Neglect( Wave pressure, silt pressure, ice force and earth quake force) -0.65, (Ywater) 1 ton/m³ Find factor of safety against sliding and overturning (F.Said & F.Sover), If heel and toe stresses (Pais & Pmas) are 57.17ton/m2 and 84.53 ton/m² respectively. w.s.l 83m 10m 80m 8m Solve on paper step by step with sketcharrow_forwardWhy is proper planning important when developing a baseline construction project schedule?arrow_forward
- Determine the minimum possible surface area of a secondary clarifier treating activated sludge with a design influent flow rate (Q) of 1,000 m³/d, a return activated sludge (RAS) recycling ratio of 25%, and a mixed liquor total suspended solids (MLSS) concentration of 4,000 mg/L, if the overflow rate must be less than 33 m/d and the solids loading rate must be less than 250 kg/m²/d. Express your answer in m² and round up to the next integer.arrow_forwardEstimate the required air flow rate for the new activated sludge plant at Pea Ridge (Problems 23-223-723-10, and 23-13). The flow rate is 8,450 m³/day, the concentration of bCOD going into the system (So) is 137 mg/L, the concentration of bCOD leaving the system (S) is 16.3 mg/L, and the mass of cells produced per day (Pxvss) is 277.4 kg/d. Use the following assumptions to estimate the required air flow rate: . Clean water correction, a = 0.50 . Salinity correction, B = 0.95 Fouling factor = 0.9 Wastewater temperature = 12°C Atmospheric pressure = 101.325 kPa .Elevation 500 m . Depth of aerator = 5.6 m Operating DO 2.0 mg/L Percent oxygen leaving aeration tank - 19% ■ Manufacturer's SOTR = 535 kg/d Manufacturer's air flow rate at standard conditions 50 m³/d - aerator Express your answer with the units of m³/d and round to the nearest integer.arrow_forwardDetermine the required solids retention time (SRT) of a completely mixed activated sludge aeration tank for a conventional activated sludge system treating a design flow rate of 34,560 m³/d, where the effluent standards are 30.0 mg/L for BODs and 30.0 mg/L for total suspended solids (TSS). Assume that the BOD5 of the effluent TSS is 70% of the TSS concentration. Assume the BODs concentration leaving the primary clarifier is 128 mg/L that the MLVSS concentration (X₂) is 2,500 mg/L. Assume the following values for the growth constants: Ks 100 mg/L BODS ⚫ Hm - 2.5 d 1 kd = 0.050 d 1 Y = 0.50 mg VSS/mg BODs removed Express your answer in days and round to the nearest 0.1.arrow_forward
- Q1: Figure below shows loaded beam with its cross-section area, (A) Draw shear force and bending moment diagrams, stating the main values, (B) Find central slope and deflection, (C) Sketch the distribution of shear stress at left support, (D) Find maximum tensile and compressive bending stresses set up in beam at right support. E-205GN/m² P1 P2 P3 W1 W2 Lin Lin # A Length in (m) and loads in kN 3a a 2a 2a (Cross-section area, All dimensions in (mm))arrow_forwardEstimate the mass of oxygen to be supplied for a new activated sludge plant at Pea Ridge to treat a flow rate of 8,450 m³/day. Assume that the concentration of bCOD going into the system (So) is 137 mg/L, that the bCOD leaving the system (S) is 16.3 mg/L, and that the mass of cells produced per day (Pxvss) is 277.4 kg/d. Express your answer in kg/day and round to the nearest integer.arrow_forward*10-4. Determine the internal moments at the supports A, B, and C, then draw the moment diagram. Assume A is pinned, and B and C are rollers. El is constant. 3 k/ft 8 ft- 8 ft -4 ft-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



