% Now compare with P^m
%
m = input('Enter a value of m (0 to quit): ');
while m > 0
   Pm = P^m
   fprintf('pi = [ ');  % Print pi in decimal
   fprintf(' %g ',pi);  % to compare with P^m
   fprintf(' ]\n\n')
   m = input('Enter a value of m (0 to quit): ');
end
