1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
scZoUnD [109]
4 years ago
14

How do you write a program that will solve the quadratic equationax2+bx=c=0

Computers and Technology
1 answer:
Bess [88]4 years ago
8 0

Answer:

Hi, the general factorization formula, which will allow us to find the values for X of any polynomial of type Ах²⁺Вх+С.

\frac{ -b+\sqrt{b^{2} -4ac } }{2a}   and \frac{ -b-\sqrt{b^{2} -4ac } }{2a}

Explanation:

This is one example taken from the C language:

int main()

{

   int a,b,c,d;

   float x,y;

 

   printf("Input  a: ");

   scanf("%d",&a);

 

   while (a == 0) {

       printf("Input a: ");

       scanf("%d",&a);

   }

 

   printf("Input b: ");

   scanf("%d",&b);

   printf("Input c: ");

   scanf("%d",&c);

 

   d = b*b-4*a*c;

   if (d > 0) {

       x = (-b+sqrt(d))/(2*a);

       y = (-b-sqrt(d))/(2*a);

       printf("x1 = %.2f\n",x);

       printf("x2 = %.2f\n",y);

   }

   else if (d == 0) {

       x = (-b)/(2*a);

       printf("x1 = %.2f\n",x);

   }

   else

       printf("The equation don't have solution.");

 

   return 0;

}

You might be interested in
Alice recently purchased a new cell phone. After her vacation, Alice wanted to transfer her holiday photos to her computer to do
dmitriy555 [2]

Answer:

<u>D.) Device Manager</u>

Explanation:

Indeed, the device manager administrative tool found on Windows allows the user to set up or add new hardware devices attached to the computer system.

For example, this tool allows the user to add external devices to the computer such as a printer, mobile device, etc that may not automatically be displayed.

5 0
3 years ago
the outline view allows you to control how much information you can see in a document, because you can expand or collapse sectio
pochemuha
I believe its true because you can expand or collapse sections of it
5 0
3 years ago
A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, d
lesantik [10]

Answer:

C

Explanation:

Well, in your inquiry it says

"A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools"

We know it isn't Microsoft Word, because Microsoft Word doesn't have a presentation feature. We know it isn't Excel because Excel is only meant for spreadsheet and analytics data.

However, on PowerPoint all these points make sense, PowerPoint is a tool that Microsoft created for the capabilities such as to present information, you can also put information inside of graphics as well, you can also draw, and outline too.

5 0
3 years ago
There is always this thing that comes out and I can't answer one's question. How do I undo this?
Y_Kistochka [10]
You should enter your email address
8 0
3 years ago
Read 2 more answers
What could prevent ping or traceroute responses from reaching the originating device beside network connectivity issues?
zysi [14]
Many admins set their firewalls to drop echo-request packets to prevent their networks from being mapped via "Ping Sweeps".

A remote possibility is that there's too many hops between the source and target and the packet's TTL expires.
3 0
4 years ago
Other questions:
  • Rachel works in a bank. She wants to present the idea of implementing an IS to the management. How should Rachel describe the IS
    9·2 answers
  • Given that two int variables, total and amount, have been declared, write a sequence of statements that: initializes total to 0
    14·1 answer
  • You decide to configure ntp on the router to get time ntp server with an ip address of 172.17.8.254 which commanda should you us
    14·1 answer
  • Write a paper, 2-3 paragraphs that discuss how to defend ideas objectively through effective communication. Include the skills n
    6·1 answer
  • Adobe reader is a type of​
    14·2 answers
  • There are ___ Federal Reserve Banks. Each bank is also in charge of its assigned District Banks.
    10·1 answer
  • Why does every image on brainly look like this too me?? it started today
    15·2 answers
  • A customer wants to increase his storage capacity by 25gb
    7·1 answer
  • Define the terms network, LAN, WAN, and Internet.
    11·1 answer
  • Social media first became popular due to which development?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!