I'm trying to rearrange the following formula, and I'm just plain stuck:
s = F * abs(f - 0.5) + (1-F) * abs((0.5-F*f)/(1-F) - 0.5)
I've used 'abs' to denote 'absolute value of', just to be clear. Here, big 'F' and little 'f' are separate variables. I'd like to solve for this equation in terms of little 'f'. Any clue what the rearranged equation would be?
Thanks soo much for your help!! This is for some computer code that i'm writing for a college class, and it's challenging for me to try to rearrange this equation with absolute values...I've tried to read the rules for dealing with abs values, but i can't find anything that's really helpful.
Also, if it helps, F, f, and s cannot be negative numbers for my purposes.
Sean
s = F * abs(f - 0.5) + (1-F) * abs((0.5-F*f)/(1-F) - 0.5)
I've used 'abs' to denote 'absolute value of', just to be clear. Here, big 'F' and little 'f' are separate variables. I'd like to solve for this equation in terms of little 'f'. Any clue what the rearranged equation would be?
Thanks soo much for your help!! This is for some computer code that i'm writing for a college class, and it's challenging for me to try to rearrange this equation with absolute values...I've tried to read the rules for dealing with abs values, but i can't find anything that's really helpful.
Also, if it helps, F, f, and s cannot be negative numbers for my purposes.
Sean
Last edited: