Martingale Calculator
This code defines an HTML form with three input fields for the starting bet, win probability, and number of losses. It also has a “Calculate” button that triggers a JavaScript function to perform the Martingale calculation and display the results on the page. The bet amount and expected return are displayed below the button as elements.