dim a as string
dim b as string
dim c as string
a = val(txt1.text)
b = val(txt2.text)
c = val(txt3.text)
lbl1.caption = (-b + sqr((b ^ 2) - ((4) * (a * c))) / (2 * a)
lbl2.caption = (-b - sqr((b ^ 2) - ((4) * (a * c))) / (2 * a)
Chat with our AI personalities
sum = 2+4+ 6 might work.
Oh, dude, let's break this down. So, if A gives B a 40m head start, A wins by 19 seconds. But if A gives B a 30-second head start, B wins by 40m. So, basically, they're like two kids on a playground playing tag. To find the time taken by B to run 5000m, we gotta do some math wizardry. Like, I'm talking about some serious number crunching here. So, grab your calculators and get ready for a wild ride!