Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to solve this equations?
1 次查看(过去 30 天)
显示 更早的评论
syms x l h
eq1=1/h*(x*( 5.769184777556144297720428 * 10^335 - 7.717450818776814986578159* 10^334* h^3 *l^3 +1.880975352113933884590478 * 10^333* h^6* l^6 - 1.599802178551743149337408 * 10^331* h^9* l^9) +x^2*( -1.442296194389036074430107 * 10^335 + 2.466838112403283264760815 * 10^333* h^3 *l^3 -1.774156855730203299185405 * 10^331* h^6 *l^6 - 2.906437662102280665778078 * 10^329* h^9* l^9) +(-4.326888583167108223290321* 10^335 + 2.884592388778072148860214 * 10^335* h* l -2.144540955057087169431969 * 10^334* h^3* l^3 - 1.2602224350977961475460737 * 10^332* h^4* l^4 +5.826006215950214773697568 * 10^332* h^6* l^6 - 1.3196852878395740772567708 * 10^332* h^7* l^7 +1.931510008605601743149943 * 10^330 *h^9* l^9))
s=solve(eq1,x)
2 个评论
David K.
2019-7-30
Hello it appears that the main problem is that many of your values are evaluated by matlab as infinity. This is because of your massive exponents such as 10^335. Is this really the value you meant because that number is larger than the number of atoms in the universe.
Torsten
2019-7-30
Your equation is a quadratic equation in x of the form a(l,h)*x^2+b(l,h)*x+c(l,h)=0.
You should be able to solve for x using paper and pencil.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!