Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Script box to be filled please ! My Solutions> Area Between Curves (functions of x) Recall the process to find the area between curves by

image text in transcribed

image text in transcribed

Script box to be filled please !

My Solutions> Area Between Curves (functions of x) Recall the process to find the area between curves by integrating with respect to x: 1. Sketch the graphs of the curves 2. Find the points of intersection 3. Integrate the larger (top) function minus the maller (bottom) function over the desired interval. If the curves intersect between the endpoints, integrate over each subinterval Use this process to find the area between the graphs om x) x"3-3" x"2 and g( X-4 , Your Script Save C Reset EE MATLAB Documentation % Define variables 2 syms X: 4 9-a(x) ; 5 % Find intersection points to get plot range 6 IP solve 8 % DO NOT CHANGE CODE ON THESE LINES-determine largest and smallest intersection points for plot range 9 IPorder-sort (IP). % order smallest to largest a-double( IPO rder(1)); % define a as the smallest intersection point 11 b-double( IPO rder(end)); % define b as the largest intersection point 12 % if other intersection points, define them here (run code to find out) 13 pfzfplot(f, [a-1 b+1]); % Plot f in a range to show all intersections 14 hold on 15 pgzfp lot (g, [a-1 b+11); % Plot g in a range to show all intersections 16 17 % integrate Top - Bottom over each subinterval 18 A1-int) 19 A2-int 20 A2A1+42 % If additional subintervals, include them above and add them here 21 22 % Simpler strategy in MATLAB: Integrate abs (f(x)-g(x)) over the entire interval [a, b] 23 Aalt-int) Run Script

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions