[UPDATE: Just found this gem: https://www.youtube.com/watch?v=ikY8wyZvTMQ it's part one of a video series explaining how to do these questions.]
If you have a glass that is 10in tall and 4in in diameter and then tilt it so water pours out until 1/2 the base is exposed
how would you write an integral for the volume of the water? I know that it has something to do with making an equation for the area of a triangle and integrating it but I don't know anything past that.
[I deleted the flawed revolution method work thanks to the comment by DanielV]