C
C#2y ago
euphxria

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

I don’t get it
46 Replies
Jester
Jester2y ago
which parabola? this is just a math question
euphxria
euphxriaOP2y ago
Y=a(x-h)^2+k Please someone help me
Jester
Jester2y 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
euphxriaOP2y 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
Jester
Jester2y ago
bcuz roots have multiple (2) answers
euphxria
euphxriaOP2y ago
How do I go about that in c# Wouldn’t it only return one value
Jester
Jester2y ago
yes
euphxria
euphxriaOP2y ago
Well how do I get 2?
Jester
Jester2y ago
well if you take the root of a negative number you get a complex number
euphxria
euphxriaOP2y ago
I don’t get that
Jester
Jester2y ago
you probably havent learnt that
euphxria
euphxriaOP2y ago
Can you just write the pseudo code Thank you 💜
Jester
Jester2y ago
do you know this notation xi+c?
euphxria
euphxriaOP2y ago
No I don’t know any math I am math illiterate I’m sure the code is simple as hell
Jester
Jester2y ago
i have to think about it
euphxria
euphxriaOP2y ago
Thanks
Jester
Jester2y 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
euphxriaOP2y ago
Man this a help channel I’m asking for c# help
Jester
Jester2y ago
i forgot all my math <a:aPES_Think:493353113332219924>
euphxria
euphxriaOP2y ago
Is there a way to return a Tupperware from math.sqrt Tupple*
Jester
Jester2y ago
uhhh Math.Sqrt doesnt seem to work for negative values (im reading the docs)
MODiX
MODiX2y 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.
Jester
Jester2y ago
yeah thats one of the intersections
euphxria
euphxriaOP2y ago
And how do you get the other one?
Jester
Jester2y ago
you might need a different formula, i dont remember <:PES_Think:639363477458255874>
euphxria
euphxriaOP2y ago
Bro there’s literally nothing online for this Wth 😭😭😭
Jester
Jester2y 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.
Jester
Jester2y ago
you need the quadratic formula, thats it i swapped x and a bcuz it solves for a (which is x)
euphxria
euphxriaOP2y ago
I just don’t get how to get 2 values Out of the sqrt
Jester
Jester2y ago
Jester
Jester2y ago
you need these formulas to get both values
euphxria
euphxriaOP2y ago
Thank you So for the first one
Jester
Jester2y ago
im coming up with my own formula which might suck 🗿
euphxria
euphxriaOP2y ago
Ha + sqrt(a(-k))?
Jester
Jester2y ago
(Ha + sqrt(a(-k)))/a
euphxria
euphxriaOP2y ago
Sweeet Yeah I think this works
Jester
Jester2y ago
cool so math class years ago + math solver makes me still able to do math
euphxria
euphxriaOP2y ago
Nicceee thanks for your help man much thanks from Australia!
Jester
Jester2y 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 ...
Jester
Jester2y ago
if you are interrested
euphxria
euphxriaOP2y ago
I’ll check it out later I am interested
Haze.
Haze.2y ago
That's an odd quadratic formula
Haze.
Haze.2y ago
This is the normal one
Haze.
Haze.2y ago
Also there are cubic and quartic formulae but they get very long very fast
Jester
Jester2y ago
yeah thats the specific solution to the given parabola yeah insanely long
Accord
Accord2y 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.
Want results from more Discord servers?
Add your server