From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2243/CH1/EX1.2/Ex1_2.sce | 13 +++++++++++++ 2243/CH1/EX1.2/Res1_2.txt | 1 + 2 files changed, 14 insertions(+) create mode 100755 2243/CH1/EX1.2/Ex1_2.sce create mode 100755 2243/CH1/EX1.2/Res1_2.txt (limited to '2243/CH1/EX1.2') diff --git a/2243/CH1/EX1.2/Ex1_2.sce b/2243/CH1/EX1.2/Ex1_2.sce new file mode 100755 index 000000000..9bd09758e --- /dev/null +++ b/2243/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,13 @@ +clear; +clc(); +//Given : +M= 10.0; //weight in g +V= 5.80;//volume in cm^3 +Rho = M/V; // Density in g/cm^3 +delta_M= 0.2 // apparatus has a least count of 0.2 g +delta_V= 0.05// apparatus has a least count of 0.05 cm^3 +delta_Rho = (delta_M/V) +((M*delta_V)/V^2);// absolute error in g/cm^3 +re = delta_Rho/Rho ; //Evaluating Relative Error +p = re*100;// Evaluating Percentage Error +printf("Percentage error = %.1f percentage.",p); +//Result obtained differs from that in textbook, because delta_M walue is taken 0.1 g , instead of 0.2 g as mentioned in the problem statement. diff --git a/2243/CH1/EX1.2/Res1_2.txt b/2243/CH1/EX1.2/Res1_2.txt new file mode 100755 index 000000000..7655dd467 --- /dev/null +++ b/2243/CH1/EX1.2/Res1_2.txt @@ -0,0 +1 @@ + Percentage error = 2.9 percentage. \ No newline at end of file -- cgit