1. Write program in python that calculates each angle of a regular polygon by using the following relationship Angle = (n − 2)180/n , where n is the number of sides of the polygon. The program should take n as input.
2. Write python Programs for Calculates the value of the response of the activation function ReLU is defined where the response value R(z)=max(0,z).
Answers
Answered by
0
Answer:
Jhhhhdhfhhdh Hfhfjd HFJFJJFJFJFJJFJFJFJFJFYDHSGEYHFIG
Answered by
0
Answer:
If we put 3 in input.
output: Each angle of a regular polygon is equal to: 60 degree.
Explanation:
n = int(input("Enter the number of sides of the polygon: "))
angle = ((n-2)*180)/n
print("Each angle of a regular polygon is equal to: ",angle, "degree.")
Similar questions