Automatic differentiation using dual numbers
|
06-18-2022, 07:25 PM
Post: #3
|
|||
|
|||
RE: Automatic differentiation using dual numbers
To calculate an extremum we have to find solutions of \(f'(x) = 0\).
We can use the SOLVER with the program f'(x) for the example \(f(x) = x^3 - 2x^2 + 2\): Code: 00 { 62-Byte Prgm } SOLVER Select Solve Program f'(x) 1 x x=1 2 x x=2 x 1.333333333333333333333333333333333 I must admit that I don't fully understand the second part which involves \(\sqrt[3]{x}\). As there is no built-in function we'd use: Code: RCL "x" For negative values we'd have to use: Code: RCL "x" Do you have a specific example in mind? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)