cubic solver
|
06-29-2024, 02:46 PM
(This post was last modified: 07-02-2024 11:06 AM by Albert Chan.)
Post: #4
|
|||
|
|||
RE: cubic solver
Updated cubic solver (x^3=a*x+b), use quadratic solver (x^2=a*x+b) to get alpha^3
Code: quadratic(a,b) := { local d; Code: cubic(a,b) := { (06-29-2024 12:54 AM)Albert Chan Wrote: x^3 - 4*x^2 + 8*x - 8 = 0 // let x = y + 4/3 XCas> cubic(-8/3, 56/27) .+ 4/3. 16/9 [2.0, 1.0+1.73205080757*i, 1.0-1.73205080757*i] Note: (green) cubic discriminant is really quadratic discriminant. Update: both solver now work even if both a, b are 0's |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
cubic solver - Albert Chan - 09-08-2023, 02:26 PM
RE: cubic solver - Albert Chan - 09-08-2023, 02:44 PM
RE: cubic solver - parisse - 09-08-2023, 06:56 PM
RE: cubic solver - Albert Chan - 06-29-2024 02:46 PM
RE: cubic solver - Albert Chan - 06-29-2024, 03:29 PM
RE: cubic solver - Albert Chan - 07-02-2024, 02:34 PM
RE: cubic solver - Albert Chan - 07-02-2024, 05:12 PM
RE: cubic solver - Albert Chan - 07-03-2024, 10:17 PM
RE: cubic solver - Albert Chan - 07-03-2024, 11:48 PM
Quarter Solver - Albert Chan - 07-04-2024, 08:37 PM
|
User(s) browsing this thread: 2 Guest(s)