summaryrefslogtreecommitdiff
path: root/24/CH26/EX26.1
diff options
context:
space:
mode:
Diffstat (limited to '24/CH26/EX26.1')
-rwxr-xr-x24/CH26/EX26.1/Example26_1.sce11
-rwxr-xr-x24/CH26/EX26.1/Example26_1_result.txt2
2 files changed, 13 insertions, 0 deletions
diff --git a/24/CH26/EX26.1/Example26_1.sce b/24/CH26/EX26.1/Example26_1.sce
new file mode 100755
index 000000000..2f33f1b68
--- /dev/null
+++ b/24/CH26/EX26.1/Example26_1.sce
@@ -0,0 +1,11 @@
+exec('electrostatics.sci', -1)
+
+//Given that
+C = 55*10^-15 //in F
+V = 5.3 //in V
+
+//Sample Problem 26-1
+printf("**Sample Problem 26-1**\n")
+Q = C*V
+n = Q/e
+printf("The number of excess electron is equal to %e", n) \ No newline at end of file
diff --git a/24/CH26/EX26.1/Example26_1_result.txt b/24/CH26/EX26.1/Example26_1_result.txt
new file mode 100755
index 000000000..34af00b1f
--- /dev/null
+++ b/24/CH26/EX26.1/Example26_1_result.txt
@@ -0,0 +1,2 @@
+**Sample Problem 26-1**
+The number of excess electron is equal to 1.821875e+006 \ No newline at end of file