Random variable also known as stochastic variables are variables that are used in statistics and probability, The value of a random variable must be determined by chance which remain uncertain and depends on the outcome of a random process or experiment.
Unlike algebra, when random variable is introduced into a mathematical model, it is represented by capital letter and it has a single numerical value.
if $50,000 is to install an area of 1,000 square feet swimming pool and $35,000 can be used to install an 800 square foot swimming pool I think the best graph model is 800 square feet for $35,000 for a cost cut of $15,000 is a good bargain