Getting the height (y-axis) of a particle effect?

I have a very basic particle effect (it’s just a stream of particles that shoot up vertically a certain distance at a certain speed, then disappear) and I’m having trouble getting the y-axis of it’s top most part. In the Inspector, all I get is the co-ordinates of where it launched from, but I need to get the height of the top-most particle.

I didn’t create the particle (I’m just the programmer) so I’m not sure if this is something I need to figure out through code or if this is on the animator’s side.

Maybe something like this (It is holiday so dont expect miracles :)).

//Asuming this script is attached to the particle it self.
function Update ()
{
var topHeight = transform.position.y + speed of the moving particle(Y) * how long the particle lasts

print(topHeight);
}

Or some thing like that I guess.

Note I have never worked with paricles through script before.