Question
MATLAB Question. Sigma = 325,000/x^3+ 85,800/x - 13500; The maximum allowable stress is 13,500 psi. We now need to determine the minimum dimension x in
MATLAB Question. Sigma = 325,000/x^3+ 85,800/x - 13500; The maximum allowable stress is 13,500 psi. We now need to determine the minimum dimension x in inches that will satisfy this stress constraint. Solve this problem using four different techniques as itemized below. Hint: The solution approaches involve solving a problem of the form: f(x) = 0 a) Rewrite equation 1 in standard polynomial form in descending coefficients of the powers of x then use the built-in MATLAB function roots to compute the representative solution. b) Rewrite equation 1 into a MATLAB function file (beam2b.m) which can be used by MATLABs fzero function. Use the fzero function to compute the solution for this problem, using an initial guess of 35. c) Rationalize the denominators of beam2b.m to generate a more standard polynomial form and name it beam2c.m Use fplot to generate a plot of the function in the range -5x15; insert grid lines to spot the approximate location of the real root. Use the fzero function to compute the solution for this problem using and initial guess of -105. Submit the function file, the plot and the solution computed using fzero. d) Refer to the plot from (c). Use the bisectrr function to compute a root for this function in the interval -5x5. i. Comment on the outcome of the attempt in (d). ii. Select an alternative range that would yield the root for this function. What is the solution?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started