- #1
oahsen
- 59
- 0
With the following code segment ;
limit((sin(z+h)-sin(z))/h,h,0)
matlab gives the result cos(z). (which is the differential of the sin(z)).
However, with the code ;
limit((sinh(z+h)-sinh(z))/h,h,0)
matlab gives an absurd result;
limit((sinh(z+h)-sinh(z))/h,h = 0)
newertheless, the result should be cosh(z). Why does MATLAB makes such a wrong calculation also what is the meaning of this result? Does anybody have an idea about that?
limit((sin(z+h)-sin(z))/h,h,0)
matlab gives the result cos(z). (which is the differential of the sin(z)).
However, with the code ;
limit((sinh(z+h)-sinh(z))/h,h,0)
matlab gives an absurd result;
limit((sinh(z+h)-sinh(z))/h,h = 0)
newertheless, the result should be cosh(z). Why does MATLAB makes such a wrong calculation also what is the meaning of this result? Does anybody have an idea about that?