I'm still very new to electrical engineering and at the moment trying to get my head around the concept of the ideal op amp.
In Fundamentals of Electric Circuits by Alexander and Sadiku the following diagram is given as a "current-to-voltage converter".
The reader is asked to prove $$v=-IR,$$ which I think I did. But what do we need the op amp for? Wouldn't the following diagram be exactly the same?