summaryrefslogtreecommitdiff
path: root/2252/CH6/EX6.11/Ex6_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2252/CH6/EX6.11/Ex6_11.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2252/CH6/EX6.11/Ex6_11.sce')
-rwxr-xr-x2252/CH6/EX6.11/Ex6_11.sce16
1 files changed, 16 insertions, 0 deletions
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)")