summaryrefslogtreecommitdiff
path: root/181/CH1/EX1.16/example1_16.sce
blob: 1d6b41d5814d166b4c755a891daa4cb889e00fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Calculate drift velocity in copper
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 1-16 in page 47

clear; clc; close;

// Data given
tou=10^-14; // Relaxation time in s
m_c=0.02*9.1*10^-31; // Effective mass of electron in Kg
E_0=0.1; // Electric field across conductor in V/m
e=1.6*10^-19; // Charge on an electron in C

// Calculation
V_0=(e*E_0*tou)/m_c;

printf("The drift velocity of electrons in copper is %0.3f m/s",V_0);

// Result
// Drift velocity of electrons in copper is 0.009 m/s