🚀 Feature request
Revelant Package
This request feature is for Mathematics.
Description
Implementation of Al-Kashi's theorem also named Law of Cosinus.
This theorem is a generalization of the Pythagorean theorem for all sort of triangle.
As you can see on the following image, the formula is really easy to implements :

You can get more information about this algorithm on Wikipedia.
Describe the solution you'd like
Here the signature of the method:
alKashiTheorem(side1: number, side2: number, angle: number): number
This method take 3 parameters as input :
side1 : Size of the first side of the triangle ABC.
side2 : Size of the second side of the triangle ABC.
angle : An angle value opposite to the computed side.
This method return the side of the third size of the triangle.
🚀 Feature request
Revelant Package
This request feature is for Mathematics.
Description
Implementation of Al-Kashi's theorem also named Law of Cosinus.
This theorem is a generalization of the Pythagorean theorem for all sort of triangle.
As you can see on the following image, the formula is really easy to implements :

You can get more information about this algorithm on Wikipedia.
Describe the solution you'd like
Here the signature of the method:
alKashiTheorem(side1: number, side2: number, angle: number): numberThis method take 3 parameters as input :
side1: Size of the first side of the triangle ABC.side2: Size of the second side of the triangle ABC.angle: An angle value opposite to the computed side.This method return the side of the third size of the triangle.