Two Studies of Complex Nonlinear Systems: Engineered Granular Crystals and Coarse-Graining Optimization Problems