[Tutor] Code

Steven D'Aprano steve at pearwood.info
Wed Dec 20 10:12:38 EST 2017


On Tue, Dec 19, 2017 at 07:22:50PM -0500, Vinay Rao wrote:
> Hi, 
> 
> We need help coding the range formula, and we don’t really know how to 
> do it. This is the formula, R=(V2Sin2theangle)/(g). We are trying to 
> solve for the angle.

That's not a Python problem, that's a basic algebra problem.

Write the formula in proper mathematical form, and then use algebra to 
solve for the angle.

If you don't know how to solve the algebra problem, ask your maths 
teacher for help.



-- 
Steve


More information about the Tutor mailing list