October 12, 201114 yr http://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine.2C_and_tangent
October 12, 201114 yr Author Thanks Comment for the wikipedia link. What I was really hoping for was that somebody could help me with the code for this problem. I'm a cabinetmaker, not a mathematician. I do, however, need to be able to build angled cabinets from time to time and would like to be able to do this without having to actually learn trigonometry.
October 12, 201114 yr Create number fields Run and Rise. Create a calculation field angle = Atan(Run/Rise)*57.2958. (the 57.2958 is required because the atan function in FileMaker returns the angle in radians.) If you only know the length and run substitute Asin(Run/Length) in the above calc. If you only know the length and rise, substitute Acos(Run/Length)
October 12, 201114 yr Or, putting them all together, angle = Case( not IsEmpty(Run) and not IsEmpty(Rise); Atan(Run/Rise)*57.2958; not IsEmpty(Run) and not IsEmpty(Length); Asin(Run/Length)*57.2958; not IsEmpty(Rise) and not IsEmpty(Length); Acos(Rise/Length)*57.2958; )
October 12, 201114 yr (the 57.2958 is required because the atan function in FileMaker returns the angle in radians.) How about: Degrees ( Atan ( Run / Rise ) ) I'm a cabinetmaker, not a mathematician. I do, however, need to be able to build angled cabinets from time to time and would like to be able to do this without having to actually learn trigonometry. IIUC, this is more about designing than building - and I'd consider basic trigonometry as one of the required skills.
October 12, 201114 yr Degrees ( Atan ( Run / Rise ) ) Another FM function I didn't know existed! Thanks.
Create an account or sign in to comment