That's what I was hoping to use this machine to find out.
That's what I was hoping to find out by using this machine.
Sentence 1 seems extremely strange to me. I thought of it for like half an hour but couldn't get the meaning. Maybe that's because I am not a native speaker. Do these two have exactly the same meaning?