#include <iostream>
#include <iomanip>
#include <cmath>
int main()
{
int x=60; //x is the measure of angle in degrees.
int V= 144; //Initial velocity
double t= 0.5; //Seconds
double h; // height
std::cout << "Time" << '\t'
<< "Height" << std::endl;
while(t<=8.0)
{
h = V*t*sin(x*M_PI/180)- 16*t*t;
std::cout << t << '\t' << h << std::endl;
t += 0.5;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPGNtYXRoPgoKaW50IG1haW4oKQp7CiAgICBpbnQgeD02MDsgLy94IGlzIHRoZSBtZWFzdXJlIG9mIGFuZ2xlIGluIGRlZ3JlZXMuCiAgICBpbnQgVj0gMTQ0OyAvL0luaXRpYWwgdmVsb2NpdHkKCWRvdWJsZSB0PSAwLjU7IC8vU2Vjb25kcwoJZG91YmxlIGg7IC8vIGhlaWdodAoJCgoJc3RkOjpjb3V0IDw8ICAiVGltZSIgPDwgJ1x0JwoJPDwgIkhlaWdodCIgPDwgc3RkOjplbmRsOwoJd2hpbGUodDw9OC4wKQoJewoJICAgIGggPSBWKnQqc2luKHgqTV9QSS8xODApLSAxNip0KnQ7CgkgICAgc3RkOjpjb3V0IDw8ICB0IDw8ICdcdCcgPDwgaCA8PCBzdGQ6OmVuZGw7CgkgICAgdCArPSAwLjU7Cgl9CglyZXR1cm4gMDsKfQ==