summaryrefslogtreecommitdiff
path: root/3630/CH20/EX20.1/Ex20_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH20/EX20.1/Ex20_1.sce')
-rw-r--r--3630/CH20/EX20.1/Ex20_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3630/CH20/EX20.1/Ex20_1.sce b/3630/CH20/EX20.1/Ex20_1.sce
new file mode 100644
index 000000000..762d75d37
--- /dev/null
+++ b/3630/CH20/EX20.1/Ex20_1.sce
@@ -0,0 +1,7 @@
+clc;
+t=0.018;
+I=50;
+D=(I^2)*t;
+if (D <= 145) then
+ disp('device can handle this surge');
+end