summaryrefslogtreecommitdiff
path: root/3014/CH4/EX4.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH4/EX4.18
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 '3014/CH4/EX4.18')
-rwxr-xr-x3014/CH4/EX4.18/Ex4_18.sce13
-rwxr-xr-x3014/CH4/EX4.18/Ex4_18.txt4
2 files changed, 17 insertions, 0 deletions
diff --git a/3014/CH4/EX4.18/Ex4_18.sce b/3014/CH4/EX4.18/Ex4_18.sce
new file mode 100755
index 000000000..a894f4969
--- /dev/null
+++ b/3014/CH4/EX4.18/Ex4_18.sce
@@ -0,0 +1,13 @@
+
+clc
+//Given that
+t = 1.8e-5 // Relaxation time in second
+epsilon_r = 1 // let
+printf("Example 4.18")
+f = 1/(2*%pi*t) // Calculation of frequency
+delta = atan(epsilon_r/epsilon_r)
+phi = 90 - delta*180/%pi // Calculation of phase difference
+printf("\n Frequency is %f KHz\n",f/1e3)
+printf(" Phase difference between current and voltage is %d degree.",phi)
+
+
diff --git a/3014/CH4/EX4.18/Ex4_18.txt b/3014/CH4/EX4.18/Ex4_18.txt
new file mode 100755
index 000000000..273aff63b
--- /dev/null
+++ b/3014/CH4/EX4.18/Ex4_18.txt
@@ -0,0 +1,4 @@
+
+Example 4.18
+ Frequency is 8.841941 KHz
+ Phase difference between current and voltage is 45 degree. \ No newline at end of file