summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.29/24Ex29.sce
blob: 836dbaa8e69684fb720963960a5f40cdb0e0a6b0 (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter 24 Ex 29

clc;
clear;
close;
circumI=352/7; circumO=528/7;
r=circumI/(2*(%pi));
R=circumO/(2*(%pi));
width=(R-r);
mprintf("The widht of the ring is %d meter",width);