summaryrefslogtreecommitdiff
path: root/2441/CH5/EX5.17/Ex5_17.sce
blob: 32be3be118f9dea399acf168bb1d24ee62266717 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 5.17
clc;clear;close;
format('v',6);
KE=1500;//MJ
Pin=5;//MW
f=50;//Hz
t=1;//sec
delKE=Pin*t;////MJ///due to power inputs
fnew=sqrt((KE+delKE)/KE) *f;//Hz
delf=fnew-f;///Hz/second
disp(delf,"Frequency increase rate(Hz/sec)");