i have a 24V source available. the thing is i don't know how to calculate the appropriate resistor values or even how to connect a transistor to do it... i am very noob, so every help will be much appreciated!
Added after 44 minutes:
i am trying to accomplish it using a tl082 but on higher frequencies above 180Khz the voltrage drops dramatically.... any ideas on how to maintain the voltage level until 1MHZ?