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 --- 2252/CH6/EX6.11/Ex6_11.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2252/CH6/EX6.11/Ex6_11.sce (limited to '2252/CH6/EX6.11/Ex6_11.sce') diff --git a/2252/CH6/EX6.11/Ex6_11.sce b/2252/CH6/EX6.11/Ex6_11.sce new file mode 100755 index 000000000..e799a075b --- /dev/null +++ b/2252/CH6/EX6.11/Ex6_11.sce @@ -0,0 +1,16 @@ + +//consider part (i) +phi=%pi/12 +mprintf("For part (i)\nVoltage leads the current wave by %d degrees\n",round(phi*180/%pi)) +f=377.16/(2*%pi) +mprintf("Frequency of the wave shape=%d Hz\n",f) +//consider part (ii) +phi=%pi/3 +mprintf("For part (ii)\nVoltage leads the current by %d degrees\n",round(phi*180/%pi)) +mprintf("Frequency of the wave shape=omega/(2*pi)\n") +//consider part (iii) +phi=0-(-%pi/2) +mprintf("For part (iii)\nVoltage leads the current wave by %d degrees\n",round(phi*180/%pi)) +mprintf("Frequency of the wave shape=omega/pi\n") +//consider part (iv) +mprintf("For part (iv)\nCurrent wave lags the voltage by an angle=alpha+atan(x/R) and the frequency of this wave shape is omega/(2*pi)") -- cgit