The formula is as follows (entering by text didn't really display right, so I used an image):

Now it's been a long time but on the texas instrument calculator the program be essentially "Get X, Get Y etc. etc." then it computes it at the end. On the screen when you ran a program it would prompt "X?" then "Y?" etc. etc.
Is it possible to something like this on the Casio?
I don't expect anyone to to it for me but I don't know where to start. Any direction?