Solve the below problem by coding in scilab. Please include bothyour code and results. Thank you..
Question:
Jack puts $100 either on black or red on a roulet game. (Thereare 18 black slots, 18 red slots and two green slots (0 and 00) ona roulette wheel. Your chances of hitting a black or red are equal,47.4%. This translates to a 52.6% probability that the house willbe scooping up all your chips on a black/red bet.) Casino has arule that maximum bet size is $1000. Jack has a bankroll of$10,000.
a) Develop a martingale strategy: The strategy has the gamblerdouble his bet after every
OR
OR