I'm trying to write a functional procedure. Doesn't matter the language, but I'm trying to solve for X in this instance.
24898.76 = (((( X * 3.9571 )/ 6.9) * 2) + ((2 - 1) * (( X * 3.9571 )/ 6.9)))
Anyone can assist with how would I go about solving this problem? Trying to remember math classes. to figure out how to do something like this. but keep coming up blank. Would greatly appreciate the assistance.
Another way to look at it
n = equation needs to equal, w = a float that can change, g = a float that can change, l = an integer number, X = trying to solve
n= ( (((X*w)/g) * 2) + ((l-1)*((X*w)/g)))