cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Why is ln(x) not plotted below about -5?

jstavitsky
1-Newbie

Why is ln(x) not plotted below about -5?

Asking for calculated values returns accurate results, but the plot cuts off below approximately -4.6 with any zoom.

4 REPLIES 4
RichardJ
19-Tanzanite
(To:jstavitsky)

Please post a worksheet. There is no way to answer your question without a worksheet showing what you have done. You should not be able to plot ln(x) for any number less than or equal to zero. ln(0) is undefined, and ln(<0) is a complex number.

Mathcad 15, sorry I forgot to mention

RichardJ
19-Tanzanite
(To:jstavitsky)

OK. Now I see what you mean. It's because you are using the Quickplot feature of Mathcad. It chooses the number of points to plot, and the location of those points. If you define x using a range variable you have more control.

ln.png

Top Tags