|
As part of a program I'm writing, I need to solve a cubic equation exactly (rather than using a numerical root finder):
a*x**3 + b*x**2 + c*x + d = 0.
I'm trying to use the equations from here . However, consider the following code (this is Python but...
Started by Morgoth on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I did this once because the 4th order solver requires one real root of... .
You can trim down the cubic solver to only return one real root.
Of here:
roots3and4.c
This contains quadratic, cubic, and quartic solvers which return all solutions.
|
|
I need to find good approximations of the points where an undefined function intersect a threshold value. I'm stepping through my space and whenever I find that two subsequent steps are on different sides of the threshold, I add a point somewhere in between...
Started by David Rutten on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A cubic generally expect, and can you go back and sample more if required? I can provide equations.
For cubic interpolation, you'll need four points.
A quadratic polynomial, not cubic.
|
|
Having searched the web, I see various people in various forums alluding to approximating a cubic curve with a quadratic one. But I can't find the formula.
What I want is this:
input: startX, startY, control1X, control1Y, control2X, control2Y, endX, endY...
Started by grumblebee on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
- 1/2 Q0 P1 = 3/2 Q2 - 1/2 Q3
If this is a degree-elevated cubic, then both equations will give multiple quadratic curves - many cases of cubic curves can't be even vaguely approximated it, at http://www.timotheegroleau.com/Flash....
|
Ask your Facebook Friends
|
A cubic polynomial has equation given by y=ax^3 + bx^2 + cx + d.where a b c d are integers(the sign Z) Find one such cubic polynomial whose graph passes through the points (1,1),(2,2) and (3,3).How many such cubic polynomials intersect the x-axis at exactly...
Started by Jia Xun on
, 11 posts
by 4 people.
Answer Snippets (Read the full thread at sgforums):
Past-year problems that have appeared are: - formulate a system of 3 linear equations equations involving terms of a sequence....
Ok, short hard.
Of such cubic polynomial = 9.
-3.6<a<-0.04 or 0<a<6.6 a=-3,-2,-1,1,2,3,4,5,6.
|
|
Started by emeraldemon on
, 19 posts
by 6 people.
Answer Snippets (Read the full thread at reddit):
I'm not even sure how to define that the natural cubic....
Define error and it's a math question.
The natural cubic spline interested in cubic splines.
On n points give you n-2 linear equations, leaving two degrees of freedom.
|
|
On Wed, 10 Jun 2009 10:16:07 -0700 (PDT), Pink Pig <bill@grandcentralapartments.com
I don't know how much of this is already known (probably most of it),
and it is mainly conjectural, but here goes anyway.
Suppose that P = x^3 + a*x^2 + b*x + c...
Started by Pink Pig on
, 13 posts
by 4 people.
Answer Snippets (Read the full thread at omgili):
1551, 405--420; MR0491593 (58 #10816)] on cubic fields, he obtains a correspondence between cubic....
A 322 (1971),
no.
London Ser.
Books on the "Theory of Equations" probably cover this sort
of material, but I had a hard time finding.
|
|
On Wed, 26 Aug 2009 14:03:01 -0700, katy09 <katy09@discussions.microsoft.com
I have made a graph of some data in excel (temp vs. year) and added a linear
and quadratic trend line. When I take the equations from the trendlines and
try to project...
Started by katy09 on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
One workaround is to increase the number of digits shown in the trendline
....
On Wed, 26 Aug 2009 18:09:55 -0700, "Mike Middleton" <Mike@DecisionToolworks.com
katy09 -
(1) Maybe you're not using enough significant digits for the coefficients .
|
|
On Tue, 3 Feb 2009 06:01:55 -0800 (PST), cnoe <azeez541@gmail.com
On Feb 3, 2:06 pm, Antoninus Twink <nos...@nospam.invalid
Started by cnoe on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at omgili):
For_Multiplication :-
a) General_Algo: Complexity is O(n^3)
i.e cubic, means sky rocketing for big matrices
b) Volker Strassen's_Algo: complexity is O(n^2.81.
Solving system of equations.
|
|
I have a spreadsheet with a number of graphs on, and I have displayed the trend-lines / regression lines on these graphs. These are not simple linear regression lines, but are high order polynomial ones.
Is there any way that I can use the equations of...
Started by a_m0d on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
This is designed for fitting a Cubic, but can.
A quick demo sheet together, you can download here.
|
|
Can I draw a curve, and get Mathcad to predict its equation!!!!
Started by HinndNaser on
, 14 posts
by 7 people.
Answer Snippets (Read the full thread at ptc):
A parametric spline will of course, but then you don't even have an equation,....
For example a cubic spline, which will pass through every point, but is that "the" equation? ahh got x and y then a cubic spline will not work.
|