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 --- 3755/CH6/EX6.2/Ex6_2.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 3755/CH6/EX6.2/Ex6_2.sce (limited to '3755/CH6/EX6.2/Ex6_2.sce') diff --git a/3755/CH6/EX6.2/Ex6_2.sce b/3755/CH6/EX6.2/Ex6_2.sce new file mode 100644 index 000000000..21e7b7a1c --- /dev/null +++ b/3755/CH6/EX6.2/Ex6_2.sce @@ -0,0 +1,27 @@ +clear +// +// +// + +//Variable declaration +h=6.63*10^-34; //planck's constant(J-sec) +m=1.673*10^-27; //mass of proton(kg) +v=10^4; //velocity of proton(m/sec) +V1=100; //potential difference in 1st case(V) +V2=10000; //potential difference in 2nd case(V) +V3=6400; //potential difference in 3rd case(V) + + +//Calculations +lamda1=12.25/sqrt(V1) //de-broglie wavelength in 1st case(angstrom) +lamda2=12.25/sqrt(V2) //de-broglie wavelength in 2nd case(angstrom) +lamda3=12.25/sqrt(V3) //de-broglie wavelength in 3rd case(angstrom) +lamda4=12.25/sqrt(V2) //de-broglie wavelength in 4th case(angstrom) +lamda5=h/(m*v); //de-broglie wavelength of proton(m) + +//Result +printf("\n de-broglie wavelength in 1st case is %0.3f angstrom",lamda1) +printf("\n de-broglie wavelength in 2nd case is %0.3f angstrom",lamda2) +printf("\n de-broglie wavelength in 3rd case is %0.3f angstrom",lamda3) +printf("\n de-broglie wavelength in 4th case is %0.3f angstrom",lamda4) +printf("\n de-broglie wavelength of proton is %0.4f angstrom",lamda5*10^10) -- cgit