Answer: 23 years
=======================================================
Work Shown:
P = 1000 is the amount deposited
We want this value to double to A = 2000 which is the amount in the account at time t (in years).
r = 0.03 represents the interest rate in decimal form.
The value of t is unknown but we can solve for it like so


It will take about 23 years for the amount to double.
As a check,

which helps show that after roughly 23 years, we'll have about 2000 dollars in the account.
------------
Side note: Use of the rule of 72 leads to 72/3 = 24. The '3' is from the 3% interest rate. So the rule of 72 says it will take about 24 years for the amount to double. This isn't too far off from the 23 answer we got.