paneltowater.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:FY2017Group5 作者: Will-Hough 项目源码 文件源码
def paneltoenergy():

    panellength=length.get()
    panelwidth=width.get()


    #Total energy from sun is 1850 watts per square meter

    size = panellength*panelwidth

    raw_energy = size*1850

    #assuming that half of the energy is lost into the atmosphere

    energy_output = raw_energy/2

    #calorimitry begins here

    Q = energy_output
    m = Q/(4.184*80)

    tkMessageBox.showinfo("Results", "You can boil " + str(m) +" Litres of room temperature water.")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号