summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.4/Ex7_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH7/EX7.4/Ex7_4.sce')
-rw-r--r--3769/CH7/EX7.4/Ex7_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH7/EX7.4/Ex7_4.sce b/3769/CH7/EX7.4/Ex7_4.sce
new file mode 100644
index 000000000..600dae6fd
--- /dev/null
+++ b/3769/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+P1=100.0 //W
+P=1100.0 //W
+V=250
+
+//Calculation
+P2=P-P1
+R=V**2/P2
+
+//Result
+printf("\n The value of unknown resistance is %0.3f ohm", R)