

(The code that has to be converted to a functionfile)
% Script HW06P3
x = input(‘Enter a value for x, scalar or array: ‘); [m,n] =size(x);
Prec = input(‘Enter a non-negative precision <1E-2 : ‘);
while Prec <= 0 || Prec >= 1E-2
fprintf(‘Precision must be non-negative number <1E2n’);
Prec = input(‘Re-enter a non-negative
PayPal Gateway not configured
PayPal Gateway not configured