summaryrefslogtreecommitdiff
path: root/416/CH8/EX8.1/exp8_1c.sce
blob: e0e584f90da718a0141a9dda681bc9d760703ebf (plain)
1
2
3
4
5
6
7
8
clear
clc
disp("example 8.1")
h=100 //given height
q=200 //discharge
e=0.9 //efficiency
p=(735.5/75)*q*h*e
printf("\npower developed by hydro plant is %ekW",p)