diff --git a/Depth_of_lake.py b/Depth_of_lake.py new file mode 100644 index 0000000..ac356e2 --- /dev/null +++ b/Depth_of_lake.py @@ -0,0 +1,6 @@ + +H = float(input("Enter the value of H : ")) +L = float(input("Enter the value of L : ")) +x = ((L*L) - (H*H)) / (2*H) + +print("Depth of lake at A is : ", x) \ No newline at end of file