summaryrefslogtreecommitdiff
path: root/3836/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3836/CH2/EX2.7/Ex2_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3836/CH2/EX2.7/Ex2_7.sce b/3836/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..30573a8b9
--- /dev/null
+++ b/3836/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,12 @@
+clear
+//Initialisation
+r1=200 //resistance in ohm
+r2=300 //resistance in ohm
+
+
+//Calculation
+v=(10*r2)/(r1+r2) //resistance in ohm
+
+//Result
+printf("\n V = %d V",v)
+