def archimedes_principle(
    fluid_density: float, volume: float, gravity: float = g
) -> float:

    if fluid_density <= 0:
        raise ValueError("Impossible fluid density")
    if volume < 0:
        raise ValueError("Impossible Object volume")
    if gravity <= 0:
        raise ValueError("Impossible Gravity")

    return fluid_density * gravity * volume