Question: USING Matlab.. Please I will like to see your command inputs Thank you me maximum stress max at the edge llia of a hole (diameter
me maximum stress max at the edge llia of a hole (diameter d) in a thin plate, with width w and thickness t, loaded F by a tensile force Fas shown is given by max tonom where a and K, (d) 3.667 nom E t(w-d) 3-3.14. 1.527 Write a MATLAB program in a script file that calculates omax. The program should read the values of F w, di and t from an ASCII text file using the command. The output should be in the form of a paragraph combining text and numbers, i e. something like: "The maximum stress in a plate with a width of XX in and thickness of XX in and a hole of XX in. in diameter due to a tensile force of XXX 1b is XXXX psi", where XX stands for numerical values. The stress should be rounded to the nearest integer. Use the program to calculate omax when w 2.5 in, d 1.375 in., t 0.1875 in., and F 000 lb. Hint. The values given atthe end of the problem will be entered in a text file called for example, HW4P5Data. txt. This data file can be created in Excel, Notepad TextEdit, etc and saved as a tab delimited ASCII text file with extension .txt MATLAB must load this file and then assign the values from it to F, w, d, and t. Use multiple calls to fprintf to display the results in the required form
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
