summaryrefslogtreecommitdiff
path: root/3835/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH4/EX4.4/Ex4_4.sce')
-rw-r--r--3835/CH4/EX4.4/Ex4_4.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3835/CH4/EX4.4/Ex4_4.sce b/3835/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..d008291cf
--- /dev/null
+++ b/3835/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,10 @@
+clear
+//
+i=20
+im=i/(1.414) //that is i*root 2
+//the heat produced by i is the sum of heat produced by dc and ac current
+p=i**2
+q=im**2
+r=p+q
+I=(r**0.5)
+printf("\n I= %0.1f A",I)