summaryrefslogtreecommitdiff
path: root/995/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH4/EX4.2/Ex4_2.sce')
-rwxr-xr-x995/CH4/EX4.2/Ex4_2.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/995/CH4/EX4.2/Ex4_2.sce b/995/CH4/EX4.2/Ex4_2.sce
new file mode 100755
index 000000000..70dd8e66c
--- /dev/null
+++ b/995/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,7 @@
+//Ex:4.2
+clc;
+clear;
+close;
+f=400;//in Hz
+T=1/f;
+printf("Time period of %d Hz waveform = %f sec",f,T); \ No newline at end of file