calculate the area and circumference of a circle with a radius of 4 cm. write set of commands used at command prompt in matlab. in matlab

main.m
% Define the radius
radius = 4;

% Calculate the area of the circle
area = pi * radius^2

% Calculate the circumference of the circle
circumference = 2 * pi * radius
166 chars
9 lines

gistlibby LogSnag