summaryrefslogtreecommitdiff
path: root/3556/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3556/CH1/EX1.2/Ex1_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3556/CH1/EX1.2/Ex1_2.sce b/3556/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..6968ef319
--- /dev/null
+++ b/3556/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,20 @@
+clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 1 : Basic Concepts
+// Example 1 - 2
+
+clear; clc; close;
+//
+// Given data
+t = 0.5000;
+//
+// Calculations Current
+i = 5 * sin(4*%pi*t) + 20*%pi*t*cos(4*%pi*t);
+//
+disp("Example 1- 2 Solution : ");
+printf(" \n i = Current = %.10f mA",i)