1 2 3 4 5 6 7 8 9
clc //initialisation of variables P=135//bars Q=201//min p=448 //CALCULATIONS FPH=P*Q/p*0.1//hp //RESULTS printf('The fluid horsepower potential of the system is=% f hp',FPH)