From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3554/CH5/EX5.4/Ex5_4.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 3554/CH5/EX5.4/Ex5_4.sce (limited to '3554/CH5/EX5.4/Ex5_4.sce') diff --git a/3554/CH5/EX5.4/Ex5_4.sce b/3554/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..2b5cfb0f8 --- /dev/null +++ b/3554/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,22 @@ +// Exa 5.4 + +clc; +clear all; + +// Given data + +n=4; // Number of full digits +V1=12.98;//Reading 1 to be measured(V) +V2=0.6973;//Reading 2 to be measured(V) + +// Solution + +Reso=1/10^n; //Resolution +printf(' Resolution is %.4f \n ',Reso); +disp("There are 5 digit places in 4 and 1/2 digits display, therefore 12.98 would be displayed as 12.980"); +disp(""); +printf(' Resolution on 1V range = %.4f. Any reading upto the 4th decimal can be displayed \n ',1*Reso); +disp("Therefore. 12.98 would be displayed as 12.980 and 0.6973 will be displayed as 0.6973"); +disp(""); +printf(' Resolution on 10V range = %.3f. Therefore. 12.98 would be dislayed as 12.98 \n ',10*Reso); +disp("Therefore on a 10V range,the reading of 0.6973 would be displayed as o.697 instead of 0.6973"); -- cgit