[Solved] An equation which gives me 10 = 0 but 100 = 100
Finally I got my answer, the equation is something like this: X = (Y*10-100)/9 Now try putting any value between 10 to 100 in it. solved An equation which gives me 10 = 0 but 100 = 100
Finally I got my answer, the equation is something like this: X = (Y*10-100)/9 Now try putting any value between 10 to 100 in it. solved An equation which gives me 10 = 0 but 100 = 100
Let F(p,q) be F(p,q) = sum(j, [ r(j) – sum(i, p(i,j)*q(i,j)) ]^2 ) Then dF/dp is the matrix A formed by elements A(i,j) = 2 * [r(j) – sum(k, p(k,j)*q(k,j))] * (-q(i,j)) dF/dq is the matrix B formed by elements B(i,j) = 2 * [r(j) – sum(k, p(k,j)*q(k,j))] * (-p(i,j)) 2 solved Taking derivative of … Read more
I found the shortest way to do this using Math.NET Symbolics from Math.NET The key syntax to do so is like this: SymbolicExpression.Parse(“a*(b+c)”).Expand().Summands().Select(x => x.Factors()); In it, I expand the expression and then I get the summands. For each of the summands, I get the factors. To illustrate it better, consider the following expression: a … Read more