blob: e735f844c1c10a80e6aa3a415f793c2ea2331583 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Given that
v1 = 97 //in km/hr
//Assuming
A1 = 1
//therefore
A2 = 2
//Sample Problem 6-4
printf("**Sample Problem 6-4**\n")
//the terminal velocity is inversly proportional to squre root of area
v2 = v1 * sqrt(A1/A2)
printf("The final velocity of cat will be %f km/hr", v2)
|