/**
* Calculate double value by formula.
* @param x its x value
* @param a its a value
* @param b its b value
* @return the calculate double value by formula
*/
double nameCalculate(double x, double a, double b) {
return a * Math.tan(x) + b * Math.abs(x);
}