Sorry if the formatting is weird I'm on my mobile and this is my first time posting here
But basically what I'm trying to do is write a program to display a table for the function (nCx)(p^x)((1-p)^(n-x)
Where I prompt for "n" and "p", for x values of {0,1,2....15}
I can get it to work if I prompt all the variables but what I'm trying to do is have the program display a table of y values after inputting the n and p values obviously on that interval so I can scroll through and read the values without having to do each one individually and not having to put the equation in the "Y=" menu every time.
I have tried using tblinput and tbldisp but I just can't iron out the kinks. A full program write would be amazing but any advice or tips id also appreciate.
Also little notes on why to do each line of the program would be very interesting to me. I love trying to do little things like this on my own but my knowledge is very minimal xD
But basically what I'm trying to do is write a program to display a table for the function (nCx)(p^x)((1-p)^(n-x)
Where I prompt for "n" and "p", for x values of {0,1,2....15}
I can get it to work if I prompt all the variables but what I'm trying to do is have the program display a table of y values after inputting the n and p values obviously on that interval so I can scroll through and read the values without having to do each one individually and not having to put the equation in the "Y=" menu every time.
I have tried using tblinput and tbldisp but I just can't iron out the kinks. A full program write would be amazing but any advice or tips id also appreciate.
Also little notes on why to do each line of the program would be very interesting to me. I love trying to do little things like this on my own but my knowledge is very minimal xD