Given:
The line intersects the y-axis at a point 2 units above the origin.
The line makes an angle of 30° with the positive x-axis.
Step 1: Find the slope of the line
Slope of a line making an angle θ with the positive x-axis is:
m = tan θ
Here,
θ = 30°
m = tan 30° = 1/√3
Step 2: Identify the y-intercept
The line cuts the y-axis 2 units above the origin.
So, y-intercept = 2
Step 3: Use slope–intercept form
The equation of a line in slope–intercept form is:
y = mx + c
Substitute m = 1/√3 and c = 2
y = (1/√3)x + 2
Final Answer:
The equation of the required line is:
y = (1/√3)x + 2