If the diameter is 30 units the radius is 15. A regular octagon can be constructed from 8 isosceles triangles with equal sides length 15. The vertex angle is 45°. Half the length of the side of the octagon is 15sin(22.5°)=5.74 approx, so the side length is 11.48.