Technical trigonometry with applications