I have a long expression with 7 parameters. I would like to simplify it so I can use it in another context (not Mathematica).
But I tried everything: Simplify, FullSimplify, Expand then Simplify, Rationalize, I also added assumptions but either it doesn't simplify or it just never shows a result.
All the parameters are real and positive and the result is supposed to be real and positive as well.
Is it possible to simplify this expression more than that? If yes, How?
Here you can have a look at the expression :
-0.5 \[Sqrt](-((2.38095 m)/(25. Na - 6. Ni)) + (
0.793651 (25. m Na - 6. m Ni))/(
625. Na^2 - 300. Na Ni +
36. Ni^2) - (419974. (625. m^2 Na^2 - 300. m^2 Na Ni +
36. m^2 Ni^2))/((25. Na -
6. Ni)^2 (-2.31525*10^15 (25. m Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na - 2500. Ch m Nh -
2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2 + \[Sqrt](-4. (2.75625*10^13 m^2 Na^2 -
1.323*10^13 m^2 Na Ni +
1.5876*10^12 m^2 Ni^2)^3 + (-2.31525*10^15 (25. m Na \
- 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2)^2))^(1/3)) - (
1/((25. Na - 6. Ni)^2))
5.99925*10^-6 (-2.31525*10^15 (25. m Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni + 36. Ni^2) (25. g m^2 -
1.05*10^7 m Na - 2500. Ch m Nh - 2.16*10^6 m Ni +
1050. m Na x0 -
252. m Ni x0)^2 + \[Sqrt](-4. (2.75625*10^13 m^2 Na^2 -
1.323*10^13 m^2 Na Ni +
1.5876*10^12 m^2 Ni^2)^3 + (-2.31525*10^15 (25. m Na -
6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2)^2))^(1/3)) +
0.5 \[Sqrt](-((2.38095 m)/(25. Na - 6. Ni)) - (
0.793651 (25. m Na - 6. m Ni))/(
625. Na^2 - 300. Na Ni +
36. Ni^2) + (419974. (625. m^2 Na^2 - 300. m^2 Na Ni +
36. m^2 Ni^2))/((25. Na -
6. Ni)^2 (-2.31525*10^15 (25. m Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na - 2500. Ch m Nh -
2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2 + \[Sqrt](-4. (2.75625*10^13 m^2 Na^2 -
1.323*10^13 m^2 Na Ni +
1.5876*10^12 m^2 Ni^2)^3 + (-2.31525*10^15 (25. m Na \
- 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2)^2))^(1/3)) + (
1/((25. Na - 6. Ni)^2))
5.99925*10^-6 (-2.31525*10^15 (25. m Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni + 36. Ni^2) (25. g m^2 -
1.05*10^7 m Na - 2500. Ch m Nh - 2.16*10^6 m Ni +
1050. m Na x0 -
252. m Ni x0)^2 + \[Sqrt](-4. (2.75625*10^13 m^2 Na^2 -
1.323*10^13 m^2 Na Ni +
1.5876*10^12 m^2 Ni^2)^3 + (-2.31525*10^15 (25. m Na -
6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2)^2))^(
1/3) + (0.00113379 (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0))/((25. Na -
6. Ni)^2 \[Sqrt](-((2.38095 m)/(25. Na - 6. Ni)) + (
0.793651 (25. m Na - 6. m Ni))/(
625. Na^2 - 300. Na Ni +
36. Ni^2) - (419974. (625. m^2 Na^2 - 300. m^2 Na Ni +
36. m^2 Ni^2))/((25. Na -
6. Ni)^2 (-2.31525*10^15 (25. m Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2 + \[Sqrt](-4. (2.75625*10^13 m^2 \
Na^2 - 1.323*10^13 m^2 Na Ni +
1.5876*10^12 m^2 Ni^2)^3 + (-2.31525*10^15 (25. m \
Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na -
6. m Ni) (625. Na^2 - 300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2)^2))^(1/3)) - (
1/((25. Na - 6. Ni)^2))
5.99925*10^-6 (-2.31525*10^15 (25. m Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na - 6. m Ni) (625. Na^2 -
300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2 + \[Sqrt](-4. (2.75625*10^13 m^2 \
Na^2 - 1.323*10^13 m^2 Na Ni +
1.5876*10^12 m^2 Ni^2)^3 + (-2.31525*10^15 (25. m \
Na - 6. m Ni)^3 +
2.08373*10^16 m^2 (25. m Na -
6. m Ni) (625. Na^2 - 300. Na Ni + 36. Ni^2) -
7.44188*10^8 (625. Na^2 - 300. Na Ni +
36. Ni^2) (25. g m^2 - 1.05*10^7 m Na -
2500. Ch m Nh - 2.16*10^6 m Ni + 1050. m Na x0 -
252. m Ni x0)^2)^2))^(1/3))))
Here is the code that is above the expression (How I get this result). In this case A is the expression:
Ci = (10.08*x + 86400)/100;
Ca = (-42*x + 420000)/100;
Fh = Nh*100*Ch;
Fa = Na*100*Ca;
Fi = Ni*100*Ci;
F = Fh + Fa + Fi;
x[t_] = FullSimplify[Solve[(F/m - g)*t^2/2 + x0 == x, x][[1, 1, 2]]]
A = Solve[{x'[t] == 100}, t][[4, 1, 2]]
P.S. I tried to replace the parameters with actual values and the result was correct so I guess the expression is correct.
Thanks in advance.
{}
button, this should shift everything by four spaces, and make sure everything is formatted code. $\endgroup$(F/m - g)
with(a + b x)
$\endgroup$