Solve for K

andy_p

New member
Joined
Dec 3, 2020
Messages
4
Hi, this one stumped me (and it's been awhile since I tried these kind of jams).

MTMzNTk5NzI4Mzc3MTQ1OTg3.png

How would I find K in this case? Thank you!
 
There is some kind of typo in the exponent of K in the numerator.

More generally, you can't solve for K. All you can do is solve it numerically.

-Dan
 
Sure thing!

In simplest terms its a = b * ((Kz - 1)/(K-1))

or a/b = (Kz - 1)/(K-1)

now I know it's time to do a log, but I'm also not sure if I can get Kz-1 out somehow beforehand...
 
There is some kind of typo in the exponent of K in the numerator.

More generally, you can't solve for K. All you can do is solve it numerically.

-Dan

Thanks Dan, I posted a little more of a clarification and where I'm stumped...
 
Write it out as a polynomial in K. If z=1, then you have a linear equation which is easy to solve, if solvable. If z=2, then you can could solve using the quadratic formula and if z=3 you could always solve using the cubic formula. Hopefully, especially if z>3 or a non integer, you can see an answer or two. However in general, tops quark is correct in saying that all you can do is solve it numerically or with software.
 
Thanks everyone, yup just ended up doing this as a function...

function findK (Ut, U0, t, Ct){
var K = .0001
while ((Ut / (U0 * ((K**(t/Ct))-1)/(K-1))) > 1.001) {
K = K + .0001
}
return K
}
 
Top