Feasibility of measuring the cosmological constant and mass density Ω using Type Ia supernovae