# EXP_3A.pdf - Department of Mathematics School of Advanced...

• Test Prep
• 3

This preview shows page 1 - 2 out of 3 pages.

Department of Mathematics, Vellore Institute of Technology, Vellore. Page 1 Department of Mathematics School of Advanced Sciences MAT 1011 Calculus for Engineers (MATLAB) Experiment 3 A Applications of Integrals: finding area, volume of solid of revolution Area between the curves If f and g are continuous with ) ( ) ( x g x f for ] , [ b a x , then the area of the region between the curves ) ( x f y and ) ( x g y from a to b is the integral b a dx x g x f A )] ( ) ( [ . Also, if a region’s bounding curves f and g are described by functions of y , where f denotes the right hand curve and g denotes the left hand curve, ) ( ) ( y g y f being non negative, then the area of the region between the curves ) ( y f x and ) ( y g x from c y to d is the integral d c dy y g y f A )] ( ) ( [ . Example 1. The area bounded by the curves 2 2 x y and the line x y , from 1 x to 2 is given by the following code: clear all clc syms x f=input( 'Enter the upper curve f(x): ' ); g=input( 'Enter the lower curve g(x): ' ); L=input( 'Enter the limits of integration for x [a,b]:' );