From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 620/CH15/EX15.3/example15_3.sce | 13 +++++++++++++ 620/CH15/EX15.3/example15_3.txt | Bin 0 -> 460 bytes 2 files changed, 13 insertions(+) create mode 100644 620/CH15/EX15.3/example15_3.sce create mode 100644 620/CH15/EX15.3/example15_3.txt (limited to '620/CH15/EX15.3') diff --git a/620/CH15/EX15.3/example15_3.sce b/620/CH15/EX15.3/example15_3.sce new file mode 100644 index 000000000..a832e3287 --- /dev/null +++ b/620/CH15/EX15.3/example15_3.sce @@ -0,0 +1,13 @@ +vp=8; +vm=vp/2; +r=2.2*10^3; +t=2*10^(-3); +disp("Part a"); +i=vm/r; +disp("the peak value of the current (in mA) is"); disp(i*10^3); +disp("Part b"); +f=1/t; +disp("the frequency (in Hz) is"); disp(f); +disp("Part c"); +w=2*%pi*f; +disp("equation representing the current is i=1.82*sin(1000*π*t) mA."); diff --git a/620/CH15/EX15.3/example15_3.txt b/620/CH15/EX15.3/example15_3.txt new file mode 100644 index 000000000..319684779 Binary files /dev/null and b/620/CH15/EX15.3/example15_3.txt differ -- cgit