from math import cos, tan
c = 1.2
x = 1.0
g = 10.0
v0 = 10.0
y0 = 4.0
y = xtan(c)-(1/(2v0))((gxx)/cos(c*2))+y0
print(y)
(学习中,这是哪里有问题呢)
from math import cos, tan
c = 1.2
x = 1.0
g = 10.0
v0 = 10.0
y0 = 4.0
y = x*tan(c)-(1/(2*v0)) * ((g*x*x)/cos(c*2))+y0
print(y)