summaryrefslogtreecommitdiff
path: root/273/CH5/EX5.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /273/CH5/EX5.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '273/CH5/EX5.1')
-rwxr-xr-x273/CH5/EX5.1/ex5_1sce.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/273/CH5/EX5.1/ex5_1sce.sce b/273/CH5/EX5.1/ex5_1sce.sce
new file mode 100755
index 000000000..1ead0a8ae
--- /dev/null
+++ b/273/CH5/EX5.1/ex5_1sce.sce
@@ -0,0 +1,15 @@
+clc;clear;
+//Example 5.1
+//Electron refraction, calculation of potential difference
+
+//given values
+ V1=250;//potential by which electrons are accelerated in Volts
+ alpha1=50*%pi/180;//in degree
+ alpha2=30*%pi/180;//in degree
+b=sin(alpha1)/sin(alpha2);
+ //calculation
+V2=(b^2)*V1;
+a=V2-V1;
+disp(a,'potential difference(in volts) is:');
+
+