Vout = Vin * (R2 / (R1 + R2))

18 * (13 / (13+36)) = 4.77V 18 * (13 / (13+51)) = 3.65V

ref

  • https://learn.sparkfun.com/tutorials/voltage-dividers/all#:~:text=A%20voltage%20divider%20is%20a,most%20fundamental%20circuits%20in%20electronics.