Well, first you have to measure your total resistance. From that, you divide the voltage (7v) by the resistance to get the amperage
I (amperage) = E (voltage) / R (resistance)
Then , you solve for the voltage drop that you will need - you want to drop 2 volts across the resistor you're going to put into the circuit.
I (amperage) * R (resistance) = E (voltage)
Let's do a hypothetical, using common values I've seen tossed about in the forum:
3 ohms seems to be a common value given for the resistance of an atomizer. 1.5a seems to be the max current they'll handle, long-term.
I = E / R
I = 7v / 3ohms
I= 2.333 amps (sorta high)
Now, let's figure out how much resistance we need to add to drop the voltage to 5v at the atomizer.
I * R = E
2.333 * R = 2
R= .86 ohm - that's gonna be hard to find, I think.
Let's look at it the other way around, and try to limit the amperage to no more than 1.5a
R = E / I
R = 7 / 1.5
R = 4.666 ohm total resistance (5 ohm would be closest) That means adding 2 ohms to that 3 ohm atomizer.
Let's work with that, and see what we get for voltage and amperage at the atomizer, shall we?
I = E / R
I = 7v / 5ohm
I = 1.4 amp - pretty close!
Now, let's figure the voltage drop:
I * R = E
1.4a * 2ohm = 2.8v dropped across the resistor, leaving 4.2v at the atomizer - a bit low.
Now you have to figure POWER, so we don't burn up the resistor:
P (power) = I * E
P = 1.4a * 7v
P = 9.8 watts - you're going to need at least a 10watt resistor, and 15-20w would be even better.