summaryrefslogtreecommitdiff
path: root/2045/CH2/EX2.20/Ex2_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH2/EX2.20/Ex2_20.sce')
-rwxr-xr-x2045/CH2/EX2.20/Ex2_20.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/2045/CH2/EX2.20/Ex2_20.sce b/2045/CH2/EX2.20/Ex2_20.sce
new file mode 100755
index 000000000..052ebf47a
--- /dev/null
+++ b/2045/CH2/EX2.20/Ex2_20.sce
@@ -0,0 +1,6 @@
+//pagenumber 114 example 20
+clear
+i1=2*10^-7;//ampere
+voltag=0.026;//volt
+i=i1*((exp(0.1/voltag)-1));
+disp("current = "+string((i))+"ampere");