On the DM42n, create space for a new program (SHIFT GTO..), flip into programming mode (SHIFT PRGM) and enter the following function. Note what it is doing. We use
the MVAR functions to define the three variables V,I and R. After that the algorithm recalls each value and computes ohms law (ie: V-IR) but expressed in an f(x)=0
form. When ready, flip the calculator back into normal mode (SHIFT PRGM).