Edit and compile if you like:
% Author: Izaak Neutelings (December 2020)\documentclass[border=3pt,tikz]{standalone}\usepackage{physics}\usepackage{tikz}\usetikzlibrary{calc} % for pic\usetikzlibrary{angles,quotes} % for pic\tikzset{>=latex} % for LaTeX arrow head\colorlet{xcol}{blue!70!black}\colorlet{vcol}{green!60!black}\colorlet{metalcol}{blue!25!black!30!white}\tikzstyle{vvec}=[->,vcol,very thick,line cap=round]\tikzstyle{rope}=[brown!20!black,double=brown!70!black,double distance=1,line width=0.3] %very thick\tikzstyle{thick rope}=[rope,double distance=2,line width=0.6]\tikzstyle{metal}=[draw=metalcol!10!black,rounded corners=0.1,top color=metalcol,bottom color=metalcol!80!black,shading angle=10]\tikzstyle{ring}=[metalcol!20!black,double=metalcol!70!black,double distance=1,line width=0.3]\tikzstyle{wood}=[draw=brown!80!black,rounded corners=0.1,top color=brown!80,bottom color=brown!80!black!80,shading angle=10]\def\wave#1#2{({(#1-0.22)*\xmax},0) to[out=0,in=180,looseness=0.6] (#1*\xmax,#2*\ymax)to[out=0,in=180,looseness=0.6]++ (0.22*\xmax,#2*-\ymax)}\def\pole#1{%\draw[wood] (0,-1.3*\ymax) rectangle (\t,1.3*\ymax);\draw[wood] (#1,-1.3*\ymax) |- (#1+\t,1.3*\ymax) -- (#1+\t,-1.3*\ymax) arc(0:-180:{\t/2} and {0.4*\t/2}) -- cycle;\draw[wood] (#1+\t/2,1.3*\ymax) ellipse ({\t/2} and {0.4*\t/2});}\begin{document}%\LARGE% INCIDENT - FIXED\def\xmax{2.2}\def\ymax{0.7}\def\t{0.12}\def\x{-0.5}\def\v{0.25*\xmax}\begin{tikzpicture}\coordinate (T) at (\x*\xmax,\ymax);\draw[rope] (-\xmax,0) -- \wave{\x}{1} -- (0,0);
Click to download: waves_reflection_transmission.tex • waves_reflection_transmission.pdf
Open in Overleaf: waves_reflection_transmission.tex