Java Tutorial - 19 - Sin, Cos, and Tangent (Math Functions)

preview_player
Показать описание

Learn how to use the math functions in the java library to perform calculations and write complex code that require mathematical calculations. Here we learn how to take the trigonometric sin, cos, and tangent of an angle in java.
Рекомендации по теме
Комментарии
Автор

I'm new to math but I have done some java coding
and I'm trying to learn to read formulas and put into java

great video!

Detective_Jones
Автор

Thank you for the information that the input is in radian form, not in degree form.
I was trying this for about 1 month.

mumpighosh
Автор

oh my goodness thank you so much! However, could someone please clarify the difference in Math.toRadians and Math.toDegrees ?

gutenmorgan
Автор

Why Math.cos or same using "double", but not a "BigDecimal"? And if i want to take super precision with cos, sin or tan, what i need to do?

NickProkhorenko
Автор

Thank you very much. On my scientific calculator I forget to convert them.

johnadriandodge
Автор

Is there a method for cotangens as well??

miriammarhefkova