static import java.lang.Math.*; ... // calc sine of angle theta, expressed in radians double s = sin( theta );