I am trying to understand the cumulative binomial distribution.

If someone can help with this two questions I'll be grateful 

1. What is the exact probability F of observing K or more successes when a success probability P is expected?  

Can one write an analytical expression for F as a function of P, K, and N
2. Can one Write a computer routine (MATLAB) that performs the computation of F?

Thanks!