1460601620-769019cc-1790-4b79-bb58-19e62e05801a

An input apparatus of a portable terminal and an input method for compensating an input from a pen to increase the accuracy of the pen are provided. In an embodiment of the invention, a method for dynamic validation of models using constraint targets can be provided. The invention is useful for use in wellbore cleanouts.