
Concept explainers
a)
Use the lookfor command to find the MATLAB commands that deal with “sine”.

Answer to Problem C.1E
Using lookfor command we can find the MATLAB command which deals with sine.
Explanation of Solution
Given:
Look for command.
Calculation:
Syntax.
Y = sind(x)
Here we can describe the syntax as.
Y = sind(x) which gives the sine of the elements in x, which are shown in degree.
for calculating sind(180) SOLUTION will be zero because 180 degree compare to sine of pi radian.
So, value of sin(pi) = 1.2246e-16.
Conclusion:
Lookfor command use for finding matlab functions.
b)
Use the lookfor command to find the MATLAB commands that deal with “plot”.

Answer to Problem C.1E
Using lookfor command we can find the MATLAB command which deals with plot.
Explanation of Solution
Given:
Lookfor command.
Calculation:
By using plot function in matlab command, can be plot the graph by performing following steps.
1. define x, by deciding the range of value for the variable x, for that function is to be plotted.
2. define the function, y = f(x)
3. call the plot command as plot(x, y)
For example, plotting simple function y = x, and the range of values for x from 0 to 100, with an increment of 5.
Code will be x = [0:5:100];
y = x;
plot (x, y)
when you execute the file, MATLAB displays the below plot as:
Conclusion:
Lookfor command use for finding matlab functions.
c)
Use the lookfor command to find the MATLAB commands that deal with “logarithm”.

Answer to Problem C.1E
Using lookfor command we can find the MATLAB command which deals with logarithm.
Explanation of Solution
Given:
Lookfor command.
Calculation:
LOG function in MATLAB whose base is 10 logarithm and it is calculated as log10.
It is natural logarithm.
lookfor logarithm.
the result shown below:
LOGSPACE logarithm spaced
LOG Natural logarithm.
LOG10 common base10 logarithm.
LOG2 Base2 logarithm and dissect floating point number,
BETALN Logarithm of beta function,
GAMMALN logarithm of gamma function.
LOGM Matrix logarithm.
Conclusion:
Lookfor command use for finding matlab functions.
d)
Use the lookfor command to find the MATLAB commands that deal with “variable”.

Answer to Problem C.1E
Using lookfor command we can find the MATLAB command which deals with variable.
Explanation of Solution
Given:
Lookfor command.
Calculation:
In MATLAB environment, every variable is an array or matrix.
We can assign variables as x = 3; defining x and starting with a value.
x = 3.
It creates a 1 by 1 matrix named x and stores the value in its element.
Let us have example, x = sqrt(16);
Conclusion:
Lookfor command use for finding matlab functions.
f)
Use the lookfor command to find the MATLAB commands that deal with “path”.

Answer to Problem C.1E
Using lookfor command we can find the MATLAB command which deals with path.
Explanation of Solution
Given:
Lookfor command.
Calculation:
It is must ensure before loading file in MATLAB that it can find the files. Initially MATLAB look in current directory after that it find paths which is previously saved.
To explore the path available in MATLAB type “path” at MATLAB prompt. MATLAB would search files that we want or follow by the list of the directories.
Conclusion:
Lookfor command use for finding matlab functions.
g)
Use the lookfor command to find the MATLAB commands that deal with “exponential”.

Answer to Problem C.1E
Using lookfor command we can find the MATLAB command which deals with exponential.
Explanation of Solution
Given:
Lookfor command.
Calculation:
Syntax a = exp(b)
If a = exp(b) will return exponential ex for each element in array b.
For complex elements
It resulted
Conclusion:
Lookfor command use for finding matlab functions.
Want to see more full solutions like this?
Chapter C Solutions
Engineering Your Future: Comprehensive
- PROBLEM 3.46 The solid cylindrical rod BC of length L = 600 mm is attached to the rigid lever AB of length a = 380 mm and to the support at C. When a 500 N force P is applied at A, design specifications require that the displacement of A not exceed 25 mm when a 500 N force P is applied at A For the material indicated determine the required diameter of the rod. Aluminium: Tall = 65 MPa, G = 27 GPa. Aarrow_forwardFind the equivalent mass of the rocker arm assembly with respect to the x coordinate. k₁ mi m2 k₁arrow_forward2. Figure below shows a U-tube manometer open at both ends and containing a column of liquid mercury of length l and specific weight y. Considering a small displacement x of the manometer meniscus from its equilibrium position (or datum), determine the equivalent spring constant associated with the restoring force. Datum Area, Aarrow_forward
- 1. The consequences of a head-on collision of two automobiles can be studied by considering the impact of the automobile on a barrier, as shown in figure below. Construct a mathematical model (i.e., draw the diagram) by considering the masses of the automobile body, engine, transmission, and suspension and the elasticity of the bumpers, radiator, sheet metal body, driveline, and engine mounts.arrow_forward3.) 15.40 – Collar B moves up at constant velocity vB = 1.5 m/s. Rod AB has length = 1.2 m. The incline is at angle = 25°. Compute an expression for the angular velocity of rod AB, ė and the velocity of end A of the rod (✓✓) as a function of v₂,1,0,0. Then compute numerical answers for ȧ & y_ with 0 = 50°.arrow_forward2.) 15.12 The assembly shown consists of the straight rod ABC which passes through and is welded to the grectangular plate DEFH. The assembly rotates about the axis AC with a constant angular velocity of 9 rad/s. Knowing that the motion when viewed from C is counterclockwise, determine the velocity and acceleration of corner F.arrow_forward
- 500 Q3: The attachment shown in Fig.3 is made of 1040 HR. The static force is 30 kN. Specify the weldment (give the pattern, electrode number, type of weld, length of weld, and leg size). Fig. 3 All dimension in mm 30 kN 100 (10 Marks)arrow_forward(read image) (answer given)arrow_forwardA cylinder and a disk are used as pulleys, as shown in the figure. Using the data given in the figure, if a body of mass m = 3 kg is released from rest after falling a height h 1.5 m, find: a) The velocity of the body. b) The angular velocity of the disk. c) The number of revolutions the cylinder has made. T₁ F Rd = 0.2 m md = 2 kg T T₂1 Rc = 0.4 m mc = 5 kg ☐ m = 3 kgarrow_forward
- (read image) (answer given)arrow_forward11-5. Compute all the dimensional changes for the steel bar when subjected to the loads shown. The proportional limit of the steel is 230 MPa. 265 kN 100 mm 600 kN 25 mm thickness X Z 600 kN 450 mm E=207×103 MPa; μ= 0.25 265 kNarrow_forwardT₁ F Rd = 0.2 m md = 2 kg T₂ Tz1 Rc = 0.4 m mc = 5 kg m = 3 kgarrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY





