diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3648/CH15/EX15.1 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3648/CH15/EX15.1')
-rw-r--r-- | 3648/CH15/EX15.1/Ex15_1.sce | 18 | ||||
-rw-r--r-- | 3648/CH15/EX15.1/Ex15_1.txt | 6 |
2 files changed, 24 insertions, 0 deletions
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 |