From f0f24bca953ba5ccec3b37dbb0998bd639c03e77 Mon Sep 17 00:00:00 2001 From: xyh <447767881@qq.com> Date: Thu, 6 Aug 2020 21:48:07 +0800 Subject: [PATCH] trigonometric_function.java --- trigonometric_function.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 trigonometric_function.java diff --git a/trigonometric_function.java b/trigonometric_function.java new file mode 100644 index 0000000..377d7ba --- /dev/null +++ b/trigonometric_function.java @@ -0,0 +1,12 @@ +public double mysin(double x) { + return Math.sin(x); + } + + public double mycos(double x) { + return Math.cos(x); + } + + public double mytan(double x) { + return Math.tan(x); + } +