Length of leg b = . pls help me

Answer:
20
Step-by-step explanation:
We can solve for the unknown base using Pythagorean's theorem.
Remember Pythagorean's theorem goes as such:
[tex]a^2+b^2=c^2[/tex]
Where a and b are the two legs and c is the hypotenuse. We know one leg and the hypotenuse so we can insert our known values and solve for the unknown.
[tex]15^2+b^2=25^2\\225+b^2=625\\b^2=400\\b=20[/tex]
Or using trigonometry:
Note this is a 45-45-90 triangle, therefore all angles are known.
I'll use the sin function with the B angle.
[tex]sin(45)=\frac{b}{25} \\25*sin(45)=b\\17.67=b[/tex]
I'm assuming this problem was not made for trig, although the answer is still close.