I'd like to write a ray tracing program but I have some issues with the mathematics thereof, I'm trying to do some exercises in a book to help me as such but I don't know how to solve e.g. problems of the form:
Find where (if at all) the ray intersects the curved surface , if there is more than one intersection, which is the first?
As far as I understand I should set the two equations equal to each other and try solve them for the unknown parameter t? I've tried this but I can't get anywhere.