diff options
Diffstat (limited to '3772/CH1/EX1.5')
-rw-r--r-- | 3772/CH1/EX1.5/Ex1_5.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3772/CH1/EX1.5/Ex1_5.sce b/3772/CH1/EX1.5/Ex1_5.sce new file mode 100644 index 000000000..4907de9fe --- /dev/null +++ b/3772/CH1/EX1.5/Ex1_5.sce @@ -0,0 +1,21 @@ +// Problem 1.5,Page no.11 + + +clc;clear; +close; + +//Circle-1 +a_1=100*%pi //cm**2 +x_1=10 //cm + +//Square-2 +a_2=50 //cm**2 +x_2=15 //cm + +//Calculation + +X_bar=(a_1*x_1-a_2*x_2)*(a_1-a_2)**-1 //cm + + +//Result +printf("The centre of gravity is %.2f cm",X_bar) |