summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.26/24Ex26.sce
blob: cd126b78deaed5bfc0b53740a0dac507fbcdb828 (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter 24 Ex 26

clc;
clear;
close;
dia=140; s=66;
speed=(66*1000)/60;  //converting into meter/min or distance to be covered in 1 min
circumference=2*(%pi)*(dia/(2*100));
number=speed/circumference;
mprintf("The number of revolutions per min are %d",number);