I'm trying to find out how many possible combinations you have if you have 4 variables, using all of them, how many unique combinations you will have using addition, subtraction, multiplication, division, exponentiation, and using roots. You can use parenthesis, but you can't have negatives, such as \(\displaystyle a \cdot -b\).
so for 2 vars:
1. \(\displaystyle a+b\), \(\displaystyle b+a\)
2. \(\displaystyle a-b\)
3. \(\displaystyle b-a\)
4. \(\displaystyle a \cdot b\), \(\displaystyle b \cdot a\)
5. \(\displaystyle \frac ab\)
6. \(\displaystyle \frac ba\)
7. \(\displaystyle a^b\)
8. \(\displaystyle b^a\)
9. \(\displaystyle \sqrt[a]{b}\)
10. \(\displaystyle \sqrt{a}\)
This isn't for school or anything, I'm trying to make a script, but I need to know how the math works.
Thanks
so for 2 vars:
1. \(\displaystyle a+b\), \(\displaystyle b+a\)
2. \(\displaystyle a-b\)
3. \(\displaystyle b-a\)
4. \(\displaystyle a \cdot b\), \(\displaystyle b \cdot a\)
5. \(\displaystyle \frac ab\)
6. \(\displaystyle \frac ba\)
7. \(\displaystyle a^b\)
8. \(\displaystyle b^a\)
9. \(\displaystyle \sqrt[a]{b}\)
10. \(\displaystyle \sqrt{a}\)
This isn't for school or anything, I'm trying to make a script, but I need to know how the math works.
Thanks