From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1733/CH7/EX7.4/7_4.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 1733/CH7/EX7.4/7_4.sce (limited to '1733/CH7/EX7.4/7_4.sce') diff --git a/1733/CH7/EX7.4/7_4.sce b/1733/CH7/EX7.4/7_4.sce new file mode 100755 index 000000000..b72e98ad9 --- /dev/null +++ b/1733/CH7/EX7.4/7_4.sce @@ -0,0 +1,23 @@ +//7.4 +clc; +V=230; +R=60; +Po_max=V^2/R; +disp('When power output is 400') +Po=400; +Duty_cycle=Po/Po_max; +printf("Duty cycle=%.4f", Duty_cycle) +Ton=0.4537; +T=1; +Toff=1-Ton; +Ratio=Ton/Toff; +printf("\nRatio of Ton and Toff when power output is 400=%.4f", Ratio) +disp('When power output is 700') +Po=700; +Duty_cycle=Po/Po_max; +printf("Duty cycle=%.4f", Duty_cycle) +Ton=0.794; +T=1; +Toff=1-Ton; +Ratio=Ton/Toff; +printf("\nRatio of Ton and Toff when power output is 700=%.4f", Ratio) \ No newline at end of file -- cgit