diff options
Diffstat (limited to '3871/CH10/EX10.7/Ex10_7.sce')
-rw-r--r-- | 3871/CH10/EX10.7/Ex10_7.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3871/CH10/EX10.7/Ex10_7.sce b/3871/CH10/EX10.7/Ex10_7.sce new file mode 100644 index 000000000..da12a846b --- /dev/null +++ b/3871/CH10/EX10.7/Ex10_7.sce @@ -0,0 +1,17 @@ +//===========================================================================
+//chapter 10 example 7
+
+
+clc;clear all;
+
+
+//variable declaration
+P = 100; //resistance in Ω
+Q = 10; //resistance in Ω
+S = 46; //resistance in Ω
+
+//calculations
+R = (P/Q)*S; //unknown reistance in Ω
+
+//result
+mprintf("unknown resistance = %3.2f Ω ",R);
|