1 2 3 4
defective =5; partially_defective = 10; acceptable = 25; disp(acceptable/(acceptable+partially_defective), "The required probability is")