blob: bc53c3a12837f2a9feffda317ff0aa81992691e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Car moving
//let the expression for retardation be
//a=-k*s ...k=constant
//v^2/2=(-k*(s^2)/2)+C1
//When brakes are applied
//s=0 and v=72 kmph
v=20 //m/sec
C1=200
//when vehicle stops
//v=0 s=15 m
k=400/225
//expression for retardation is
//a=-1.778*s ...theory approach
printf("The expression for retardation is a=-1.778*s")
|