ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 4 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 11 May 2017 My Price 9.00

EGR 102 Introduction to Engineering ModelingLab 08

I really need help with this EGR 102 question. I am required to use the Newton-Raphson Method in solving but I am not sure of where to start. 

 

 

EGR 102 Introduction to Engineering ModelingLab 08B Homework1.Lab Assignment (10 pts)Part 1:A spherical storage tank containing oil has a known radius(r). You are tasked with calculating the height (h) to which thedipstick would be wet with oil when immersed in the storage tankwhen it contains a specified volume of oil. For a given volumeV(m3)of oil and tank radiusr (m), the following equation can beused to find the heighth (m)of the liquid in the spherical tank.°(ℎ) =±3ℎ2(3² − ℎ) − ³ = 0Createa MATLABfunctionto calculate the height of the oil in the tank by making use of theNewton-Raphson Method with the equation provided.[h_final,n]=YourLastName_OilDepth(r,V,h_guess, accRelErr)1.The function should take as(4) inputstheradiusof the sphere (r),volumeof oil (V), the initialguess for the height (h_guess),and theacceptable relative percent error (accRelErr).2.Use awhile loopto repeat your calculations until the percent relative error isbelowtheacceptable value. All calculations relevant to the height of the oil in the tank and the Newton-Raphson Method should be within this loop. Recall that the general form of the Newton-Raphson Method is:´µ+1= ´µ−¶(·¸)¶′(·¸)Hint:The general setup for a Newton-Raphson problem doesn’t change. The example from theslides can serve as a general structure for you.3.The function should have(2) outputs:the converged solution for the height (h_final) and thenumber of iterations it took to reach this solution (n).4.Setup a script file called YourLastName_OilDepthScript that will run your function. You will havethree pairs of values to use being:r1 = 2.8 m and V1 = 17.1 m3, r2 = 1.5 m and V2 = 6.2 m3, r3 = 3.3 m and V3 = 29.6 m3Use aninitial guessofh=0.75 m, and an acceptable relative percent error of0.001%.2.Reading Assignment (1 pt per question)Read chapter 18.4 from the text in preparation for the next lab. Complete the associatedassignment 8B in-lab assignment on MEL before lab 9A.Write your name, EGR 102, Section #, Lab HW #, and Fall 2016 in your .m files.Provide the name(s) of anyone you worked with in the comments for the dropbox.Provide descriptive comments where appropriate in the file.Files should be named:YourLastName_OilDepthYourLastName_OilDepthScriptDue Date: Before the start of Lab 9A

Answers

(11)
Status NEW Posted 11 May 2017 08:05 AM My Price 9.00

-----------

Attachments

file 1494489999-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)