Source Code
import math
a=float(input("Enter the number to find Ceil value"))
print(math.ceil(a))
b=float(input("Enter the number to find floor value"))
print(math.floor(b))
c=int(input("Enter the number to find Square root"))
print(math.sqrt(c))
d=int(input("Enter the number to find logarithm of any value with base 10"))
print(math.log10(d))
e=int(input("Enter the number to find the value of Sin Cos Tan"))
print(math.sin(e))
print(math.cos(e))
print(math.tan(e))
OUTPUT
Enter the number to find Ceil value 5.66Enter the number to find floor value5.45Enter the number to find Square root255.0Enter the number to find logarithm of any value with base 1020.3010299956639812Enter the number to find the value of Sin Cos Tan450.85090352453411840.52532198881772971.6197751905438615
No comments:
Post a Comment