  We consider a heat equation and a wave equation in a spatial interval over a
time interval. This article deals with inverse problems of determining sizes of
spatial intervals by extra boundary data of solutions of the governing
equations. Under several different circumstances, we prove the uniqueness, the
non-uniqueness and some size estimate. Moreover, we numerically solve the
inverse problems and compute accurate approximations of the sizes. This is
illustrated with satisfactory numerical experiments.
