A neural network using finite physical quantities