Step 1 :The slope-intercept form of a line is given by \(y = mx + b\), where \(m\) is the slope and \(b\) is the y-intercept.
Step 2 :In this case, we are given that the line passes through the point \((0,4)\), which means that the y-intercept is 4.
Step 3 :We are also given that the slope of the line is 2.
Step 4 :Therefore, the equation of the line in slope-intercept form is \(y = 2x + 4\).
Step 5 :Final Answer: The equation of the line in slope-intercept form that passes through the point \((0,4)\) with slope 2 is \(\boxed{y = 2x + 4}\).