The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Hey guys! I have a pretty simple MATLAB assignment here, due at 11pm (Central Standard Time) Sunday Nov. 20th!
Let me know if you have any questions!
Week 13 Application ActivityME219 Computer Programming for EngineersThis week we will be revisiting our problem from Week 8, with a few key differences:a.Stress calculations will be done over a range of distances beneath the surfaceb.Maximal shear stress will be calculated (see equation 4)c.Major program operations will be handled by function filesConsider the diagram below, which depicts two cylinders being held in contact by a force (ܨ) that isuniformly distributed along the length (ܮ) of the cylinders. The resulting stress distribution will beelliptical in shape, such that the maximum stress occurs along the line of contact whereݕൌݖൌ0.We are interested in calculating the magnitude of the principal normal stresses (ߪ௫,ߪ௫,ߪ௫) andmaximum principal shear stress (߬௫) in the larger cylinder for points beneath its surface, i.e. forincreasing values ofݖ. These may be calculated as follows1:ߪ௫ൌെ2ߥଶ௫ቆට1௭మమെ௭ቇ(1)ߪ௬ൌെ௫ቈቆ2 െଵଵାమ್మቇ ට1௭మమെ2௭(2)ߪ௭ൌିೌೣටଵାమ್మ(3)߬௫ൌఙିఙଶ(4)zyxFFLd2d1zy2b
Unlocks remaining
whereܾis the half‐width of the elliptical distribution, given byܾൌ ටଶிగ൫ଵିఔభమ൯ாభ⁄ା൫ଵିఔమమ൯ாమ⁄ଵௗభ⁄ାଵ ௗమ⁄(5)and௫is the maximum pressure, given by௫ൌଶிగ(6)The following table summarizes the properties of the cylinders we’re interested in evaluating.SymbolDescriptionValueݒଵ,ߥଶPoisson’s Ratios for bothcylinders0.3(both)ܧଵ,ܧଶYoung’s Modulus for bothcylinders206 ൈ 10ଽܰ݉ଶ⁄݀ଵDiameter of top cylinder38 ݉݉݀ଶDiameter of bottom cylinder70 ݉݉ܮLength of both cylinders50 ݉݉ܨCompressive force450 ܰݖDistance below surface ofbottom cylinder0 െ 0.15 ݉݉Please follow the instructions below to complete this problem.1.Open MATLAB, navigate to the directory where you want to save your work, and create a newscript file called “W13.m”.2.PART 1: create variables for the constants in the table above. Note thatݖwill be a vectorranging from 0 to 1.5 mm. Be sure to select an appropriate step size when creating this vector –I suggest 0.001 mm.3.PART 2: Create a function file named “stresscalc.m” to handle your stress calculations. Theinputs to this function should include the nine variables listed in the table above; the outputsshould include the 4 stresses calculated using equations (1)‐(4). In your function file: do thefollowing:a.Using equations (5) and (6), calculateܾand௫, respectively, and assign them toappropriate variables.b.Calculate the following intermediate variables, which will simplify the process ofcalculating your principal stresses:ܽଵൌ௭ܽଶൌ ට1௭మమ(7) (8)
Attachments: