This document provides instructions for a MATLAB assignment involving root finding and numerical integration. Students are asked to:
1. Find the root of an equation using the bisection method with a tolerance of 10-6.
2. Find the width of an alley given the lengths of two crossing ladders using the regula-falsi method.
3. Evaluate an integral using the composite trapezoidal rule with 1000 intervals.
This document provides instructions for a MATLAB assignment involving root finding and numerical integration. Students are asked to:
1. Find the root of an equation using the bisection method with a tolerance of 10-6.
2. Find the width of an alley given the lengths of two crossing ladders using the regula-falsi method.
3. Evaluate an integral using the composite trapezoidal rule with 1000 intervals.
This document provides instructions for a MATLAB assignment involving root finding and numerical integration. Students are asked to:
1. Find the root of an equation using the bisection method with a tolerance of 10-6.
2. Find the width of an alley given the lengths of two crossing ladders using the regula-falsi method.
3. Evaluate an integral using the composite trapezoidal rule with 1000 intervals.
ChE 26 MEX 5: Root Finding and Numerical Integration I Instructions: Create a folder inside the MATLAB directory and name it che26 <section> <surname> mex5 All your script and function files should be saved in this folder. Use a tolerance value of 1 106 . 1. Based on the work of Frank-Kamenetski in 1955, temperatures in the interior of a material with embedded heat sources can be determined if we solve the equation: r
1 Lcr e(1/2)t cosh1 e(1/2)t = 2 Given that Lcr = 0.088, find t using Bisection method. 2. Two ladders crisscross an alley of width W . Each ladder reaches from the base of one wall to some point on the opposite wall. The ladders cross at a height H above the the pavement. Find W given that the length of the ladders are x1 = 20 f t and x2 = 30 f t, and that H = 8 f t. Use Regula-Falsi method.
rpvilla AY1415
page 1 of 2
3. Evaluate the following integral using Composite Trapezoidal Rule with N = 1000. Z 48 1 + cos2 x dx 0
4. Find the root of the function, f (x)
Z x 1 2 et /2 dt 0.45 f (x) = 2 0 a. Use Bisection method and the Composite Simpsons 1/3 Rule. (N = 500) b. Repeat (a) using the Composite Trapezoidal Rule in place of the Composite Simpsons 1/3 Rule. (N = 500)