This an integrator circuit of the opamp UA741 which I`m trying to get the results of but when i look at the results they are far more off than what i was expecting them to be . The results from the integrator is just acting in the negative domain of the opamp which im not understanding. Also, at the output i have kept a diode with a voltage of 1v which is supposed to be working as a piece wise function of the {Vs vin>0; 1 vin<0}. but the output at the end is just 1v constant. Please let me know what the fault is? I have attached the schematic in this post . Also the results.