My circuit is an amplifier(E-source) in an inverting circuit,
but by mistake the resistors are connected to the positive
input. LTspice and any other SPICE will find a solution which
is mathematically correct, but you will be unable to reproduce
that with any real circuit. The calculated ouput voltage is
-1.0002V with the wrong circuit and -0.9998V with the correct
inverting circuit.
Again, the math done by SPICE is correct in both cases!
Everybody would say the inputs are wrongly connected,
but SPICE is so clever and finds a solution you never
have seen in any book! Patent pending!
R2 R1
in ___ N001 ___
V1 ---<___>----o-----<___>------o----out
(1V) | | (-1.0002V)
| --- |
---|+ |--------
---|- |-- v=10000
_|_ --- _|_
- E1 -
This would be the correct circuit.
R2 R1
in ___ N001 ___
V1 ---<___>----o-----<___>------o----out
(1V) | | (-0.9998V)
| --- |
---|- |--------
---|+ |-- v=10000
_|_ --- _|_
- E1 -
The result(V(out)=-1.0002V) from all SPICE programs.
--- Operating Point ---
V(out): -1.0002 voltage
V(n001): -0.00010002 voltage
V(in): 1.00 voltage