summaryrefslogtreecommitdiff
path: root/3369/CH12/EX12.2/Ex12_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3369/CH12/EX12.2/Ex12_2.sce')
-rwxr-xr-x3369/CH12/EX12.2/Ex12_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3369/CH12/EX12.2/Ex12_2.sce b/3369/CH12/EX12.2/Ex12_2.sce
new file mode 100755
index 000000000..4cc866adf
--- /dev/null
+++ b/3369/CH12/EX12.2/Ex12_2.sce
@@ -0,0 +1,11 @@
+//Chapter 12, Exmaple 2, page 404
+//Calculate optimum value of r
+clear
+clc
+//Based on equation 12.17
+V1 = 100 // kV
+V2 = 55 // kV
+r = V1*sqrt(2)/V2
+printf("\n Radius = %f cm ",r)
+
+// Answers may vary due to round off error