Result

d = 26.19637

There was an error with your calculation.