clear; clc;

r = input("Enter r > 0? ", "s");
r = str2num(r);
if isempty(r)
    disp("Not a number.");
else
    if r > 0
        A = r ^ 2 * pi;
        disp("A = " + A);
    else
        disp("r < 0.");
    end
end