I have a problem with inputting a formula into Bsolid that keeps crashing the software.
I need to input TANGENT (TAN) also PI() but the software doesn't know it, Is there a way to do this, am I missing something. I can get my formula to work perfect in Excel (see EG)

This is what I'm trying to achieve
50*TAN(45*PI()/180) = 50

I cant input PI() into Bsolid so I have to do it as 3.1415926536 as that is what it is PI=3.1415926536

My formula in Bsolid is this but it gives me the wrong answer as its doesn't know what TAN is
50*(45*3.1415926536/180) = 39.26990817

Im also after any other helpful codes for SIN, COS, SQRT
Also is there a way to reference tooling DIA into a program so when a cutter starts to get a little worn i can change the DIA of the tool in tooling and it will change it in all the programs that use that tool. EG: (LPZ- Tooling(10mm_CUTTER))/2

Thanks all for any help