summaryrefslogtreecommitdiff
path: root/608/CH40/EX40.03/40_03.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH40/EX40.03/40_03.sce')
-rwxr-xr-x608/CH40/EX40.03/40_03.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/608/CH40/EX40.03/40_03.sce b/608/CH40/EX40.03/40_03.sce
new file mode 100755
index 000000000..a894de01e
--- /dev/null
+++ b/608/CH40/EX40.03/40_03.sce
@@ -0,0 +1,14 @@
+//Problem 40.03: A coaxial cable has an inner core radius of 0.5 mm and an outer conductor of internal radius 6.0 mm. Determine the capacitance per metre length of the cable if the dielectric has a relative permittivity of 2.7.
+
+//initializing the variables:
+e0 = 8.85E-12;
+er = 2.7;
+ri = 0.0005; // in m
+ro = 0.006; // in m
+
+//calculation:
+//capacitance C
+C = 2*%pi*e0*er/(log(ro/ri))
+
+printf("\n\n Result \n\n")
+printf("\n capacitance is %.3E Farad.",C) \ No newline at end of file