function result= totalerror(n1, n2, n12)
    result = n1*n2/n12;
endfunction