//This is my CSharp language program
using System;
public class MyLab
{
public static void Main()
{
double u=0.0;
double v=0.0;
double b=0.0;
Console.WriteLine("Please enter value for u,v\n");
u=double.Parse(Console.ReadLine());
Console.WriteLine("u=\n"+u);
v=double.Parse(Console.ReadLine());
Console.WriteLine("v=\n"+v);
b=Math.Sqrt(Math.Pow(Math.Sin(Math.Atan(u)),2) + Math.Cos(v));
Console.WriteLine("Final result is b="+ b);
}
}
Ly9UaGlzIGlzIG15IENTaGFycCBsYW5ndWFnZSBwcm9ncmFtCnVzaW5nIFN5c3RlbTsKcHVibGljIGNsYXNzIE15TGFiCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCSBkb3VibGUgdT0wLjA7CgkgZG91YmxlIHY9MC4wOwoJIGRvdWJsZSBiPTAuMDsKCSBDb25zb2xlLldyaXRlTGluZSgiUGxlYXNlIGVudGVyIHZhbHVlIGZvciB1LHZcbiIpOwoJIHU9ZG91YmxlLlBhcnNlKENvbnNvbGUuUmVhZExpbmUoKSk7CgkgQ29uc29sZS5Xcml0ZUxpbmUoInU9XG4iK3UpOwoJIHY9ZG91YmxlLlBhcnNlKENvbnNvbGUuUmVhZExpbmUoKSk7CgkgQ29uc29sZS5Xcml0ZUxpbmUoInY9XG4iK3YpOwoJIGI9TWF0aC5TcXJ0KE1hdGguUG93KE1hdGguU2luKE1hdGguQXRhbih1KSksMikgKyBNYXRoLkNvcyh2KSk7CgkgQ29uc29sZS5Xcml0ZUxpbmUoIkZpbmFsIHJlc3VsdCBpcyBiPSIrIGIpOwoJfQp9Cg==