summaryrefslogtreecommitdiff
path: root/3648/CH17/EX17.1
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH17/EX17.1')
-rw-r--r--3648/CH17/EX17.1/Ex17_1.sce10
-rw-r--r--3648/CH17/EX17.1/Ex17_1.txt3
2 files changed, 13 insertions, 0 deletions
diff --git a/3648/CH17/EX17.1/Ex17_1.sce b/3648/CH17/EX17.1/Ex17_1.sce
new file mode 100644
index 000000000..fb4c15ffb
--- /dev/null
+++ b/3648/CH17/EX17.1/Ex17_1.sce
@@ -0,0 +1,10 @@
+//Example 17_1
+clc();
+clear;
+//To find number of electrons flow through bulb
+current=0.15 //Units in C
+q=1.6*10^-19 //Units in C/electron
+noe=current/q //Units in number of Electrons
+printf("The number of electrons that pass through bulb is=")
+disp(noe)
+printf("electrons")
diff --git a/3648/CH17/EX17.1/Ex17_1.txt b/3648/CH17/EX17.1/Ex17_1.txt
new file mode 100644
index 000000000..3b375a68e
--- /dev/null
+++ b/3648/CH17/EX17.1/Ex17_1.txt
@@ -0,0 +1,3 @@
+The number of electrons that pass through bulb is=
+ 9.375D+17
+electrons \ No newline at end of file