I am puzzled with a problem which appeared simple on the first glance, but now after hours and hours of experimenting with simulator I am totally lost...

My challenge is:

- I have a function as voltage fed into op-amp

- I am asked to build a circuit with as few op-amps as possible to get 1/f(x)

T.ex.: y=x (input) -> y=1/x (output)

Any suggestions?