C
C#3y ago
euphxria

❔ how to find the points where y = 0 of a parabola

I don’t get it
46 Replies
Gooster
Gooster3y ago
which parabola? this is just a math question
euphxria
euphxriaOP3y ago
Y=a(x-h)^2+k Please someone help me
Gooster
Gooster3y ago
-k=a(x-h)^2 -k/a=(x-h)^2 sqrt(-k/a)=x-h sqrt(-k/a)+h=x @uk drill its been a while since ive had to do math, is this right?
euphxria
euphxriaOP3y ago
Yes that is correct however what I don’t understand is what do you do with multiple intercepts How do you get 2 values from one variable
Gooster
Gooster3y ago
bcuz roots have multiple (2) answers
euphxria
euphxriaOP3y ago
How do I go about that in c# Wouldn’t it only return one value
Gooster
Gooster3y ago
yes
euphxria
euphxriaOP3y ago
Well how do I get 2?
Gooster
Gooster3y ago
well if you take the root of a negative number you get a complex number
euphxria
euphxriaOP3y ago
I don’t get that
Gooster
Gooster3y ago
you probably havent learnt that
euphxria
euphxriaOP3y ago
Can you just write the pseudo code Thank you 💜
Gooster
Gooster3y ago
do you know this notation xi+c?
euphxria
euphxriaOP3y ago
No I don’t know any math I am math illiterate I’m sure the code is simple as hell
Gooster
Gooster3y ago
i have to think about it
euphxria
euphxriaOP3y ago
Thanks
Gooster
Gooster3y ago
you first do the formula stuff on paper and then write the code to do the actual calculation bcuz c# isnt going to look for x for you
euphxria
euphxriaOP3y ago
Man this a help channel I’m asking for c# help
Gooster
Gooster3y ago
i forgot all my math <a:aPES_Think:493353113332219924>
euphxria
euphxriaOP3y ago
Is there a way to return a Tupperware from math.sqrt Tupple*
Gooster
Gooster3y ago
uhhh Math.Sqrt doesnt seem to work for negative values (im reading the docs)
MODiX
MODiX3y ago
Jester#8471
REPL Result: Success
var a = 1.0;
var h = 0.0;
var k = -1.0;
Math.Sqrt(-k/a)+h
var a = 1.0;
var h = 0.0;
var k = -1.0;
Math.Sqrt(-k/a)+h
Result: double
1
1
Compile: 520.937ms | Execution: 39.862ms | React with ❌ to remove this embed.
Gooster
Gooster3y ago
yeah thats one of the intersections
euphxria
euphxriaOP3y ago
And how do you get the other one?
Gooster
Gooster3y ago
you might need a different formula, i dont remember <:PES_Think:639363477458255874>
euphxria
euphxriaOP3y ago
Bro there’s literally nothing online for this Wth 😭😭😭
Gooster
Gooster3y ago
Microsoft Math Solver
Solve y=xleft(a-hright)^2+k | Microsoft Math Solver
Solve your math problems using our free math solver with step-by-step solutions. Our math solver supports basic math, pre-algebra, algebra, trigonometry, calculus and more.
Gooster
Gooster3y ago
you need the quadratic formula, thats it i swapped x and a bcuz it solves for a (which is x)
euphxria
euphxriaOP3y ago
I just don’t get how to get 2 values Out of the sqrt
Gooster
Gooster3y ago
Gooster
Gooster3y ago
you need these formulas to get both values
euphxria
euphxriaOP3y ago
Thank you So for the first one
Gooster
Gooster3y ago
im coming up with my own formula which might suck 🗿
euphxria
euphxriaOP3y ago
Ha + sqrt(a(-k))?
Gooster
Gooster3y ago
(Ha + sqrt(a(-k)))/a
euphxria
euphxriaOP3y ago
Sweeet Yeah I think this works
Gooster
Gooster3y ago
cool so math class years ago + math solver makes me still able to do math
euphxria
euphxriaOP3y ago
Nicceee thanks for your help man much thanks from Australia!
Gooster
Gooster3y ago
Welch Labs
YouTube
Imaginary Numbers Are Real [Part 1: Introduction]
For early access to new videos and other perks: https://www.patreon.com/welchlabs Want to learn more or teach this series? Check out the Imaginary Numbers are Real Workbook: http://www.welchlabs.com/resources. Imaginary numbers are not some wild invention, they are the deep and natural result of extending our number system. Imaginary numbers ...
Gooster
Gooster3y ago
if you are interrested
euphxria
euphxriaOP3y ago
I’ll check it out later I am interested
Haze.
Haze.3y ago
That's an odd quadratic formula
Haze.
Haze.3y ago
This is the normal one
Haze.
Haze.3y ago
Also there are cubic and quartic formulae but they get very long very fast
Gooster
Gooster3y ago
yeah thats the specific solution to the given parabola yeah insanely long
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?