xxxxxxxxxx
import math
# Circle parameters
circle_center = (0, 0)
circle_radius = 5
# Point to check
point = (2, 3)
# Calculate distance between point and circle center
distance = math.sqrt((point[0] - circle_center[0])**2 + (point[1] - circle_center[1])**2)
# Check if the distance is less than or equal to the circle radius
if distance <= circle_radius:
print("The point is inside the circle.")
else:
print("The point is outside the circle.")
xxxxxxxxxx
#include<stdio.h>
int main()
{
double R, A;
scanf("%lf", &R);
A = 3.14159 * R * R;
printf("A=%.4lf\n", A);
return 0;
}