diff options
Diffstat (limited to '24/CH42/EX42.1')
-rwxr-xr-x | 24/CH42/EX42.1/Example42_1.sce | 10 | ||||
-rwxr-xr-x | 24/CH42/EX42.1/Example42_1_result.txt | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/24/CH42/EX42.1/Example42_1.sce b/24/CH42/EX42.1/Example42_1.sce new file mode 100755 index 000000000..7e08a4f45 --- /dev/null +++ b/24/CH42/EX42.1/Example42_1.sce @@ -0,0 +1,10 @@ +//Given that
+T = 300 //in K
+e = 1.6*10^-19 //in coulomb
+Eg = 5.5*e //in J
+K = 8.62*10^-5*e //in J/K
+
+//Sample Problem 42-1
+printf("**Sample Problem 42-1**\n")
+P = %e^(-Eg/(K*T))
+printf("The probability is equal to %e", P)
\ No newline at end of file diff --git a/24/CH42/EX42.1/Example42_1_result.txt b/24/CH42/EX42.1/Example42_1_result.txt new file mode 100755 index 000000000..8177877ac --- /dev/null +++ b/24/CH42/EX42.1/Example42_1_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 42-1**
+The probability is equal to 4.291912e-093
\ No newline at end of file |