NOR gate? What NOR gate? A NOR gate should have at least two inputs. I see a circuit with an unspecified transistor and no inputs!
The graph has a label for a SPST switch but the schematic does not show a switch. I found one connected to the emitter of the transistor by exploring with my mouse, but the usual schematic symbol for a switch has not been used.
Besides, when you write that "it doesn't work", what do you mean? "it doesn't work" provides little information. What did you actually build, how did you test it, and what were the results?
That is a crap simulator you will not get that waveform from that circuit. The voltage at TP will be the supply voltage minus the Vbe ( 0.7 ) of the transistor. It is not a gate of any description.
That setup will act as an inverter, down to a supply voltage of about 1V perhaps. The device simulated
happens to have very good saturation properties (many older NPN devices will not do nearly
so well as 30mV Vsat). A low saturation voltage will help with low voltage BJT based logic like this.
It is not an inverter either. To be an inverter you have to change that base resistor connected to the supply to be connected to the input signal you want to invert.
Well, i think i found the solution to my circuit.
the inverter needed to shut down the output if ground wasn't connected
I wanted to add an audio jack in an electronic piano that works on 3 AA batteries with an audio speaker that works with 1.5v.
Only now i noticed that it was a lot less, like 0.2v
so, now i think i will use two transistors: one that will output 4.5v if ground isn't connected and another that will make the current flow if the input is 4.5v.
I'm pretty new to electronics and i'm not English so it may be a little bit hard to explain everything correctly.