summaryrefslogtreecommitdiff
path: root/3836/CH14/EX14.3/Ex14_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH14/EX14.3/Ex14_3.sce')
-rw-r--r--3836/CH14/EX14.3/Ex14_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3836/CH14/EX14.3/Ex14_3.sce b/3836/CH14/EX14.3/Ex14_3.sce
new file mode 100644
index 000000000..95219a990
--- /dev/null
+++ b/3836/CH14/EX14.3/Ex14_3.sce
@@ -0,0 +1,12 @@
+clear
+//Initialization
+l=10*10**-3 //inductance in henry
+di=3
+
+
+//Calculation
+v=l*di //voltage
+
+//Results
+printf("\n Voltage, V = %d mV",v*10**3)
+