From 8978cd5f3fc31d66cb8051a70674d561a4038d26 Mon Sep 17 00:00:00 2001 From: Sabrina Date: Sun, 25 Oct 2020 16:54:08 +0800 Subject: [PATCH] add sin function --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 8135a84..b58396a 100644 --- a/index.html +++ b/index.html @@ -29,10 +29,14 @@ function abs(a) { return Math.abs(a); } - + function cos(a) { return Math.cos(a) } + + function sin(a) { + return Math.sin(a); + }