function area = areaTorus3(y )
% This function computes the area of the disk for part 3.

rad1 = 2 - sqrt( 1 - y.^2 ) ;
rad2 = 2 + sqrt( 1 - y.^2 ) ;

area = pi*( rad2.^2 - rad1.^2 ) ;