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
slavikrds [6]
3 years ago
15

Test if a number grade is an A (greater than or equal to 90). If so, print "Great!". Hint: Grades may be decimals. Sample Run En

ter a Number: 98.5 Sample Output Great!
Engineering
1 answer:
Sphinxa [80]3 years ago
3 0

Answer:

In Python:

grade = float(input("Enter a Number: "))

if grade >= 90:

   print("Great!")

Explanation:

This prompts the user for grade

grade = float(input("Enter a Number: "))

This checks for input greater than or equal to 90

if grade >= 90:

If yes, this prints "Great"

   print("Great!")

You might be interested in
Volume of sale (i.e., the number of parts sold) is a factorwhen determining which
nadya68 [22]

Answer: N has to be lesser than or equal to 1666.

Explanation:

Cost of parts N in FPGA = $15N

Cost of parts N in gate array = $3N + $20000

Cost of parts N in standard cell = $1N + $100000

So,

15N < 3N + 20000 lets say this is equation 1

(cost of FPGA lesser than that of gate array)

 Also. 15N < 1N + 100000  lets say this is equation 2  

(cost of FPGA lesser than that of standardcell)

Now

From equation 1

12N < 20000

N < 1666.67

From equation 2

14N < 100000

N < 7142.85

AT the same time, Both conditions must hold true

So N <= 1666 (Since N has to be an integer)

N has to be lesser than or equal to 1666.

3 0
3 years ago
La probabilidad de que un nuevo producto tenga éxito es de 0.85. Si se eligen 10 personas al azar y se les pregunta si compraría
liq [111]

Answer:

La probabilidad pedida es 0.820196

Explanation:

Sabemos que la probabilidad de que un nuevo producto tenga éxito es de 0.85. Sabemos también que se eligen 10 personas al azar y se les pregunta si comprarían el nuevo producto. Para responder a la pregunta, primero definiremos la siguiente variable aleatoria :

X: '' Número de personas que adquirirán el nuevo producto de 10 personas a las que se les preguntó ''

Ahora bien, si suponemos que la probabilidad de que el nuevo producto tenga éxito se mantiene constante (p=0.85) y además suponemos que hay independencia entre cada una de las personas al azar a las que se les preguntó ⇒ Podemos modelar a X como una variable aleatoria Binomial. Esto se escribe :

X ~ Bi(n,p) en donde ''n'' es el número de personas entrevistadas y ''p'' es la probabilidad de éxito (una persona adquiriendo el producto) en cada caso.

Utilizando los datos ⇒ X ~ Bi(10,0.85)

La función de probabilidad de la variable aleatoria binomial es :

p_{X}(x)=P(X=x)=\left(\begin{array}{c}n&x\end{array}\right)p^{x}(1-p)^{n-x}    con x=0,1,2,...,n

Si reemplazamos los datos de la pregunta en la función de probabilidad obtenemos :

P(X=x)=\left(\begin{array}{c}10&x\end{array}\right)(0.85)^{x}(0.15)^{10-x} con x=0,1,2,...,10

Nos piden la probabilidad de que por lo menos 8 personas adquieran el nuevo producto, esto es :

P(X\geq 8)=P(X=8)+P(X=9)+P(X=10)

Calculando P(X=8), P(X=9) y P(X=10) por separado y sumando, obtenemos que P(X\geq 8)=0.820196

7 0
3 years ago
A spacecraft is fueled using hydrazine ​(N2H4​; molecular weight of 32 grams per mole​ [g/mol]) and carries 1 comma 630 kilogram
Varvara68 [4.7K]

Answer:

attached below

Explanation:

7 0
3 years ago
What are the functions of each computer program
Ludmilka [50]
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing. ... Different programming languages name them differently, for example, functions, methods, sub-routines, procedures, etc.
4 0
3 years ago
Let f(t) be an arbitrary signal with bandwidth Ω. Determine the minimum sampling frequencies ωs needed to sample the following a
disa [49]

Answer:

See explaination

Explanation:

We can describr Aliasing as a false frequency which one get when ones sampling rate is less than twice the frequency of your measured signal.

please check attachment for the step by step solution of the given problem.

7 0
3 years ago
Other questions:
  • To prevent hydroplaning, _____. A. slow down B. speed up C. deflate your tires D. use cruise control
    15·1 answer
  • A device that helps increase field worker productivity by providing reliable location and time
    13·1 answer
  • An aircraft component is fabricated from an aluminum alloy that has a plane strain fracture toughness of 40 MPa . It has been de
    7·1 answer
  • Write a function separatethem that will receive one input argument which is a structure containing fields named length and width
    8·1 answer
  • Write a program that asks the user to input a vector of integers of arbitrary length. Then, using a for-end loop the program exa
    13·1 answer
  • Determine the magnitude and the location of the hydrostatic force on the 2m by 4 m vertical rectangular gate shown in Figure P3.
    12·1 answer
  • A refrigerator operating on the Carnot cycle is used to make ice. Water freezing at 32oF is the cold reservoir. Heat is rejected
    11·1 answer
  • What is mechanical engineer​
    14·1 answer
  • Provide five strategies to stimulate brainstorming. (according to PLTW)
    11·1 answer
  • 1)What are the three previous manufacturing revolutions Mr. Scalabre mentions? When did these take place?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!