Hi everybody, My names noobie nooberson

It's been a long time since I've taken a math class or used anything beyond simple arithmetic, and I've forgotten so much I feel stupid. Anyway I have a problem for work and I need to figure out a formulaic way to do it.

because it will come up repeatadely.

If there were a cylinder with semi spherical ends lying with those ends to each side (like a large propane tank), and the volume of the container was 1L and the internal radius was of the container was 30cm. Then how could I determine based on the volume of liquid within the container if that liquid was was 4cm high.

I'm not sure where to start but I do think the volume formula for the hemispherical-cylinder would be helpful and I think that it would be-

V= (4/3) pi r^3 + pi r^2 L

Because the sahpe is essentially a sphere plus a cylinder. Right?

Do I need to determine L, and the use that in the next step how do I determine L and and then finish the problem? I think I need to isolate L but I forget how?

can anyone help