summaryrefslogtreecommitdiff
path: root/3401/CH3/EX3.6/Ex3_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3401/CH3/EX3.6/Ex3_6.sce')
-rwxr-xr-x3401/CH3/EX3.6/Ex3_6.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3401/CH3/EX3.6/Ex3_6.sce b/3401/CH3/EX3.6/Ex3_6.sce
new file mode 100755
index 000000000..9bf6b31fc
--- /dev/null
+++ b/3401/CH3/EX3.6/Ex3_6.sce
@@ -0,0 +1,9 @@
+clc
+
+T=300 //K
+//a=E-Ef
+//a=3*k*T
+//fF(E)=1/(1+exp(E-Ef/kT))
+z=exp(3)
+y=1/(1+z) //y=fF(E)
+printf('fF(E)=%f\n',y)