History homework help

Use the diagram to find Cos B Write as a fraction in simplest form. its a right angle 24,40,32 these are the sides