diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3169/CH6/EX6.10/Ex6_10.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3169/CH6/EX6.10/Ex6_10.sce')
-rw-r--r-- | 3169/CH6/EX6.10/Ex6_10.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3169/CH6/EX6.10/Ex6_10.sce b/3169/CH6/EX6.10/Ex6_10.sce new file mode 100644 index 000000000..b0e18423c --- /dev/null +++ b/3169/CH6/EX6.10/Ex6_10.sce @@ -0,0 +1,29 @@ +//developed in windows XP operating system
+//platform Scilab 5.4.1
+clc;clear all;
+//example 6.10
+//calculation of resistance and inductance
+
+//given data
+CR=70.6//value from table
+LC=11.6//value from table
+C=1//capacitance(in microfarad)
+pern=98.8//percentage voltage efficiency
+V=10//rating(in kV)
+LC2=65//value from table
+alpha=0.0535//value from table
+
+//calculation
+R=CR/C
+L=LC/C
+Vo=pern*V/100
+L2=LC2/C
+R2=2*L2*alpha
+Ip=V*C/14
+
+printf('The value of resistance for 1/50 microsecond voltage is %3.1f ohm',R)
+printf('\nThe value of inductance for 1/50 microsecond voltage is %3.1f microhenry',L)
+printf('\nThe value of output voltage is %3.2f kV',Vo)
+printf('\nThe value of inductance for 8/20 microsecond voltage is %d microhenry',L2)
+printf('\nThe value of resistance for 8/20 microsecond voltage is %3.3f ohm',R2)
+printf('\nThe peak value of current is %d A',Ip*10^3)
|