Revision 58496c2b846e05a8a2398d742c5468b955a5830b authored by liampaull on 09 April 2016, 05:00:22 UTC, committed by liampaull on 09 April 2016, 05:00:22 UTC
solvv.m
a = sym('a', 'real');
b = sym('b', 'real');
c = sym('c', 'real');
d = sym('d', 'real');
i = sym('i', 'real');
m = sym('m', 'real');
v = sym('v', 'real');
t = sym('t', 'positive');
eq1 = d == i;
eq2 = (a*t^3+b*t^2+c*t+d == 0);
eq3 = (3*a*m^2+2*b*m+c == 0);
eq4 = (a*m^3+b*m^2+c*m+d == v);
[sola, solb, solc, sold] = solve(eq1,eq2,eq3,eq4,[a,b,c,d]);
simplify(sola)
simplify(solb)
simplify(solc)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...