diff options
Diffstat (limited to '3871/CH10/EX10.8/Ex10_8.sce')
-rw-r--r-- | 3871/CH10/EX10.8/Ex10_8.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3871/CH10/EX10.8/Ex10_8.sce b/3871/CH10/EX10.8/Ex10_8.sce new file mode 100644 index 000000000..4a7179509 --- /dev/null +++ b/3871/CH10/EX10.8/Ex10_8.sce @@ -0,0 +1,15 @@ +//===========================================================================
+//chapter 10 example 8
+
+clc;clear all;
+
+//variable declaration
+S = 6; //resistance in Ω
+AB = 25; //length of AB in cm
+BC = 75; //length of BC in cm
+
+//calculations
+R = (AB/BC)*S; //unknown reistance in Ω
+
+//result
+mprintf("unknown resistance = %3.0f Ω ",R);
|