http://steelwhitetable.org/media/images/cavlin-banging-nails...
I don't think the basics of algebra will have such results, but both are indeed tools that a kid will figure out a good use for if such tools are on hand and have been played with enough.
I could credit a lot of my creative skill to spending inordinate time as a kid just fiddling with a broad range of tools in the basement, regardless of whether I understood them at the time.
How old is the kid? I think you'll just end up with everything broken, unless you present it with the nails then the combination of the two is unlikely to happen naturally I feel until the child is quite old (if then).