Function that calculates the final value of an expotential function

Give it a try, it costs you nothing !
Post Reply
User avatar
Richo
Posts: 21
Joined: Mon Apr 04, 2022 3:37 pm
Location: Nakskov, Denmark
Has thanked: 58 times
Been thanked: 5 times

Function that calculates the final value of an expotential function

Post by Richo »

We know that various probes have a long time constant. It would be nice to have a function where you only have to make 3 measurements to know the final result. This applies to all situations with an expotential function.
/Richo
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2871
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 603 times
Been thanked: 2054 times
Contact:

Re: Function that calculates the final value of an expotential function

Post by cicciocb »

Have you tried to ask the question to our AI best friend?
BeanieBots
Posts: 543
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 304 times
Been thanked: 173 times

Re: Function that calculates the final value of an expotential function

Post by BeanieBots »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Mar 10, 2025 12:31 pm Have you tried to ask the question to our AI best friend?
Interestingly, I've been trying that out quite a bit with varied results.
For questions that require mathematical analysis and/or complex equations, I strongly suggest Copilot.
I've had it do very complex fluid dynamics equations with exceptional results that include the working out for varification.
It also writes the code for you if you ask :D
Unfortunately, it refuses to get Annex BASIC code of the correct syntax (yet) but if you ask for VB code it is not hard to translate.
Well worth a try.
botman
Posts: 105
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 20 times
Been thanked: 56 times

Re: Function that calculates the final value of an expotential function

Post by botman »

@Richo: If you have a true exponential decay curve with three readings spaced at equal time increments, and your first reading is R1, and your second reading is R2, and your third reading is R3, then the following ratio should evaluate to the final value. The numerator is R1*R3-R2*R2, and the denominator is R1-2*R2+R3. In your example, the numerator evaluates to be -7349.9 , and the denominator evaluates to -7.35 , so the final value evaluates to 999.9859 !
Post Reply