summaryrefslogtreecommitdiff
path: root/2084/CH7/EX7.3/7_3.sce
blob: e7f9d756014c8b3ff898048dedf8d63fb3b19f44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 7.3
//calculation of the magnitude of linear acceleration

//given data
r=10*10^-2//radius(in cm)
t=4//time(in s) taken

//calculation
d=2*%pi*r//distance covered
v=d/t//linear speed
a=(v*v)/r

printf('the linear acceleration is %3.2f m/s^2',a)