Germanic *-th- in English tends to become -d- after -n-. The change in the Germanic initial consonant is from Grimm's Law. To find out "to discover by scrutiny" is from 1550s (Middle English had a verb, outfinden, c. 1300).