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 /3622/CH9/EX9.3/Ex9_3.sce | |
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 '3622/CH9/EX9.3/Ex9_3.sce')
-rw-r--r-- | 3622/CH9/EX9.3/Ex9_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3622/CH9/EX9.3/Ex9_3.sce b/3622/CH9/EX9.3/Ex9_3.sce new file mode 100644 index 000000000..648a81031 --- /dev/null +++ b/3622/CH9/EX9.3/Ex9_3.sce @@ -0,0 +1,12 @@ +//Initialisation of variables
+clc
+energy=0.1/100//energy converted
+amp_watt=5/1000
+m=9e-31//mass of electron
+e=1.6e-19//charge of electron
+V=100000//volts
+v=sqrt(2*V*e/m)
+EnConv=V*energy*amp_watt
+EnConvinJ=4.18*EnConv
+printf('maximum speed of electron is %e metre per second \n',v)
+printf('Rate of production of heat is %f calories per second \n',EnConvinJ)
|