This is using python.
Assuming all the variables are non-zero.

Which lines of code will assign the discriminant the value b2−4ac? Select 2 options.


discriminant = bb - 4ac

discriminant = b * b - 4 * a * c

discriminant = b ^ 2 - 4ac

discriminant = b ** 2 - 4 * a * c

discriminant = b ^ 2 - 4 * a * c

Answers

Answer 1

Answer:

discriminant = b * b - 4 * a * c

discriminant = b ** 2 - 4 * a * c

Explanation:

The operands are correct and in the right order (for python).

** is the operand for squaring something.

* is the operand for multiplying something.

- is the operand for subtracting something.

Answer 2

Let's take a look at these examples individually.

discriminant = bb - 4ac. You have to use the * sign so the computer understands that you're trying to multiply two objects together.

discriminant = b * b - 4 * a * c. This example works because it's using the * where it's appropriate.

discriminant = b ^ 2 - 4ac. In python we don't use the ^ sign. To use exponents, we use **. Also, there is no * sign in between 4, a, and c.

discriminant =  b ** 2 - 4 * a * c. This example works because it uses the ** and * sign where appropriate.

discriminant = b ^ 2 - 4 * a * c. This example uses the ^ sign and python does not support it.


Related Questions

Justify the first two paragraphs and the tips list.

I literally don't know what they want me to do so please help very much appreciated

Answers

Answer:

dont mind me just hwere is your question i literaly can see it anywhere

Explanation:

Can someone find out what this binary number thing is. Just find out the message, I'm having a difficult time

Answers

Answer:

Press alt and F4 to see answer

Explanation:

var1 = 1
var2 = 2
var3 = "3"
print(var1 + var2 + var3)

Answers

Explanation:

omg it's Python, I don't like it

I would say the answer is 33 or 6

Which data type is 1.2e3?

string

single

int

float

Just basic Python coding BTW :L

Answers

Answer:

Float, Floating point numbers go up to 3.402823466 E + 38

Explanation:

What is an example of an attribute for a screen object

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

First, we need to know what are the attributes of an object in object-oriented programming. In the object-oriented program, an entity that you are going to program considered an object. for example, students, class, course, teacher, and exam are objects in the learning management system. The attributes are the feature of an object whereas methods are the behaviors of an object

In this question, it is asked about to list or give an example of an attribute for a screen object. Screen object can be anything that shows display, for example, your laptop, mobile, tablet, billboard, etc.

The attribute of the screen object are listed below:

screen size,screen manufacturerscreen type (whether it is a laptop, monitor, digital watch screen, etc)screen widthscreen lengthscreen colorscreen pixelIs it a touch screen

The above are some examples of an attribute for a screen object.

Which of the following lines correctly defines a String variable

A. String s = aplus;
B. s = "aplus";
C. String s = "aplus";
D. String = "aplus";
E. String;

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is C i.e. String s = "apluse";

The rule or syntax of declaring string in any programming language is given below:

String variable-name = "yourString";

For declaring string variable, first, you write "String" that is a keyword of a programming languages for declaring string variables, such as int before the variable name for declaring integer variable. Then, you need to write a meaningful name of the string as a variable. After string variable name, you need to put the equal operator and then write the string in double quotation("") marks and after that put the instruction terminator that is ";".

So, according to this syntax, option C is correct.

While other options are not correct because:

In option a, string is not encapsulated in double quotation. Option B does not have varaible type such as String and Option E does not have variable name and its value also. So, only option C is correct and all other except C are incorrect.

who is the impostor​

Answers

Red is sus. I saw him vent!!!!!!!!!
The imposter is Yellow he is always sus

Kelly arrives for work at a restaurant at 5:00 p.m. Once there, she washes and chops vegetables, then sets aside ingredients and organizes them for the cook. Kelly is most likely a . Mark's work hours change every week, depending on when he is needed. He wears a suit and tie to work at an elegant restaurant. He greets guests and seats them in a waiting area. He then guides them to their tables. Mark is most likely a

Answers

Answer:

ExplanKelly arrives for work at a restaurant at 5:00 p.m. Once there, she washes and chops vegetables, then sets aside ingredients and organizes them for the cook. Kelly is most likely a  

✔ Food Preparation Worker

.

Mark's work hours change every week, depending on when he is needed. He wears a suit and tie to work at an elegant restaurant. He greets guests and seats them in a waiting area. He then guides them to their tables. Mark is most likely a  

✔ Host

Answer:here's the answer for this question

Explanation:edge2023

High-performance video graphics cards often use ________ memory.
GDDR6

GDDR5

GDDR4

GDDR3

Answers

Answer:

GDDR5

Explanation:

Who got social media that is smart in English subject a lot pass it here your social media pls?

Answers

Answer:

I'll help with work for a low price HMU

_kay.sanchez_ Instagram

Your manager has requested you keep a timesheet showing how many hours you work each day and what projects you work on during that time. Using spreadsheet software, how can you total your hours at the end of each week to provide a quick and accurate amount? Use the MIN and MAX functions. Use the AVERAGE function. Use the SUM function.

A: Use the MIN and MAX functions.
B: Use the AVERAGE function.
C: Use the SUM function.

Answers

Answer:

I had to use Microsoft Excel for a while when I was working as a dispatcher, inputting pricing and hours and such. C Would be the correct answer.

Explanation:

Average function would just average out the entire week. Though, if the entire week was 8 hours a day, the average would indeed be 8 hours. But it is not the correct answer if one assumes it's not steady like that. Min and Max, depending how it is setup will find the minimum number, and or the maximum number. Making that incorrect as well.

please help in this question​

Answers

Answer:

B. 1980's

Explanation:

Python, the programming language, was found in 1980's.

i dont know how to say hello in french

Answers

Answer:

Bonjour

Explanation:

Answer:

hello in french is Bonjour

Mathematics and computer science share the concept of recursion.
You wrote a program to find the factorial of a number using recursion.
5! =

Answers

5! is equal to 120.

5 * 4 * 3 * 2 * 1 = 120

Answer: 5

Explanation: got it right on edgen

When moving pictures and graphics around on the slide you can use these to help you line things up on your slide.

Question 3 options:

Smart Guides


Guide Lines


Line Help Tools


Slide Lines

Answers

Answer:

Smart Guides

Explanation:

When moving pictures and graphics around on the slide you can use SMART GUIDES to help you line things up on your slide.

To access Smar Guides, clicking and dragging the object will automatically bring Smart Guides, then a user can align and space the object accordingly.

Other options for aligning and spacing in Microsoft PowerPoint are:

1. Align Object: this can be assessed through the Format tab

2. Gridlines: this can be assessed through View Tab

3. Guides: this can be assessed from View Tab

4. Using keys Arrows to move the object around

Answer the crosswords for brainliest and 30

I really need help here get 30 points and brainliest

Answers

Answer:

6:width

Explanation:

what kind of crossword computer srry i did not mean take ur points I don't use them

Which method is used to edit a function that has been created and inserted into a cell?
O Double-click the cell containing the function, and make amendments to the function within the cell.
O Click the cell containing the function, and click in the Formula Bar to make amendments to the function.
O Click the cell containing the function, and click on the fx symbol to the left of the Formula Bar to launch the
Function Arguments dialog box where amendments can be made.
O All of the above methods can be used to edit a function that has already been inserted into a cell.

Answers

Answer:

ITS D

Explanation:

I got on excel and tested all of them.

(they all work)

The methods used to edit a function is that all of the above listed methods can be used to edit a function that has already been inserted into a cell.

What is computer function?

The functions of a computer is known to be any kind of  task that a system does. It can be taking data or processing, etc.

Conclusively, Note that all of the above listed options can be used as a method in the editing of a function that has already been inserted into a cell as they are all correct.

Learn more about function from

https://brainly.com/question/179886

What is a feature of Print Preview?

Fit to Document
Fit to Margin
Fit to Page
Fit to Size

Answers

Answer: I think it would be fit to size

Explanation:

when I had a test with this question I guested fit to page and got it wrong so my next guess would be fit to size.

Plz I’ll mark Brainliest
When programming, why should you frequently save your work?
O
to check for errors

O so your work won't get lost if you have a computer problem

O to distinguish your
project from other projects

O to keep your categories separated logically

I’m leaning toward B.

Answers

Answer:

It's B cuz if somehow the power went off your work won't be saved. So it's best to save your work frequently.

Complete the function to return the factorial of the parameter.
def factorial(number)
product = 1
while number > 0
product = product * number
number = number - 1
product
strNum = input("Enter a positive integer")
num = int(strNum)
print(factorial(num))

Answers

def factorial(number):

   product = 1

   while number > 0:

       product = product * number

       number = number - 1

   return product

strNum = input("Enter a positive integer")

num = int(strNum)

print(factorial(num))

I hope this helps!

Answer:

Answer in image.

Explanation:

_____________ are things people want in order to be happy and feel good.
A.
Features
B.
Desires
C.
Images
D.
Needs

Answers

I think it would be B! Desires!
                     Hey Emma Here!

Answer:

B!

Explanation:

Desires are things people want things that would make them jump for joy!

Bye Have A Nice Day!

Information posted online can be deleted in some cases, but why would it be difficult to know if it is really gone?
It can always come back on to your account because of common computer errors.
It is impossible to know if it has been copied or contained in a screenshot by others.
For many social media services deleting does not remove it, just makes it invisible.
It is illegal in most countries to delete certain personal information online.

Answers

Answer:

b

I need I Brainliest

What is the output of this program?

numA = 2
numB = 3
if numA == 2 or numB == 2:
print("yes")
elif numA == 2 and numB == 3:
print("no")
Output:

Answers

The output of this program would be letter b (numB=3) because square 2 equals 82 squares and then you get three

Answer:

out is no

Explanation:

just took the quiz

true or false a weighted inventory system is often tied into player advancement

Answers

Answer:tayfana

Explanation:true

NEED HELP FAST timed

Answers

ton

Answer:

piston - engine book

values- crackshaft rod

head- camshaft

numA = 2 while numA < 30: numA = numA * 5 print(numA)

Answers

Answer:

Your print will be

10

50

Explanation:

Answer:

50

Explanation:

please someone help in this question​

Answers

Answer:

i'm pretty sure its a.

Explanation:

good luck :)

Help, please! I will mark as brainliest

Answers

Answer:

Change line 7 to:

for( int i=0; i < names.length; i++)

Last element in the array is one less than the length, ie:

stArr1.length - 1

To print every other value, you replace index++ with index += 2

Explanation:

Not only should you change the <= into <, but also i should start at 0, not 1. The first element of an array has index 0.

What is the best yellow thing you can think of? (I need this for a presentation to turn it black and white.) Please no lemons.

Answers

Answer:

Pineapple some types of apples, yellow roses

Explanation:

b.) A programmer can precede an expression with
to temporarily
convert an expression's value to the indicated data type, such as changing an int to a double.

Answers

Answer:

a type cast

Explanation:

A type cast converts a value to another type.

Other Questions
What are three different ratios that are equivalent to the ratio 3:11.? Explain your answer The Watergate Scandal led to the resignation of __________.A.Governor Howard EdmondsonB.Governor Raymond GaryC.Representative Carl AlbertD.President Richard Nixon Last month, John lost money by selling stocks. His investment income was -\$525$525minus, dollar sign, 525. This month, John's investment income is \$163$163dollar sign, 163. What does this mean? Which partial quotients could be added to find 396 12? A 20 and 8 B 20 and 4C 30 and 3D 30 and 8 A scientist has two acid solutions: Artesia, which is a $70\%$ acid solution, and Borromeo, which is a $20\%$ acid solution. (a) Find the amount of Artesia (in mL) that must be added to $500$ mL of Borromeo in order to produce a $60\%$ acid solution. (b) Find the amount of Artesia and Borromeo (in mL) that can be combined in order to form a $100$ mL solution that is $55\%$ acid. (c) Does there exist a combination of Artesia and Borromeo that is $80\%$ acid? what was the effect of expanding voting rights? please help How has the poison changed the concentration of pyruvate, NADH and intermembrane H+ in Jareds cells? 5th one pls help me ..... what is 4.89 times 6.3 in dollars and cents plz i really need help!:( Do you believe that as time passes, older documents like the Declaration holdmore or less meaning given the current state of our country? Why or why not Joanne designs and sells t shirts through an online forum. she paid 80 dollars for general supplies. It costs her 2 dollars to make each t shirt. She charges 6 dollars per shirt. Determine how many t shirts Joanne needs to sell in order to break even. how does the legislative process ensure the validity of laws? What are the roots of the polynomial equation x* 25x + 144 = 0?A -16, -9. 4 916, 9D. -4,-3,3,4 3. PLEASE HELP! Jenna just opened a checking account at the bank. Within the first month, she deposited three checks for $34.98, $51.02, and $51.22. She withdrew $5.23 for new pencils, $5.22 for cards, and $7.89 for movies from her account in the same month.(a) Write Jenna's withdrawals as negative rational numbers and her deposits as positive rational numbers.(b) Order the rational numbers from least to greatest and explain your reasoning.(c) What is the greatest deposit within Jenna's account so far? What happened to many Africans during the age of exploration and the scientific revolution Set up and solve an equation to find x. A painter uses 1.2 liters of the paint to cover 1m2 of the wall.How much paint will he need to cover 7m2;? What is the difference between the SSS/SAS congruency postulate and the SSS/SAS similarity postulate?Help Please!!!! The words subscriptions and describe both contain the root script. Basedon this information, what does the root script MOST LIKELY mean?A) to actB) to moveto lookeD) to write how am I suppose to finish the sentence off?