summaryrefslogtreecommitdiff
path: root/1616/CH2/EX2.1/ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1616/CH2/EX2.1/ex2_1.sce')
-rw-r--r--1616/CH2/EX2.1/ex2_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1616/CH2/EX2.1/ex2_1.sce b/1616/CH2/EX2.1/ex2_1.sce
new file mode 100644
index 000000000..e2d32c65a
--- /dev/null
+++ b/1616/CH2/EX2.1/ex2_1.sce
@@ -0,0 +1,13 @@
+//ex:.2.1 (a)to find transit time (b)frequency at which the transit time is 10% of the signal period (c)signal voltage on the other end
+l=0.1; //in meter
+v=2e8; //in m/sec
+tr=l/v; //in sec
+ disp('the value of Transit time is='+string(tr)+'sec');
+ T=10*tr;
+ f=1/T; //in Hz
+ disp('frequency='+string(f)+'Hz');
+ A=1;
+ vt=A*cos(%pi*2*f*(-tr));
+ disp('the instateneous value of voltage signal at t=0 is 1V and at t=-tr is='+string(vt)+'V');
+disp('The voltage at the other end of the line therefore is = 0V')
+