Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
/**
* Calculate sin^2(x).
*
* @param x
* x
* @return sin^2(x)
* @since 1.0
*/
protected static double sinSquared(double x) {
return Math.sin(x) * Math.sin(x);
}
}