summaryrefslogtreecommitdiff
path: root/3871/CH3/EX3.1/Ex3_1.sce
blob: eb21126132d99916e321ba5e2d6453ba8969fbf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===========================================================================
//chapter 3 example 1

clc;
clear all;

//variable declaration
Am      = 10.25;                //measured value in Ω
A       = 10.22;                //True value in Ω

//calculations
dA      = Am-A;                 //absolute error in Ω

//result
mprintf("abslotue error = %3.2f Ω",dA);