diff options
Diffstat (limited to '3769/CH17/EX17.26/Ex17_26.sce')
-rw-r--r-- | 3769/CH17/EX17.26/Ex17_26.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH17/EX17.26/Ex17_26.sce b/3769/CH17/EX17.26/Ex17_26.sce new file mode 100644 index 000000000..bbe1a4e3c --- /dev/null +++ b/3769/CH17/EX17.26/Ex17_26.sce @@ -0,0 +1,13 @@ +clear +//Given +u=-25.0 //cm +f=10.0 //cm +h1=5 + +//Calculation +v=1/((1/f)+(1/u)) +h2=(v*h1)/u + +//Result +printf("\n Position of the image is %0.2f cm",v) +printf("\n Size of the image is %0.2f cm",h2) |