Please solve all 3 problems on MATLAB and provide code and output.
1 | Page
ME 350 Project 2
Posted February 26, 2019, Due March 5 2019
Higher level tools for roots of f(x) = 0 problems
Q. 1. The velocity of a falling parachutist is given by the following formula:
Where g=9.81 m/s2
, the drag coefficient c=13.5 kg/s.
Compute the mass (m) of the parachutist so that v = 40.7 m/s when t = 12.8 s
Hint. This is an f(x) = 0 type problem, with corresponding variables v(m) = 0
(a) Rearrange the terms and write a simple m-file, then use this file to use a
regular plot command to locate the approximate root. Submit the m-file and
the corresponding plot. Here you will need to experiment with a range of
values of ‘m’ .
(b) Modify the m-file from (a) into a function file that can be used with the
fzero function to compute a refined root. Submit your function and the
solution it displays in the MATLAB command window.
Q.2. Consider the square cross section beam anchored on one end and supporting a
500 lb weight. Other details are shown in figure below. Ref. Musto ch. 6. This
exercise will help you review methods for solving f(x) = 0 problems.
According to strength of materials principles, the maximum bending stress
experienced by the cantilever beam shown above is:
2 | Page
σ = 335,000/x3
+ 92,600/x (1)
This reflects the suspended weight, the specific weight (weight per unit length),
and the length of the beam. From materials science, the maximum allowable stress
(i.e. limiting stress before the onset of yielding) for the beam material is 17,750
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
Hint: The solution approaches involve solving a problem of the form: f(x) = 0
a) Rewrite equation 1 in polynomial form in descending coefficients of the
powers of x then use the built-in MATLAB function roots to compute the
b) Rewrite equation 1 into a MATLAB function file (beam2b.m) which can be
used by MATLAB’s fzero function. Use the fzero function to compute the
solution for this problem, using an initial guess of 43.
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 -5≤x≤15; 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 -125. 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 -5≤x≤5.
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?
3 | Page
Q.3. In designing a spherical tank whose schematic is shown below, you need to
determine the height of water in the tank if the radius R of the tank is 2.7 m, and
the volume V is 37.8 m3
. The equation for computing V as a function of R and h is:
ܸ ൌ ߨ݄ଶ ඌ3ܴ െ ݄
Treat this is an f(h) = 0 problem to compute the height of water in the tank for
the given values of V and R
(a) Write a MATLAB function file that computes the volume the fluid in the
spherical tank as a function h; and generates a plot of V versus h.
(b) From your plot determine approximate of root for this function.
(c) Use fzero with the aid of the approximate root from (b) to compute the
desired root accurately.
The MATLAB function file you used for (a) above
The plot generated with axis labels and grid lines showing
The approximate root from (b) above
The accurate root computed using fzero that is echoed to the
Why Choose Us
At Myhomeworkwriters.com, we always aim at 100% customer satisfaction. As such, we never compromise o the quality of our homework services. Our homework helpers ensure that they craft each paper carefully to match the requirements of the instruction form.
Professional Academic Writers
With Myhomeworkwriters.com, every student is guaranteed high-quality, professionally written papers. We ensure that we hire individuals with high academic qualifications who can maintain our quality policy. These writers undergo further training to sharpen their writing skills, making them more competent in writing academic papers.
Our company maintains a fair pricing system for all academic writing services to ensure affordability. Our pricing system generates quotations based on the properties of individual papers.
My Homework Writers guarantees all students of swift delivery of papers. We understand that time is an essential factor in the academic world. Therefore, we ensure that we deliver the paper on or before the agreed date to give students ample time for reviewing.
Myhomeworkwriters.com maintains a zero-plagiarism policy in all papers. As such, My Homework Writers professional academic writers ensure that they use the students’ instructions to deliver plagiarism-free papers. We are very keen on avoiding any chance of similarities with previous papers.
Customer Support 24/7
Our customer support works around the clock to provide students with assistance or guidance at any time of the day. Students can always communicate with us through our live chat system or our email and receive instant responses. Feel free to contact us via the Chat window or support email: firstname.lastname@example.org.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our writers complete papers strictly according to your instructions and needs, no matter what university, college, or high school you study in.
Our Homework Writing Services
My Homework Writers holds a reputation for being a platform that provides high-quality homework writing services. All you need to do is provide us with all the necessary requirements of the paper and wait for quality results.
At My Homework Writers, we have highly qualified academic gurus who will offer great assistance towards completing your essays. Our homework writing service providers are well-versed with all the aspects of developing high-quality and relevant essays.
Admission and Business Papers
With Myhomeworkwriters.com, we will help you secure a position at your desired institution. Our essay writing services include the crafting of admissions papers. We will still help you climb your career ladder by helping you write the official papers that will help you secure a job. We will guide you on how to write an outstanding portfolio or resume.
Editing and Proofreading
Myhomeworkwriters.com has a professional editorial team that will help you organize your paper, paraphrase it, and eliminate any possible mistakes. Also, we will help you check on plagiarism to ensure that your final paper posses quality and originality.
My Homework Writers harbors professional academic writers from diverse academic disciplines. As such, we can develop homework writing services in all academic areas. The simplicity or complexity of the paper does not affect the quality of homework writing services.