Monday, June 22, 2020

Python Class 164 (Wave Energy Density) - Kapil


print ("*** Application to calculate the Wave Energy Density ***") print ("\n") # The wave energy formula is given by, WDV * EGV * (H * H)/16 WHV1 = float(input("Please enter the Wave height (H) in meters:")) WHV2 = WHV1 * WHV1 #Water density ρ = 999.97 kg/m3 WDV = 999.97 #Gravity g = 9.8 m/s2 EGV = 9.8 WED1 = WDV * EGV * WHV2 WED2 = WED1 / 16 print ("\n") print("The the Wave Energy Density value is: %.2f" %WED2,"J")


===============================================================

https://github.com/bornfreesoul/PythonLessons

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...