Input Format:

Get a, b, and c as input.

Output Format:

Output “Yes” or “No” depending on if the given quadratic is factorable. If it is

factorable, output the roots in increasing order. If there are two of the exact same roots, only output it once. Round roots to the nearest hundredth.

Sample Input Sample Output

1 1 -1 Yes -1.00, 0.00

1 3 2 Yes -2.00, -1.00

2 1 2 No

Answers

Answer 1

In python 3:

import math

def quadratic(a, b, c):

   if (b ** 2) - (4 * a * c) < 0:

       return "No"

   root1 = round((-b + (math.sqrt((b ** 2) - (4 * a * c)))) / (2 * a), 2)

   root2 = round((-b - (math.sqrt((b ** 2) - (4 * a * c)))) / (2 * a), 2)

   lst = ([])

   lst.append(root1)

   lst.append(root2)

   lst.sort()

   return f"Yes {lst[0]}, {lst[1]}"

print(quadratic(1, 3, 2))

The print statement tests the function. I hope this helps!


Related Questions

Pepsi or Coke B)
Or other

Answers

Answer:

Out of Pepsi or Coke, I gotta go with Coke, but in general any soda I would choose Orange Fanta.

Answer:

I prefer cream soda dr. pepper. But out of Pepsi and Coke, I'd choose Coke but I don't really like either.

Explanation:

1. Why would a designer use thumbnail images?
O a large number of images are needed
O to link to the original full-quality image
O to cut down on loading times
O all of the above

Answers

Answer:

The answer to this question is given below in the explanation section. The correct answer is All of the above.

Explanation:

First, we need to know what is thumbnail images.

The definition of the thumbnail is "A thumbnail is an image with a reduced file size that is used as a placeholder for full-sized multimedia content."

So the answer to this question is all of the above options mentioned in the question.

Designers uses thumbnail images because:

A large number of images are needed:

For websites and applications, the designer uses a large number of thumbnail in their application. Because websites require fast loading the pages and images so in e-commerce websites a large number of thumbnails images are used.

To link to the original full-quality image:

Thumbnail is the compressed view of original images that are used in a placeholder on a website.

To cut down on loading time:

The biggest advantage of thumbnail images is their reduced size to the original image. A website will have a significantly faster loading time if its images and videos initially displayed in a thumbnail.

While the user will decide for themselves which thumbnail content they want to see and click on it to load the original thumbnail content.

Assignment 3: Chatbox python coding
I just need something real simple that follows the criteria in simple coding

Answers

In python:

import random

good_responses = (["That's cool!", "Wow!", "That's great to hear!", "Tell me more"])

bad_responses = (["I'm sorry", "That sucks!"])

first_name = input("What's your first name? ")

last_name = input("What's your last name? ")

print(f"Hello {first_name} {last_name}, nice to meet you!")

age = int(input(f"How old are you, {first_name}? "))

if age > 17:

   print("Wow, you're old enough to vote!")

else:

   print("Quite young, aren't you.")

   

color = input("What's your favorite color? ")

print(good_responses[random.randint(0, 3)])

feeling = input("How are you feeling? (sad/happy) ")

if feeling == 'sad':

   print(bad_responses[random.randint(0, 1)])

else:

   print(good_responses[random.randint(0, 3)])

print(f"It's been nice chatting with you, {first_name}!")

I hope this helps!

I WILL MARK BRAINLIEST!!!!!!! I AM CRYING PLEASE HELP GUYS WITH RIGHT ANSWERS.

Answers

Answer:

1. byte

2. a data structure

3. because 0s and 1s represent whether a switch on a circuit board is off or on

Which of the following skills is NOT needed for critical thinking? O Evaluation Question # 1 Question # 2 Question #3 Question #4 Question #5 O Open-mindedness O Curiosity O Speaking​

Answers

Answer:

Speaking

Explanation:

That’s the one I put, and I got it right

Which of the following is a type of multimedia?(1 point)

a magazine article about ways to stay active

the handwritten notes from a lecture

a podcast included as part of an online news column

the textbook edition of a Shakespearean play

Answers

C. A podcast included as part of an online news column is a type of multimedia.

Answer: C

a podcast included as part of an online news column

the answers might be in a different order on ur side, but the answer will stil be the same. A podcast included as part of an online news column

I hope this helps : )

More pictures more points for everyone :)

Answers

Answer:

WOOF WOOF

Explanation:

MEOW MEOW

Answer:

Nice pics

Explanation:

Love the second one tho

How does discarding computers in a landfill affect the environment? A. Data miners are digging up landfills looking for gold and platinum. B. Lead and mercury in computer parts are seeping into the ground and water supply. C. Copper on circuit boards is creating fire hazards. D. The computer parts quickly decay and become organic material

Answers

Answer:

B

Explanation:

Sounds right (mark brainliset)

Component of the computer includes the lead and mercury, which leach into the ground and water supplies whenever discarded, and further discussion can be defined as follows:

Disposing recycling computers in a landfill has an environmental impact.Whenever computers are discarded in landfills, the metals included within them may leak into the ground surrounding its dumpsite.It affects the groundwater and the flora and wildlife that depend on this.

Therefore, the final answer is "Option B".

Learn more:

brainly.com/question/24664130

Joanna is a qualified network specialist and has worked in this role for about six years. Her manager recommends that she enhance her qualifications for career advancement in the same role. What additional certifications can Joanna aim for? SAS Certified Base

Answers

Answer:

Cisco's CCENT

Cisco's CCNA

Explanation:

Since in the question it is mentioned that Joanna who is a  qualified network specialist and has worked for six years also her manager suggest her to enhance her qualification so that the career could be better due to which she can gets the better package and opportunity as compared to before

Therefore the additional certification that needed is CCENT and CCNA and the same is to be considered. These are the networking certifications.

1.5 code practice: question 4 edhesive

Answers

print(" \"Computer Science is no more about computers ")
print(" than astronomy is about telescopes\" ")
print ("- Edsger W. Dijkstra")

why is what you say in business as important as how you say it

Answers

Answer:

Because the things you say and how you say it can determine whether or not you sell an item, make a deal with another company and things of that nature.  Hope this helps!!

Because you have to be taken serious in business so that’s how it’s different

Many companies are allowing employees to set their own work hours. For example, a company may require its employees to work 8 hours a day, but the employees decide if they will work from 7 a.m. to 3 p.m., 8 a.m. to 4 p.m., or 11 a.m. to 7 p.m. This is an example of

Answers

This is an example of flexible work schedule.

Answer:

flexible work hours

Explanation:

got it right on the flvs test :)

Which data type is -7?

float

single

int

string

Answers

Answer: it is an int (integer)

Explanation: integer means a whole number in programming.

Does anyone do scratch? (Its a coding website)

Answers

Answer:

heck yeah i do

Explanation:

1.)Name at least five things that are easier to do with fast internet access.

2.)If you had online homework, but did not have a computer, how would you go about completing this homework?

3.)If you needed a job and wanted to find places that were hiring, how could you do that without fast internet access?

4.)What do you think could be done to close the digital divide gap?

Can anyone help me please hurry

Answers

Answer:

#1)  use streaming applications

Use on-demand applications

work from home

take an online course for personal or career-growth

Everyone in your family can be online at the same time

#2) Go to the library and use one of theirs or go to a friends house that does have access

#3) Either look in the classified ads of the newspaper or go to someplace that has fast internet like mcdonalds

#4) Make internet more affordable with better availability

Explanation:

The things that are easier to do with fast internet access include:

Using on-demand applications.Downloading movies.Streaming videos and songs.Watching a video online.Browsing on a computer system.

If I have online homework, but there's no computer, in order to complete this homework, I'll go to the library or cafe.

If I needed a job and wanted to find places that were hiring, since there's no fast internet access, I'll look for advertisements in newspapers or magazines. I can also go to areas that have free and fast connections.

In order to close the digital divide gap, people should be taught about the importance of computer systems and the internet should be more affordable to people.

Read related link on:

https://brainly.com/question/9914557

It’s Edhesive test 2 question 3 I’m confused help please?

Answers

Answer:

"This would cause an error: an integer variable cannot store a string"

Explanation:

The user cannot put letters into an integer line

Which part of the formula is the argument?
A) =COUNTIF(A1:E59,“Greene City”)
B) =
C) ()
D) COUNTIF
E) A1:E59

ANSWER: E

Answers

Question: Which part of the formula is the argument?

A) =COUNTIF(A1:E59,“Greene City”)

B) =

C) ()

D) COUNTIF

E) A1:E59

Answer: the Answer is E A1:E59

Which of the following occupations is the most likely to require working
weekends and night shifts?
A.software developer
B.computer programmer
C.web designers
D.computer support specialist

Answers

Answer:

D

Explanation:

What is a server OS used for?

O Handling requests and supplying responses

O Performing one task, such as in an STM machine

O Running a permanent system, like the timing controls in a washing machine

O Running multiple operating systems on a computer system.​

Answers

Answer:

Handling requests and supplying responses

Server Operating Systems are used to run on servers that operate within a client to handle the requests of the client computers on the network

Which pair and category is not true?

Answers

Nothing is there to show us

HELP ME!!!

Complete the sentence. (2 words) _____ _____ Each packet is addressed to the recipient's .

Answers

Answer:

I'd like to say home address

Explanation:

Home address Each packet is addressed to the recipient's.

What is address?

on which to engrave delivery instructions. a letter's address. To assign responsibility to another party such as an organization or factor: to concentrate one's efforts or attention.

A1. A person's address, which includes their home and workplace addresses as well as the street name and house number where they live or work. a change in tone to pay attention to or address a worry or problem: We'll talk about that at our next meeting.

An address, which is a collection of information presented in a mostly standardized fashion and typically employs political boundaries and street names as references, identifies the location of a building, apartment, or other structure or a plot of land.

Thus, it is Home address.

For more information about address,  click here:

https://brainly.com/question/29065228

#SPJ2

Can anyone help me I’m giving 11 points

Answers

#1 pairs with D.

#2 pairs with A.

#3 pairs with B.

#4 pairs with C.

I hope this helps!

One pairs of D would be the analysis

What are the advantages and disadvantages of using a relational database than a flat-file database.

Answers

Advances

Data Integrity, You Only need to change the data in one of the tables, it will then update itselfData Redundancy, By having a relational databse it ensures that no attributes are repeatedData Consistency, There is no chance of the same attribute being stored in a different format in a different fileData Flexibility, When dealing with queries, it gets much easier creating deeper queries with a relational DatabseGreater Efficiency, as you only have to input the data only once into a relational database it saves time and human resources

Disadvantages

Complex, Relational databases can be very complex and without the necessary training can be very hard to break down.Expensive, Relational databases are mostly commercial and require the user to buy that piece of software or licenses for more than one machine

It is easier to minimize duplicate data in a relational database.

It is difficult to use a relational database without prior knowledge.

What are the best ways for helping users learn about all of the features of word

Answers

B nnnnnnnnnnvhnvsynctj chi

Which of the following happens during pre-production?

storyboarding

filmmaking

recording

editing

Answers

i want to say storyboarding
I’m pretty sure story boarding

In a paragraph of 125 words, identify one value you are looking for in an employer and explain why it is important to you. For instance, is it important to you that your employer support a leave of absence for the purpose of humanitarian efforts such as those that resulted from the 2010 earthquake and hurricane in Haiti? Please answer fast

Answers

Answer:

An important value I have for an employer is empathy mostly due to my experience with employers. In previous employers they are very not understanding of anyone’s situation regardless of what it is, they don't care about what's going on in your life all they care is that you work. They don’t want to give you the time off, they don’t care about your concerns, they just overall do not care. Some employers are just kind of like that, and that's okay. Not every employer is going to be a perfect fit for me. Overall if I could have an employer that is understanding and isn't going to fire me or scream at me the second I make even the slightest mistake was and is always the dream.

Answer:

I think it’s an important value for employer to have empathy. employers are not always very understanding of other peoples situation/homelife, they don't care about what's going on in your life all they care is that you work for them.They don’t want to give you the time off or money, they don’t normally care about your concerns. Some employers can be rude but that there job to find the best employeesthat's Not every employer is going to be a perfect fit.Overall having an employer that is somewhat understanding and isn't going to fire me for a little mistake or yell at me If I don’t do something the exact way they wanted it to be. In the end we all make mistake human and hopefully the employer gives you the benefit of the doubt

Explanation:

Give two reasons why cloud computing could be harmful to an organization?​

Answers

Answer:

Someone else is looking after your data.

Cyberattacks.

Insider threats.

Government intrusion.

Legal liability.

Lack of standardization.

Lack of support.

There's always a risk

Explanation:

Big brain explanation:

A major risk to business continuity in the cloud computing environment is the loss of internet connectivity. Always ask your cloud provider what controls are in place to ensure internet connectivity. If a vulnerability is identified, you may have to terminate all access to the cloud provider until it is rectified.

Other reasons:

~ No longer in control. When moving services to the cloud, you are handing over your data and information.

~ Doesn't mean you should do away with servers.

~ No Redundancy.

~ Bandwidth issues.

Also, may I have Brainliest? :)

When creating an if-else-if statement, you should always make your condition the most specific. What does it mean to put the most specific case first?

Answers

I think an example would help the most with understanding this topic. For instance, if you wanted to return true for numbers between 3 and 10 and return false for everything else.

If we put the most specific case first, we make an if statement for the numbers between 3 and 10 instead of making an if statement for everything else.

When creating an if-else-if statement, what it means to put the most specific case first is:

Applied for only the specific command given by the lines of code

The if-else is a conditional statement that is used in programming to let the compiler know that once a specific condition is met, then the commands in the if statement are executed.

However, if at the end of the code, none of the expressions satisfies the conditions, then no code is executed.

Therefore, putting the most specific case first means that only the specific conditions must be met or else no code is executed.

Read more here:

https://brainly.com/question/19138121

I WILLMARK BRAINLIEST PLZ ANSWER.

Answers

Answer:

I THINK  its D I THINK

Explanation:

The correct answer is syntax error.

In programming, a syntax error occurs when you forget things such as curly braces, semi-colons, colons, etc.

Is anyone doing K12?

Yes

No

Answers

Answer:

No

Explanation:

I need a brainliest to level up please contribute

Answer: Yes I'm doing sixth grade in K12

Other Questions
46. Which set of numbers balances this equation?. Agl + Na2S Ag2S + NalO 3,7,200 2,1,1,2O 0,5,0,2O 2,0,0,2 1. A firms production function is F(L) = 36L1/3. Suppose that the cost per unit of labor is $4 and the price of output is $1, how many units of labor will the firm hire The sum of two numbers is 75. One number is 5 more than 9 times the other number. What are the two numbers? Look at the photo, the question is ask in the photo. Which English reformer called for change in the church during the 1300s?A. Thomas CromwellB. Charles VC. John WycliffeD. Thomas More Describe natural rights 4. Based on the text, which statement best describesLincoln's views on the significance of the Civil War?O A Lincoln believes that the war will show whetheror not all Americans support liberty and equality.OB Lincoln feels that it is important for the citizensof a country to always remember and honor thesoldiers that die in battle.OC Lincoln does not believe that the the survival ofthe United States is threatened, so the war is notas important as some people believe.OD Lincoln believes that the war will reveal whetheror not a country committed to liberty andequality can survive. At the same time a molecule generated only in the Krebs cycle called blank donates blank to to the second protein in the electron transport chain. 5. You buy a hot dog for $1.19 and a water for $0.65. Part A: What is the total price of your lunch? Part B: Use the grid below to model how much you spent: 4-5 Isosceles and Equilateral TrianglesWhich of the following statements about bisectors in isosceles triangles is true?O A. The perpendicular bisector of any side of an isosceles triangle is also the angle bisector of the angle opposite that side.O B. The perpendicular bisector of the leg of an isosceles triangle is also the angle bisector of the base angle opposite that leg.OC. The bisector of the angle opposite the base of an isosceles triangle will also be the perpendicular bisector of the base.O D. The bisector of either base angle in an isosceles triangle is also the perpendicular bisector of the side opposite the base angle. what is 1/4 mutipled by 2 1/2 (03.04 LC)What is the first step needed to solve ? (1 point)(03.04 LC)What is the first step needed to solve (3/4)x - 3 = 18Select one:a. Add 3 to both sidesb. Subtract 18 from both sidesc. Multiply both sides by 3d. Divide both sides by 4 Which is a true statement about the diagram?Om25+ m26 = m21Om23+ m24+ m25 = 180Om 21+ m22 = 180Om 22+ m23 = m 25void(0)INTL 110:5 Does this sound good?No voy a celebrar Halloween, pero voy a comer caramelo. No me gustan los fantasmas y monstruos. Tambien ire en bicicleta y jugar videojuegos. Estudiare el domingo. Jim earned $95 after working days. At this rate how many days will it take him to earn $285? A box rest on the floor of an elevator. Because of static friction, a force is required to start the box sliding across the floor when the elevator is (a) stationary, (b) accelerating upwards, and (c) accelerating downward. Rank the force required in these three situations from smallest to largest In "Birches," the author uses the line "like girls on hands and knees that throw their hair before them over their heads to dry in the sun" to describe A school district raises $7 a day by placing an ad on a school bus. If the ad runs 5 days a week for 39 weeks, how much money will the ad raise for the school district?A$1,365B$2,730C$1,540D$1,955 How many months will it take Harlan to save enough money to put a down payment on a motorcycle if the bike will cost $3,000 and he needs a 20 percent down payment and he can save about $75 a month? 1. What type of number is a PRIMEnumber?2. List the first 5 prime numbersfrom least to greatest?Help me please!!!! Fast!!! 35 points!!!