blob: 6810547df5832c25b45959e1301f192e95fa9dc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//===========================================================================
//chapter 1 example 1
clc;
clear all;
//variable declaration
d =2.4; //magnitude of output response in mm
R = 6; //magnitude of input in Ω
//calculations
S = d/(R); //static sensitivity in mm/Ω
D = R/(d); //deflection factor in Ω/mm
//result
mprintf("static sensitivity = %3.2f mm/Ω",S);
mprintf("\n deflection factor = %3.2f Ω/mm",D);
//==========================================================================
|