summaryrefslogtreecommitdiff
path: root/2006/CH5/EX5.1/ex5_1.sce
blob: fd8daef5ddc5fdc7bc02f1564dce5968df1d6e17 (plain)
1
2
3
4
5
clc;
Q12=-250; // Heat transfer during Discharging of battery in kcal
W21=-0.53; // Consumption of electricity dring Charging process in kWh
Q21=(W21*3600)-(Q12*4.1868); // First law of thermodynamics
disp ("kJ",Q21,"Heat loss from battery during charging process");