1-D wave equation can be written as:
∂t2∂2u=c2∂x2∂2u
Here f(x)=asin2nx
Using D′ Alembert's method, the solution can be given as:
y(x,t)=21[f(x+ct)+f(x−ct)]=21[asin2n(x+ct)+asin2n(x−ct)]=2a[sin2(nx+nct)+sin2(nx−nct)]
=2a[21−cos2(nx+nct)+21−cos2(nx−nct)] [Using sin2t=21−cos2t ]
=4a[2−cos2(nx+nct)−cos2(nx−nct)]=4a[2−2cos(22(nx+nct)−2(nx−nct))cos(22(nx+nct)+2(nx−nct))]
=4a[2−2cos(nct)cos(nx)]=2a[1−cos(nct)cos(nx)]
Comments