summaryrefslogtreecommitdiff
path: root/2045/CH2/EX2.21/Ex2_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH2/EX2.21/Ex2_21.sce')
-rwxr-xr-x2045/CH2/EX2.21/Ex2_21.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2045/CH2/EX2.21/Ex2_21.sce b/2045/CH2/EX2.21/Ex2_21.sce
new file mode 100755
index 000000000..6082624d7
--- /dev/null
+++ b/2045/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,11 @@
+//pagenumber 115 example 21
+clear
+resacu=1*10^-6;//ampere
+voltaf=150*10^-3;//volt
+w=8.62*10^-5;
+voltag=0.026;//volt
+u=300;//kelvin
+uw=u*w;
+resist=(uw)/((resacu)*exp(voltaf/voltag));
+disp("resistance at 150mvolt = "+string((resist))+"ohm");//correction in the book
+