(CAS) Symbolic vs Numeric Solver (Non CAS)
|
06-10-2022, 05:57 AM
Post: #6
|
|||
|
|||
RE: (CAS) Symbolic vs Numeric Solver (Non CAS)
(06-09-2022 06:11 PM)rawi Wrote: But be aware that CAS is rather limited. If I type in solve(a*x^3+b*x^2+c*x+d=0,x) no solution is given despite a formula for the solution exists.This is not a limitation, but intended, because the Cardan formula for a general 3rd order equation would raise expressions that could not be simplified afterwards. I mean that there are 3 complex solutions, that can be expressed with 1/3 powers of arguments themselves containing square roots. Now it's a well known result that the sum of the roots is -b/a, but trying to simplify the sum of the 3 expressions to -b/a would just be too hard. Therefore real-life CAS handle these kind of polynomials with algebraic extensions. Of course you are entirely free to write a small program yourself, you can inspire yourself from this Xcas code: Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(CAS) Symbolic vs Numeric Solver (Non CAS) - tim_crouse - 06-09-2022, 12:22 AM
RE: (CAS) Symbolic vs Numeric Solver (Non CAS) - rawi - 06-09-2022, 09:16 AM
RE: (CAS) Symbolic vs Numeric Solver (Non CAS) - tim_crouse - 06-09-2022, 10:56 AM
RE: (CAS) Symbolic vs Numeric Solver (Non CAS) - C.Ret - 06-09-2022, 05:37 PM
RE: (CAS) Symbolic vs Numeric Solver (Non CAS) - rawi - 06-09-2022, 06:11 PM
RE: (CAS) Symbolic vs Numeric Solver (Non CAS) - parisse - 06-10-2022 05:57 AM
RE: (CAS) Symbolic vs Numeric Solver (Non CAS) - tim_crouse - 06-10-2022, 06:12 PM
|
User(s) browsing this thread: 2 Guest(s)