![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]
- *13-12. The control linkage for a machine consists of two L2 steel rods BE and FG, each with a diameter of 1 in. If a device at G causes the end G to freeze up and become pin connected, determine the maximum horizontal force P that could be applied to the handle without causing either of the two rods to buckle. The members are pin connected at A, B, D, E, and F. P 12 in. C G F B 2 in. E 4 in. 4 in. A D + -15 in.- + -20 in.-arrow_forward13-31. The steel bar AB has a rectangular cross section. If it is pin connected at its ends, determine the maximum allowable intensity w of the distributed load that can be applied to BC without causing bar AB to buckle. Use a factor of safety with respect to buckling of 1.5. Est = 200 GPa, σy 360 MPa. = B W 5 m 3 m -20 mm 30 mm x x A 20 mm y Carrow_forwardProblem 1: A man-made 30 ft tall, 1.5:1 slope is to be build as shown in the figure. The soil is homogeneous with shear strength parameters c = 400 psf and φ = 290 . The moist unit weight of the soil is 119 pcf above the groundwater table and the saturated unit weight is 123 pcf below. Using the ordinary method of slices, compute the Factor of Safety (FS) along the trial failure surface shown. (Hint: Please note the unit weight is changing within the same slice.) Note 1: Use the same number of slices and dimensions as provided. Document ALL the calculations of weight (W) for each slice. Note 2: Document your solutions by following the same approach illustrated in the class, including a summary table showing all the variables and calculations involved in assessing FS.arrow_forward
- how to manually plotting by coordinatesarrow_forwardmapping surveys/mappingarrow_forwardQuestion 3 (15pt) A traffic signal control is being designed for a four-leg intersection on a divided highway with the characteristics show in the table below. Determine an appropriate length of the yellow interval for each approach. (assuming the average vehicle length is 20ft, and the perception-reaction time is 1.0 sec, and deceleration rate of 11.2ft/sec²) Median width (ft) Number of 12ft lanes on each approach Design speed (mph) Grade North South approaches East West Approaches 18 3 45 0 10 2 35 3.5 SPEED LIMIT 45 18ft SPEED LIMIT 45 5arrow_forward
- Hi! Can you help me compute the concrete and masonry works for this structure based on the attached elevation drawing?The image shows the side view of a small building with labeled sections, wall openings (windows), and dimensions in centimeters. Specifically, I need help computing the following: For Concrete Works: Volume of concrete for footings, columns, and slab (if applicable) For Masonry Works (CHB Walls): Total wall area (excluding window openings) Number of CHBs required (based on 0.4 m x 0.2 m CHB) Cement and sand for block laying Cement, sand, and gravel for core filling (if reinforced) Cement and fine sand for plastering (both sides) Rebars needed for CHB reinforcement (if any) Please base it on the drawing dimensions. Let me know if additional assumptions or standards are needed (e.g., CHB size, mix ratio, thickness of plaster). Thank you!arrow_forwardHi! Can you help me compute the Masonry Works for the 3rd Floor only based on this image?This image shows all my completed concrete, rebar, slab, and formwork computations for the 3rd floor of a 3-storey residential building. Specifically, I need the following for CHB walls: Quantity of CHB Cement & sand for block laying (mortar) Cement, sand, and gravel for core filling Cement & fine sand for plastering Cement, sand, and gravel for CHB wall footing Number and length of vertical & horizontal rebars (10mm or as required)arrow_forwardP16.11 WP An assembly consisting of tie rod (1) and pipe strut (2) is used to support an 80 kip load, which is applied to joint B. Strut (2) is a pin-connected steel [E = 29,000 ksi] pipe with an outside diameter of 8.625 in. and a wall thickness of 0.322 in. For the loading shown in Figure P16.11, determine the factor of safety with respect to buckling for member (2). A C 24 ft B 80 kips FIGURE P16.11 12 ft 30 ftarrow_forward
- Hi! Based on the computations I've already completed for the second floor (shown in the attached image), can you help me compute the required materials for masonry works? Specifically, I need the following: Total quantity of CHB (Concrete Hollow Blocks) Cement and sand for block laying (mortar) Cement, sand, and gravel for CHB core filling Cement and fine sand for plastering Cement, sand, and gravel for CHB footing with pest control Reinforcing steel bars (vertical and horizontal) Please assume standard block size (e.g., 0.4m x 0.2m x 0.2m) and standard mortar/plaster thickness if not specified. Thank you!"arrow_forwardHi! I would like helping hand in computing all the materials needed for masonry works (CHB walls) on the ground floor. I’ve already computed the other structural elements — please refer to the attached image.arrow_forwardHi! Kindly help me compute the following based on the attached elevation plan and floor plan: Total Perimeter of the building – to be used for layouting. Total Length of Batter Board – include all sides where batter boards will be installed. Number and spacing of Stakes – assuming a stake is placed every 1.2 meters along the perimeter. Please show the complete solution and breakdown of your computation. Thank you!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



