The maximum stress smax at the edge of a hole (diameter d) in a thin plate. F with width w and thickness t, loaded by a tensile force F as shown is given by:
Write a program in a script file that calculates smax. The program should read the values of F, w, d, and t from an ASCII text file using the load 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 lb is XXXX psi, where XX stands for numerical values.” The stress should be rounded to the nearest integer. Use the program to calculate smaxwhen w=2.5in., d=1.375in., t=0.1875 in., and F=8000 lb.
Want to see the full answer?
Check out a sample textbook solutionChapter 4 Solutions
MATLAB: An Introduction with Applications
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman