Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Problem with plotting derivative
Posted 2023年10月3日 GMT-4 13:00 Studies & Solvers Version 5.5 1 Reply
Please login with a confirmed email address before reporting spam
Hi!
I have following problem. By using Magnetic Fields(mf) I am simulating magnetic fields for certain current coil(s) configuration. After that I am using 1D plot group and consequently line graph for plotting. I am trying to plot following quantity: d/dx(atan(Bz / Bx)) vs x for y = z = 0. For that I am assigning y axis following formula: d(atan(mf.Bz / mf.Bx), x) that returns me 0 value.
Is there some intermediate steps where I have to explicitly assign some expression as a function of x in order for derivative to not end up being 0? How else can I manage calculating derivatives?
Thank you