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 --- 24/CH35/EX35.4/Example35_4.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 24/CH35/EX35.4/Example35_4.sce (limited to '24/CH35/EX35.4/Example35_4.sce') diff --git a/24/CH35/EX35.4/Example35_4.sce b/24/CH35/EX35.4/Example35_4.sce new file mode 100755 index 000000000..b22203863 --- /dev/null +++ b/24/CH35/EX35.4/Example35_4.sce @@ -0,0 +1,12 @@ +//Given that +L= 10 //in cm +f1 = 24 //in cm +f2 = 9 //in cm +xo = -6 //in cm + +//Sample Problem 35-4 +printf("**Sample Problem 35-4**\n") +xi1 = xo*f1/(xo+f1) +xo2 = xi1 - L +xi2 = xo2*f2/(xo2+f2) +printf("The final image will be at a distance of %dcm from the second mirror", xi2) \ No newline at end of file -- cgit