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?
- Consider a stainless steel spoon (k = 8.7 Btu/h·ft·°F) partially immersed in boiling water at 200°F in a kitchen at 75°F. The handle of the spoon has a cross section of 0.08 in × 0.5 in and extends 7 in in the air from the free surface of the water. The heat transfer coefficient at the exposed surfaces of the spoon handle is 3 Btu/h·ft2·°F. NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. A spoon is placed inside the container, such that the distance of the water level from the top end of the handle of the spoon is 7 meters. T sub air is indicated in the region outside the container. Identify the assumptions required to solve the problem. Check All That Apply One-dimensional heat transfer analysis is used to solve the problem. One-dimensional heat transfer analysis is used to solve the problem. Bi-dimensional heat transfer analysis is used to solve the problem. Bi-dimensional heat transfer analysis is…arrow_forwardA turbine blade made of a metal alloy (k=17 W/m-K) has a length of 5.3 cm, a perimeter of 11 cm, and a cross-sectional area of 5.13 cm². The turbine blade is exposed to hot gas from the combustion chamber at 1133°C with a convection heat transfer coefficient of 538 W/m²K. The base of the turbine blade maintains a constant temperature of 450°C and the tip is adiabatic. NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. Hot gas h=538 W/m²K -Turbine blade k = 17 W/m-K p=11 cm, L=5.3 cm A = 5.13 cm² -T=450°C Determine the heat transfer rate to the turbine blade. W. The heat transfer rate isarrow_forwardConsider a very long, slender rod. One end of the rod is attached to a base surface maintained at Tb, while the surface of the rod is exposed to an air temperature of 400°C. Thermocouples imbedded in the rod at locations 25 mm and 120 mm from the base surface register temperatures of 325°C and 375°C, respectively. NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. . x1 32 x Calculate the rod base temperature (°C). The rod base temperature is °C. Air T∞arrow_forward
- A rotating shaft of 20 mm diameter is simply supported. The shaft is loaded with a transverse load of 10 kN as shown in the figure. The shaft is made from AISI 1095 hot-rolled steel. The surface has been machined. The shaft operate at temperature T = 450 °C. Consider a reliability factor of 95%. Determine (a) Calculate the reaction forces R, and R₂ (2 points) (b) Draw the shear force and bending moment diagrams and determine the maximum bending moment and shear force. (6 points) 200 mm 20 mm 10,000 N -50 mm- A Not to scale. (c) Determine the critical location of the shaft and the maximum effective stresses. (3 points) (d) Calculate the safety factor against yielding. Does the shaft undergo local yielding? (2 points) (e) Determined the endurance limit, adjusted as necessary with Marin factors. (12 points) (f) Calculate the fatigue factor of safety based on achieving infinite life. (2 points) (g) If the fatigue factor of safety is less than 1 (hint: it should be for this problem), then…arrow_forward(read image)arrow_forward(read image)arrow_forward
- 6: Refer to the figure.Given: W1 = 200 kN/m; W2 = 300 kN/m; L1 = 2 m; L2 = 3 m; L3 = 2 m(a) Calculate the total length L so that the resulting upward pressureq is uniform. (b) draw the shear and moment diagram and determinethe maximum shear, maximum positive and negative bendingmoments.arrow_forwardA six cylinder, four-stroke diesel engine develops a power of 200 kW at 2000 rpm. The bsfc is 0.2 kW/kg h of fuel with 34.9° API. The fuel is injected at an average pressure of 350 bar and the pressure in the combustion chamber is 40 bar. Assuming Ca for injector 0.75 and the atmospheric pressure 1 bar. Determine the period of injection in seconds if the total orifice area required per injector is 0.4876 × 10-6 m².arrow_forwardTrieed a detailed drawing Win explanatio LL Antsmi 1981x pu + 96252 اه 6. The Pre-combustion chamber design engines employ nozzle type commonly referred to as a ....... a. inward-opening nozzle b. multiple-hole nozzle. c. pintle nozzle. d. none of these. 7. If the temperature of the spark plug tip is less than 350 °C, ......... a. the plug might not work. b. the carbon deposits would increase. 8. Port injection sprays fuel....... c. pre-ignition will occur. d. none of these. a. towards the intake valve. b. in the engine cylinder. c. in the throttle body assembly. d. none of these. 9. When the fuel-air mixture changed from best power to a richer ratio, the spark advance should be........ a. increased. b. decreased. c. left unchanged. d. none of these. d. none of these. 10. Spark plugs are classified as hot plugs and cold plugs depending upon ........ a. spark gap. b. the type of plug c. the operating temperature insulator. range of the electrode tip. ---20125 750 x2.01 SP 5.arrow_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





