Roger Stafford is correct. I forgot cos had that property. I graphed my solutions using both configurations and got the same values.
I was thinking about the sin function because the order actually matters. Thank you for clearing that up.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!