# Higher derivative gives NAN

**URL:** <https://discourse.julialang.org/t/higher-derivative-gives-nan/116763>\
**Category:** New to Julia\
**Tags:** autodiff\
**Created:** [July 8, 2024, 10:03am UTC](https://discourse.julialang.org/t/higher-derivative-gives-nan/116763 "2024-07-08T10:03:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [July 8, 2024, 10:32am UTC](https://discourse.julialang.org/t/higher-derivative-gives-nan/116763/2 "2024-07-08T10:32:10Z")

</div>

First things first, take a look at:

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

In particular, please use code block Markdown to make your message readable.

---

_[View the full topic](https://discourse.julialang.org/t/higher-derivative-gives-nan/116763)._
