def calc_db_cost_v2(db) -> float:
    """Returns a noise cost for given dB based on a linear scale (dB >= 45 & dB <= 75).
    """
    if db <= 44:
        return 0.0
    db_cost = (db-40) / (75-40)
    return round(db_cost, 3)