summaryrefslogtreecommitdiff
path: root/3755/CH10/EX10.2/Ex10_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH10/EX10.2/Ex10_2.sce')
-rw-r--r--3755/CH10/EX10.2/Ex10_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3755/CH10/EX10.2/Ex10_2.sce b/3755/CH10/EX10.2/Ex10_2.sce
new file mode 100644
index 000000000..80a737297
--- /dev/null
+++ b/3755/CH10/EX10.2/Ex10_2.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+k=4;
+epsilon0=9*10^-12; //relative permeability(F/m)
+E=10^6; //electric field(V/m)
+
+//Calculations
+D=k*epsilon0*E; //electric displacement(C/m^2)
+P=epsilon0*E*(k-1); //polarisation(C/m^2)
+
+//Result
+printf("\n electric displacement is %0.0f *10^-6 C/m^2",D*10^6)
+printf("\n polarisation is %0.0f *10^-6 C/m^2",P*10^6)