summaryrefslogtreecommitdiff
path: root/3886/CH12/EX12.15/12_15.sce
blob: 96c055e8a82f68ebf7593e1d937d4937dd027fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//particle in motion
//v=t^3-t^2-2*t+2
//a=3*t^2-2*t-2
//acceleration after 4 seconds
a=3*4^2-2*4-2  //m/sec^2
//s=(t^4)/4-(t^3)/3-(t^2)+2*t+C
//c is constant of acceleration
//applying given condition
C=4/3
s=(4^4)/4-(4^3)/3-(4^2)+2*4+(4/3)  //m
//using maxima and minima principle
//minimum value of acceleration (amin)
amin=3*((1/3)^2)-2*(1/3)-2  //m/sec^2
printf("\nMinimum value of acceleration=%.2f m/sec^2",amin)