I am focused on understanding Proof of Work (PoW) vs Proof of Stake (PoS).
One idea I liked is that we can see the mining of a block as a lottery of probability P, where I buy a ticket of cost C using my hardware and electricity, to obtain a reward R.
Since R should be simple to obtain (the value in ETH of the reward times value of ether in fiat), I want to set up figures for P and C.
What is the simplest way to reach these figures? Starting of course with Hash Rate and Total Difficulty. What are the most popular techniques to arrive to those values?