Execution of the script file testroot2 generates the output:
>> >> testroot2 *** root1 = 4.41 >>
Notice that Matlab automatically documents the purpose of each m-file. You can query the purpose of the m-file by simply typing: