I want to calculate Dx values for different hc(core height) values. if i substitute the hc value equal to 0 then I am getting error message(1/0 infinite expression ) instead of 0 which is my requirement.
Kindly help me out to get zero instead of error message.
Some other tools and languages provide a Divide(numerator, denominator, default) function that returns the specified default value when the denominator is 0.
So, I created my own version in the Wolfram langage.