![Engineering Fundamentals: An Introduction to Engineering (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781305084766/9781305084766_largeCoverImage.gif)
Concept explainers
(a)
Using the MATLAB Help menu discuss how the function ABS(X) used.
(a)
![Check Mark](/static/check-mark.png)
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)
![Check Mark](/static/check-mark.png)
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)
![Check Mark](/static/check-mark.png)
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)
![Check Mark](/static/check-mark.png)
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)
![Check Mark](/static/check-mark.png)
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)
![Check Mark](/static/check-mark.png)
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)
![Check Mark](/static/check-mark.png)
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
Engineering Fundamentals: An Introduction to Engineering (MindTap Course List)
- s الله + 600 2 Example 5 For the exterior longitudinal frame (Frame B) of the flat plate floor shown in figure, and by using the Direct Design Method, find: a. Longitudinal distribution of the total static moment at factored loads. b. Lateral distribution of moment at exterior panel (column and middle strip moments at exterior support) Slab thickness = 175 mm, d=140 mm qu=14.0 kN/m² All columns = 600x 400 mm 916 *5000*5000*5000* B Sinter line 16400- 6400 -6400-arrow_forwardExample 8 For the longitudinal frame of the flat slab floor shown in figure, and by using the Direct Design Method, find: a. Longitudinal distribution of the total static moment at factored loads. b. Lateral distribution of moment at exterior panel (column and middle strip moments at exterior support) qu 18.0 kN/m² edge beams: 300×600 mm 5000 mm CL Panel 6000 واجب 750 750- 400 099- 5000 mm +2000+ CL Panel 1120 Drop Panal Cobum Cop 250 احول دائري الى توسيع احلة $400mm face to face 6000 mmarrow_forwardExample 9 For the the transverse exterior frame (Frame D) of the flat plate floor, without edge beams, shown in Figure, and by using the Direct Design Method, find: a. Longitudinal distribution of the total static moment at factored loads. b. Lateral distribution of moment at interior panel (column and middle stripmoments at negative and positive moments). Slab thickness = 180 mm, d = 150 mm qu= 15.0 kN/m², All columns = 400×400 mm 5.0 m- 5.0- 5.0- نصف عرف العمود 6.0 marrow_forward
- Example 7 For the transverse frame of the flat slab floor shown in figure, and by using the Direct Design Method, find: a. Longitudinal distribution of the total static moment at factored loads. b. Lateral distribution of moment at exterior panel (column and middle strip moments atexterior support) Flit D = 7.0 kN/m² L = 4.0 kN/m² 3000- 5000 -160 +1000+ 5000 009- 300-1000arrow_forwardDetermine the amount of rebar needed for the spread footing where the dowels extend 24 inches into the column allow for 3 inches of concrete coverarrow_forwardConsider the forces acting on the handle of the wrench in Figure 1arrow_forward
- The following table gives the variation of the field standard penetration number (№60) in a sand deposit: Depth (m) N60 1.5 6 3.0 14 4.5 14 6.0 19 17 7.5 9.0 23 The groundwater table is located at a depth of 12 m. The dry unit weight of sand from 0 to a depth of 12 m is 17.6 kN/m³. Assume the mean grain size (D 50) of the sand deposit to be about 0.8 mm. Estimate the variation of the relative density with depth for sand. Use the equation N60 (0.23 +0.06/D50) 1.7 1 Dr (%) = 9 σ'o/Pa (Enter your answers to three significant figures.) Depth (m) N60 Dr (%) 1.5 6 3.0 14 4.5 14 6.0 19 7.5 17 9.0 23 0.5 (100)arrow_forward00 N 50° W NAZ 310 Length & plane Survey! E Х A (9 13arrow_forwardA cone penetration test was carried out in normally consolidated sand, for which the results are summarized below: Depth (m) Cone resistance, qc (MN/m²) 2.0 3.5 5.0 6.5 8.0 4.02 5.15 6.04 10.13 13.10 The average unit weight of the sand is 16.5 kN/m³. Assume moderately compressible sand and hence Q Determine the relative density at each depth using the equation below. Dr = 1 305QOCR1.8 Яс Pa 0.5 0 Pa (Enter your answers to three significant figures.) Depth (m) Dr (%) 2.0 3.5 5.0 6.5 8.0 = 1.arrow_forward
- A vane shear test was conducted in a saturated soft clay, using a 100 mm x 260 mm vane. When the vane was rotated at the standard rate of 0.1°/s, the torque measured in the torque meter increased to 60 N. m, and with further rotation reduced to 35 N. m. Determine the peak and residual undrained shear strengths of the clay. (Enter your answers to three significant figures.) Peak undrained shear strength Residual undrained shear strength = kN/m² kN/m²arrow_forwardFollowing is the variation of the field standard penetration number (№60) in a sand deposit: Depth (m) Neo N60 1.5 6 3 8 4.5 9 6 8 7.5 9 13 14 The groundwater table is located at a depth of 6 m. Given: the dry unit weight of sand from 0 to a depth of 6 m is 19 kN/m³, and the saturated unit weight of sand for depth 6 to 12 m is 20.2 kN/m³. Estimate an average peak soil friction angle. Use the equation CN - [ 1 (o'o/Pa). 0.5 (Enter your answer to three significant figures.) $' =arrow_forwardThe beam shown in the figure below is typical for a floor system in an existing building.It needs to carry a uniform live load of 260 lb/ft and a uniform dead weight of 400 lb/ft,including its own weight. The owner wants to add a partition weighing 7 kip (live load) asshown. Assuming the added partition as live load, is the beam section adequate to safelycarry the extra live load? a. Determine the design moment capacity .b. Determine the factored applied bending moment. c. Is the beam safe and adequate for bending? Please explain your response.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
![Text book image](https://www.bartleby.com/isbn_cover_images/9781305084766/9781305084766_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781285852225/9781285852225_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337399395/9781337399395_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781285165738/9781285165738_smallCoverImage.gif)