//Example 16.10 //Initial amplitude of waves = X //Amplitude of resulting wave = 2X //Intensity is proportional to amplitude^2 I=1;//Initial intensity (W/m^2) I_prime=4*I;//Intensity of resulting wave after derivation (W/m^2) printf('Intensity of resulting wave = %0.2f W/m^2',I_prime) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest