Coding Example 11.1

Dear All,

Greetings

I am new in this group. I am writing a code for Example 11.1 given in Material Modeling book by EB Tadmor et al.
If anyone worked out this example please write to me, I have some queries for coding this problem. I am using MATLAB.

Thanks in advance
Regards
Sandeep