Trigonometry.java 811B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * Write a description of class Trigonometry here.
  3. *
  4. * @author (your name)
  5. * @version (a version number or a date)
  6. */
  7. public class Trigonometry
  8. {
  9. /**
  10. * Constructor for objects of class Trigonometry
  11. */
  12. public Trigonometry()
  13. {
  14. }
  15. //sin
  16. public static double sin(double x){
  17. double sin = Math.sin(x);
  18. return sin;
  19. }
  20. //cos
  21. public static double cos(double x){
  22. return null;
  23. }
  24. //tan
  25. public static double tan(double x){
  26. return null;
  27. }
  28. //inverse of sin
  29. public static double sinInverse(double x){
  30. return null;
  31. }
  32. //inverse of cos
  33. public static double cosInverse(double x){
  34. return null;
  35. }
  36. //inver of tan
  37. public static double tanInverse(double x){
  38. return null;
  39. }
  40. }