summaryrefslogtreecommitdiff
path: root/3809/CH6/EX6.1/EX6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3809/CH6/EX6.1/EX6_1.sce')
-rw-r--r--3809/CH6/EX6.1/EX6_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3809/CH6/EX6.1/EX6_1.sce b/3809/CH6/EX6.1/EX6_1.sce
new file mode 100644
index 000000000..a1318dcda
--- /dev/null
+++ b/3809/CH6/EX6.1/EX6_1.sce
@@ -0,0 +1,12 @@
+//Chapter 6, Example 6.1
+clc
+//Initialisation
+w=1000 //angular frequency
+L=10**-3 //inudctance in henry
+
+
+//Calculation
+Xl=w*L //reactance in ohm
+
+//Results
+printf("Reactance, Xl = %d Ohm",Xl)