summaryrefslogtreecommitdiff
path: root/3554/CH12/EX12.1/Ex12_1.sce
blob: 820e88065b8a4a448ab139472beb793b2d82bce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Exa 12.1

clc;
clear all;

// Given data

Chart_speed=40; // in mm/sec
Time_base=5; // in mm

// Solution

Period= Time_base/Chart_speed;
frequ=1/Period;
printf(' The frequency of the signal = %d cycles/sec \n',frequ);