Try the ‘Math | Trig | Triangle Trigonometry’ component?
3. Attach minimal versions of all the relevant files