% ringArea(number, number) -> number
% Author: James Atlas
% Section: 45L TA: Joe
% Description:
%   Computes the area of a ring given the radii of two concentric circles.
%   Expects the first radii to be greater than the second.
% Examples:
%   ringArea(5,3) -> 6.2832
%   ringArea(10,9) -> 15
%   ringArea(6,3) -> 30
function out = ringArea(radius1, radius2)
circleArea1 = circleArea(radius1);
circleArea2 = circleArea(radius2);
  out = circleArea1 - circleArea2;