code: public float angle(Vector other) {
          double dot = dot(other) / (length() * other.length());
  
          return (float) Math.acos(dot);
      }
docs: Gets the angle between this vector and another in radians.
  
  @param other The other vector
  @return angle in radians