Probability that the first success occurs exactly at trial k
P(X = 4) = 10.29% with p = 0.3
Next stepTo find how many trials you need to be 90% sure of at least one success, solve 1 - (1-p)^n >= 0.9, which gives n >= 7.