blob: 7fe9cebb4070c993f447fa4a74d5077408bd4c06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
clear all;
//variable declaration
Am = 25.34; //measured value in watts
dA = -0.11; //absolute error in watts
//calculations
A = Am-dA; //True value in wtts
//result
mprintf("abslotue error = %3.2f watts",A);
|