sqrtCos function

double sqrtCos(
  1. num x
)

calculate square of cos : cosĀ² x : (num) number that you want to calculate it's cosĀ²

Implementation

double sqrtCos(num x) {
  return math.cos(x) * math.cos(x);
}