import math g = 9.8 # 定数を宣言する print ("Velocity [m/s]?") V = float (input()) # 初速度の大きさを入力する print ("Angle [deg.]?") angle = float (input()) # 仰角を入力する theta = 3.14159 / 180.0 * angle x = 0.0 # 初期値を計算する z = 0.0 u = V * math.cos (theta) w = V * math.sin (theta) print ("%9.3f %9.3f" % (x, z)) # 結果を出力する