add sin function

This commit is contained in:
Sabrina 2020-10-25 16:54:08 +08:00
parent e396b2321a
commit 8978cd5f3f

View File

@ -33,6 +33,10 @@
function cos(a) { function cos(a) {
return Math.cos(a) return Math.cos(a)
} }
function sin(a) {
return Math.sin(a);
}
</script> </script>
</body> </body>
</html> </html>