Here you can find the source of sin(Number x)
public static double sin(Number x)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); public class Main { public static double sin(Number x) { return Math.sin(x.doubleValue()); }/*from w ww. ja v a 2 s . co m*/ }