These functions are all available in Excel.
SIN is sin
COS is cos
ASIN is arcsin (the inverse sin funciton whiich is the same as sin to the negative, I believe, though my trig is a bit rusty here)
PI() is a funciton that returns the value of pi
SQRT returns the positive square root.
You can get B squared by writing B^2.
All the best.