lab 1B

import math x = float (input (‘Enter the Radius:’))

from math import pi

area = (x **2) * pi

print (‘the area of your circle with radius’, x, ‘is:’, area)

x1 = input (‘enter the value for x1’)

x2 = input (‘enter the value for x2’)

y1 = input (‘enter the value for y1’)

y2 = input (‘enter the value for y2’)

z = (x2-x1) * (x2-x1)

w = (y2-y1) * (y2-y1)

distance = math.sqrt(z+w)

print (‘the distance of the points’, (x1,y1), ‘and’ ,(x2,y2), ‘is’, distance)