#This is my PYTHON program
import math;
u=float();
v=float();
b=float();
print("Please enter value for u,v\n");
u=float(input());
v=float(input());
b=math.sqrt(math.pow((math.sin(math.atan(u))),2)+math.cos(v));
print("Result is b=",b);
I1RoaXMgaXMgbXkgUFlUSE9OIHByb2dyYW0KaW1wb3J0IG1hdGg7CnU9ZmxvYXQoKTsKdj1mbG9hdCgpOwpiPWZsb2F0KCk7CnByaW50KCJQbGVhc2UgZW50ZXIgdmFsdWUgZm9yIHUsdlxuIik7CnU9ZmxvYXQoaW5wdXQoKSk7CnY9ZmxvYXQoaW5wdXQoKSk7CmI9bWF0aC5zcXJ0KG1hdGgucG93KChtYXRoLnNpbihtYXRoLmF0YW4odSkpKSwyKSttYXRoLmNvcyh2KSk7CnByaW50KCJSZXN1bHQgaXMgYj0iLGIpOwoK