How to fix the large and mad fractions when dealing with symbolic vars
7 views (last 30 days)
Mohd Aaquib Khan on 18 Sep 2022
I face this often, as you can see below that cos(phi) and cos(psi) are decent entities, but when they are used with a symbolic variable (kn here), it shows huge fractions. Is there an easy way to make the coefficients of k1 k2 and k3 in the short format or some decent fractions.
Even something as trivial as k1*cos(pi/2) is not evaluated to be 0 as shown below. I fear that this leads to truncation errors.
Thanks in advance.
More Answers (2)
Steven Lord on 18 Sep 2022