Computer Science, asked by arorasonia234, 5 months ago

b. Write java equivalent expression for the following : [4] x=(-b+ (b^2-4ac))/2a​

Answers

Answered by BrainlyProgrammer
0

\huge\star\underbrace{\mathtt\red{⫷QúÊßTïØñ⫸}}\star

Java expression for

x=(-b+ (b^2-4ac))/2a

\huge\star\underbrace{\mathtt\red{⫷❥ᴀ᭄} \mathtt\green{n~ }\mathtt\blue{ §} \mathtt\purple{₩}\mathtt\orange{Σ} \mathtt\pink{R⫸}}\star

There are two different ways:+

  • x=(-b+(Math.pow(b,2)-(4*a*c)))/2*a

OR

  • x=(-b+((b*b)-(4*a*c)))/2*a
Similar questions