summaryrefslogtreecommitdiff
path: root/3830/CH5/EX5.2/Ex5_2.sce
blob: 423ef15adefeb11ca9ed10d8d2c8f54d2ad721b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 5.2

clc;
clear;

// Given 

// Teo magnetic coils

// Solution

printf('When the bullet passes through the first coil, a pulse is generated \n This is applied to an AND gate. The other input to the AND gate is from a crystal oscillator\n When the bullet passes through the second coil, another pulse is generated, which is used to stop counting; this is the disable pulse \n Therefore, the number of counts accelerated during this interval is a measure of the time taken by the bullet to traversea distance d between the coils \n Therefore, velocity = d/t');