summaryrefslogtreecommitdiff
path: root/3830/CH7/EX7.5/Ex7_5.sce
blob: 1efe69c70889c5ed9460b29b69a947d0475e7940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 7.5

clc;
clear;

// Given

L = 0.1 ; // Initial length of wire in m
R = 120; // Initial resistance of wire in ohms
delta_L =  0.1*10^-3;// change in length of wire in m
delta_R = 0.21; // change in resistance of wire in ohms

// Solution

e = delta_L/L;
G = (delta_R/R)/e;

printf(' The gauge factor of device = %.2f \n',G);