How can I make two sliders show a calculated result?