0% found this document useful (0 votes)
27 views4 pages

Matlabch 5 Musto

chapter 5 handout

Uploaded by

Rajib Barua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
27 views4 pages

Matlabch 5 Musto

chapter 5 handout

Uploaded by

Rajib Barua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
Jn « f reached. To £ Goal Sect a8 shown in has indeed been wappearsin cell dierent valoe Problems 6A Write 2 MATLAB function fl foreach eqution and ind & oot of each ‘equation within oH Tange dbo, using MATLAB feo command a5 a bracketing method a J@)=4e-3e 30-0, osxs5 3 osxei 509 = 10 1sxsi 62 Repeat Problem 6.1, ung MATLAB’ fro command as an open method. , ~*~ 163 Repeat Problem 6.1, using Evel Goal Seek. (64 Solve the beam problem described in Section 6. using: ‘The method described for polynomial equation ing MATLAB b. The method described for general nonlinear equations using an open method in MATLAB. © The method described for general nonlinear equations using a ‘bracketing method in MATLAB, X 4 Themehed described for general nonlinear equations using Enel ‘Comment onthe esuls andthe aplicablity ofeach method 65 Consider the following fonction: Be -6r=6 41° Put the fonction in standard frm, and plot the function using MATLAB, b. Write a simple progam using the Bsetion Method to find any one roctof the equation o within OO}, Weitea simple MATLAB scrip to find the solution tthe polynomial equation using the ots command, %d. Check your results using the Excel Gol Seek tol 94 ite MATL pnd gure fncon) wd he et paste nt nies ethos wih sna cinco) ‘the noting tonnes sin oto wing womans ‘none ma neessseess ‘67 Rework Problem 66 using the MATLAB ferro command as «bracketing metho. {68 Rework Problem 66, using the Exel Goal Sek i 68 in an Excel spreadsheet, apply the Bisecton Method, as deserted in Section 62 to find a oot ofthe following equation: y. = bv, 4 A specie output moton in response to an input motion. This four-bar = Tinkage 8 one-deprevo freedom mechanism: ifthe poston of any one sb Checkye tthe ins hoot epson flo he ote ks an be an & Chek y Gesu that eres moo vig nt he angle ik 26) ern Thown te agit Link (6) canbe fod thogh ston fhe 95 Rest he Eng eat 2 witean Bee cx + [Cn i “where L, isthe length of Link i (Note that Link 1 \s an “iptied lin,” and & Com Simply species the dance between the two rotational pivot points) ea Conte te est ae whee = ln y= nb, =7 yan, = 5218 Forti Beater ne ATAg nigga maintains aoe Gh yoor anes tpr sig el © chek» © Chek Jor anes prs abby dang he mec 1 , Steeler angs cab pam ory ana 6 Ameo where Ste ess Shevtraton 2 pty & Ueam spin th ie Figure P61 otis bar und, apis ihe sand tpt CHAPTERS. Pinng te Rost of nos 12 When an amount of money P is nvested at an annual Interest rte of ( (expressed as decimal value, not 2 percentage), the total value ofthe Investment A alter n earscan be computed as fllows A=Pa4nt Wee a MATLAB program that: Prompts the user to ener an intl investment amount (P), target value forthe investment (4), anda Interest ate) ‘8 Computes and outputs the number of ears (n) that wil ke forthe intial investment grow tos specific target value using» a root finding technique) j= ~ Test the program or an inital investment of $10000, target vale of 100.000, and an interest rate of 10. eb. Check your answer t part a using the Excel Goal Seek tol, © Check your answers to part a and b by developing a computer senerated pot ofA versus fr the test cage values Revisit the interest problem described in Problem 6.12. | Wetea MATLAB program tha Prompts the user to enter an inal savestment amount (P), ‘target vale forthe investment (A), and an investnent period (7) © Computes and outpsthe interes rte (that it wl take for the Inia investment o grow toa specif target vale inthe specied Investment period (oting a roo finding echinigue) ‘Test the program for an ntl investment of $10.00, target valu of $100.00, and an investment period of 20 years Check your answer io para using the Excel Goal Seek too © Check your answers to parts « and b by developing a computer enerated plot ofA versus for the testcase vals, ‘Armechanical system is vibrating according tthe following mel: (OTe (n(.15) + cn. 150) ‘where (the position in inches and ie the time in seconds The ped ofthe vibration is defined as the time it takes to complete one ele of the vibration Using etter MATLAB of Excel, determine the period of he ‘rating system follows Pot the positon ofthe system aa functon of time, Use a toot finding method 1 determine the fst time at which the prstion of the vibrating system zero. © Use a oot finding method to determine the did ie a which the amplitude ofthe wating system sae, 44 Eximatethe ime to completeonecyeleof the vibration by determining the diference between the two times. ant 2. cages Apples “The period ofthe vibration relates tone ofthe numerical parametersinthe ‘model. Using your ovn research, deere which parameter corresponds {othe period and check your answer, cd ‘Consider the holst descbed in Problem 5.16, where 2 SODN weights ‘being ied by a rope wound around the cylinder, with a Known fiction foeficint of k= 03. An engineer has specie a rope to be sed ints tplicaton, which has a known lad capaclty of 780 N, Determine be ‘skint contact angle 6 that can be used with this ope, by: 2 uiting the equation for rope tension in standard frm Plotting the equation using MATLAB. © sing the MATLAB ferro command a5 an open method to find the appropiate souton for contact angle. 44 Reworking pat c using the MATLAB fer command 3s «bracketing method. Checking your answer by resolving it using the Excel Goal Seek tn 4616 Consider the hoist desefbed in Problem 5.6, where a SOO-N weigh is ‘ein ited by avope wound around the eylinder with an unknown etn oeflent,p An engineer has measured the tension Ty required o support the SOON load tobe 950 ata contact angle of € = 85°. Determine the fection coefient by 2 prtng the equation for rope tension In standard form. 1. Potng the equation using MATLAB. Using the MATLAB fer command a broketing method tind ihe ‘appropriate slution for contact ange 0 4. Reworking part ¢ using the MATLAB fero command as an open method. Checking your answer by resolving using the Excel Goal eck eo 67 ‘We earned in Chapter 2 hat all earings are hardened through process 7 A veating nd then pd cooling, of “quenching” by submersion nar ot ‘rate The temperature ofthe ball a fuetin of time, Tin the tath ‘nay be estimated by Equation 23, repeated her: HO =C~ TYE Te ‘where ste time in seconds in the bath 7 the int bal temperate; ‘Tuisthe ol temperstareand ris thetime constantin seconds that depends “ion the materia ofthe bal the geometry ofthe ball, and ol proper. ‘Assume tha the inital ball femperature = 800°C the oll temperature = 40°C. andthe time constant = 50 reconds. Using any meted you peer, fin te time at which the temperature ofthe ball Dearing equals 60°C 300°C, and S0°C

You might also like