>>11563713Thank you for this. It was a good read. Made me read about the First Derivative too but now I have some questions.
I put n amount of donation boxes throughout my town. Each zone will have a donation box has been labeled with the postcode/zone's name. People can donate their money into the box, or take some money from the donation boxes for their personal/emergency uses.
My task is to only log how much of the money were donated into, and how much of the money were withdrawn from. The donation boxes were equipped with some sort of IoT sensor/counter on both the donation end and withdrawal end, that allows me to log it easily every 24 hours.
After 365 days of recording the data, of course each box forms two nonlinear graphs.
>first line graph: Donation at Zone A, daily>second line graph: Withdrawal at Zone A, daily>X axis : Time (Daily)>Y axis : Amount of money donated/withdrawnSo here comes my questions.
1) Based on the nonlinear/timeseries graphs produced by me recording the data from the boxes, is it possible to turn the produced graph into a function as f(time)? Sorry if this is a dumb question, I am not a math student.
>Why do you want to turn it into function?So I can find the tangent line (f'(time)) instead of the secant line (delta donation/delta time) of the graph.
2) If I cannot turn those into functions, is my method of finding the derivatives for a zone, correct? Please fix me.
>1st derivative(amount[365] - amount[1])/(time[365] - time[1])
>Finding 2nd derivativeSplit the 365 day graph into two.
First is from day 1 to day 182.
Second is from day 183 to 365.
A = (amount[182] - amount[1])/(time[182] - time[1])
B = (amount[365] - amount[183])/(time[365] - time[183])
2ndDerivative = (B - A) / (time[365] - time[182])
Am I on the right track?