I am trying to apply mathematics in my everyday life and I feel like starting with simple equations of a line and my case study for that will be street lamp posts.
So, if I try to apply equation of a straight line to a street lamp post as :
y = mx + c, where m = 0
Therefore, y = c because there is no slope for that lamp post.
Is it correct? Please guide me as I am trying to apply mathematics to everyday life.
$y(x) = 0x + c$ gives you a constant function that is c for all values of x. If you want an equation for a vertical line, well... it's no longer a function, because $f(x)$ is not unique and can take on multiple (see, infinite) values.
If you wanted to approach a vertical line, you'd see the slope factor would approach infinity as it becomes closer and closer to vertical.