APM346--2020S > Quiz 3

Quiz3 TUT5101

(1/1)

Jingjing Cui:
$$
u_{tt}-c^2u_{xx}=0\\
u|_{t=0}=0\\
u_{t}|_{t=0}=1\\
u_{x}|_{x=0}=0\\
$$
general solution: u(x,t)=f(x+ct)+g(x-ct)
when x+ct>0 and x-ct>0:
$$
u(x,0)=f(x)+g(x)=0\\
u_{t}(x,0)=cf'(x)-cg'(x)=1\\
f'(x)-g'(x)=\frac{1}{c}\\
f(x)-g(x)=\frac{x}{c}\\
$$
Let s>0
$$
f(s)=\frac{s}{2c}\\
g(s)=-\frac{s}{2c}\\
u(x,t)=\frac{x+ct}{2c}-\frac{x-ct}{2c}=t\\
$$
when x+ct>0 and x-ct<0:
$$
u_{x}(0,t)=f'(ct)+g'(-ct)=0\\
$$
Let s=-ct<0
$$
-f'(-s)=g'(s)\\
f(-s)=g(s)\\
u(x,t)=\frac{x+ct}{2c}+\frac{ct-x}{2c}=t\\
$$

Navigation

[0] Message Index

Go to full version