summaryrefslogtreecommitdiff
path: root/3830/CH1/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3830/CH1/EX4.1/Ex4_1.sce')
-rw-r--r--3830/CH1/EX4.1/Ex4_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3830/CH1/EX4.1/Ex4_1.sce b/3830/CH1/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..25e272882
--- /dev/null
+++ b/3830/CH1/EX4.1/Ex4_1.sce
@@ -0,0 +1,19 @@
+// Exa 4.1
+
+clc;
+clear;
+
+// Given
+
+// An oscilloscope
+
+R = 400; // Resistance(k Ohms)
+C = 0.025; // capacitance(micro Farad)
+T = 0.4; // Time period of saw-tooth output waveform(msec)
+
+// Solution
+
+printf(' The percentage of non linearity i.e deviation in output can be given as t/(4*R*C)\n ');
+PD = (T*10^-3)/(4*R*10^3*C*10^-6) ;
+
+printf(' Therefore, by calculation, percent deviation = %d percent \n ',PD*100);