Or login with:

#include <stdio.h> #include <codecogs/maths/geometry/pythgen.h> int main() { //an equal-sided triangle with the side value of 3.5 double thirdSide = pythgen_PythagorasGen(3.5,3.5,60); printf("\nThe value of the 3rd side: %.2lf", thirdSide); return 0; }
The value of the 3rd side: 3.50| doublepythgen_SetAngleDegRad( | const double | alpha | ) |
| alpha | value of angle measured in degrees |
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
| doublepythgen_PythagorasGen( | const double | x | |
| const double | y | ||
| const double | alpha | ) |
| x | the value of one side of the triangle |
| y | the value of another side of the triangle |
| alpha | the value of the angle between the sides given in degrees |
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge