I am trying to make a small prog to encrypt files and I am not very good with equations, so I was wondering how you invert this equation:

echar = echar * (echar-1074) / wkey - 289;

echar is a float, and wkey is an int. Thanks for the help!

Printable View

- 11-23-2001MattMath question(algebra)
I am trying to make a small prog to encrypt files and I am not very good with equations, so I was wondering how you invert this equation:

echar = echar * (echar-1074) / wkey - 289;

echar is a float, and wkey is an int. Thanks for the help! - 11-23-2001ER
[code]

echar = 1. / (echar * (echar-1074) / wkey - 289); - 11-23-2001Matt
It doesn't seem to work right, but I might just be my fault. What does the 1. thing do? I haven't seen that before. Thanks anyways.