Secant main code

Click secant main code.m link to view the file.