We will use the formula:
A = p( 1+ r/n)^nt
where
A= amount
P = principal
n=number of time interest is compounded per unit time
T= time(years)
r i= interest rate (decimal)
From the question:
A=$ 1000000
P = ?
t = 4
r = 0.04
n= 4
we will go ahead and substitute into the formula and then solve for p



852, 821.26 = P
The initial amount deposited initially is $852 821.26