# EXPERIMENT3.pdf - Experiment-3 Name Belide Aakash...

• Homework Help
• 3
• 100% (1) 1 out of 1 people found this document helpful

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

Experiment-3 Name: Belide Aakash Registration No: 18BIT0216 1) Find the area of the region bounded by the curves x = 𝑦 3 and x = 𝑦 2 Code: clear all clc syms y f=input('Enter the right curve f(y): '); g=input('Enter the left curve g(y): '); L=input('Enter the limits of integration for y [c,d]:'); c=L(1); d=L(2); Area=int(f-g,y,c,d); disp(['Area bounded by the curves f(y) and g(y) is: ',char(Area)]); y1=linspace(c,d,20); x1=subs(f,y,y1); y2=y1; x2=subs(g,y,y1); plot(x1,y1); hold on; plot(x2,y2); hold off; xlabel('x-axis'); ylabel('y-axis'); legend('f(y)','g(y)'); grid on; Input: Enter the right curve f(y): y^2 Enter the left curve g(y): y^3 Enter the limits of integration for y [c,d]:[0,1] Output: Area bounded by the curves f(y) and g(y) is: 1/12
2) Find the volume of solid generated by revolving around the x-axis the region bounded by the curve = 𝑥 2 +4 , the x-axis , and the lines x=0 ,x=2. 4
• • • 