clc;clear all;r1=input(‘Radius of the circle: ‘);n=input(‘Enter Number of points: ‘);x=2*r1*rand(n,1);y=2*r1*rand(n,1);figure(‘color’,’white’);hold allaxis square;x1=r1;y1=r1; %cirle has…Statistics and Probability