Given a modelled account balance for the period of d days as shown below:

Given that the account balance is $38, we would calculate the number of days by substituting for f(d) = 38 in the modelled equation as shown below:

Since all coefficients of the variable d from degree 3 to 1 are integers, we would apply apply the Rational Zeros Theorem.
The trailing coefficient (coefficient of the constant term) is −35.
Find its factors (with plus and minus): ±1,±5,±7,±35. These are the possible values for dthat would give the zeros of the equation
Lets input x= 5

Since, x= 5 is a zero, then x-5 is a factor.

![\begin{gathered} \text{simplifying } \\ d^2+3d+7\text{ would give} \\ d=\frac{-b\pm\sqrt[]{b^2-4ac}}{2a} \\ a=1,b=3,c=7 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/pipuzsyda91cu4as0pu5ofp1nucjbjazi7.png)
![\begin{gathered} d=\frac{-3\pm\sqrt[]{3^2-4*1*7}}{2*1} \\ d=\frac{-3\pm\sqrt[]{9-28}}{2} \\ d=\frac{-3\pm\sqrt[]{-17}}{2} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/betjmbn9xsn5fsi9xqi2ojmuxe2htm2rbo.png)
It can be observed that the roots of the equation would give one real root and two complex roots
Therefore,
![d=5,d=\frac{-3\pm\sqrt[]{-17}}{2}](https://img.qammunity.org/2023/formulas/mathematics/college/arjecp8h4ol5r6sm8f8ixc3863migauf4j.png)
Since number of days cannot a complex number, hence, the number of days that would give a balance of $38 is 5 days