Write a program that creates a plot of the power consumed by a 1000 resistor as the voltage across it is varied from 1 V to 200 V. Create two plots: one showing power in watts and one showing power in dBW (dB power levels with respect to a 1 W reference).