From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3648/CH15/EX15.1/Ex15_1.sce | 18 ++++++++++++++++++ 3648/CH15/EX15.1/Ex15_1.txt | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 3648/CH15/EX15.1/Ex15_1.sce create mode 100644 3648/CH15/EX15.1/Ex15_1.txt (limited to '3648/CH15/EX15.1') diff --git a/3648/CH15/EX15.1/Ex15_1.sce b/3648/CH15/EX15.1/Ex15_1.sce new file mode 100644 index 000000000..5ce841a63 --- /dev/null +++ b/3648/CH15/EX15.1/Ex15_1.sce @@ -0,0 +1,18 @@ +//Example 15_1 +clc(); +clear; +//To find the value of q and how many electrons must be removed and fraction of atoms lost +dist=2 //Units in meters +f=0.0294 //Units in N +s=9*10^9 //Units in N meter^2/C^2 +q=sqrt((dist^2*f)/s) //Units in C +printf("The value of q is=%.8f C\n",q) +charge=3.61*10^-6 //Units in C +c_elec=1.6*10^-19 //Units in C +n=charge/c_elec //Units in number +printf("Number of electrons to be removed is=") +disp(n) +f1=3*10^22 //Units in number +fraction=n/f1 //Units of number +printf("Fraction of atoms lost is=") +disp(fraction) diff --git a/3648/CH15/EX15.1/Ex15_1.txt b/3648/CH15/EX15.1/Ex15_1.txt new file mode 100644 index 000000000..f87b61814 --- /dev/null +++ b/3648/CH15/EX15.1/Ex15_1.txt @@ -0,0 +1,6 @@ +The value of q is=0.00000361 C +Number of electrons to be removed is= + 2.256D+13 +Fraction of atoms lost is= + 7.521D-10 + \ No newline at end of file -- cgit