A vinyl . I hope I helped !
Answer:
function [Area,Perimeter,L]=f_circle(x)
% Area: pi*x^2 area of circle with radius x
% Perimeter: 2*pi*x perimeter length of circle with radius x
% x can be a vector
minargs=1;maxargs=1;narginchk(minargs,maxargs); % only 1 input accepted
if ~isequal('double',class(x)) 5 input has to be type double
disp('input type not double');
return;
end
Area=pi*x.^2;
Perimeter=2*pi*x;
end
Answer:
Explanation:
(a(aaa+aab+aac+aba+abb+abc+aca+acb+acc+baa+bab+bac+bba+bbb+bbc+bca+bcb+bcc+caa+cab+cac+cba+cbb+cbc+cca+ccb+ccc)^{*}a)\,\,+\,\,(b(aaa+aab+aac+aba+abb+abc+aca+acb+acc+baa+bab+bac+bba+bbb+bbc+bca+bcb+bcc+caa+cab+cac+cba+cbb+cbc+cca+ccb+ccc)^{*}b)\,\,+\,\,(c(aaa+aab+aac+aba+abb+abc+aca+acb+acc+baa+bab+bac+bba+bbb+bbc+bca+bcb+bcc+caa+cab+cac+cba+cbb+cbc+cca+ccb+ccc)^{*}c)
The strings generated are as follows:
'a' separated from 'a' by any string which is a multiple of 3
or
'b' separated from 'b' by any string which is a multiple of 3
or
'c' separated from 'c' by any string which is a multiple of 3.