Go to the directory problem1. Create a file called BistableSolver.m and write your program in this file. You also have to edit the file Bistable.m, where you specify the variational formulation.