Cursos
Iniciar sesiónComenzar a aprender IA
Cursos
Iniciar sesiónComenzar a aprender IA

Sesiones de PyR

Write and test a program that solves quadratic equations. A quadratic equation is an equation of the form ax2+ bx + c =0 ,where a,b and c are given coefficient and x is the unknown The coefficients are real number inputs ,so they should be declared of type float or double Since quadratic equations typically have two solutions ,use x1 and x2 for the solutions to be output These should be declared of type double to avoid inaccuracies from round-off error
c++
-1 Voto
3 Respuestas
28th Jun 2016, 7:19 PM
Ogunjirin Emmanuel
Ogunjirin Emmanuel - avatar
Matt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case. hunt({3 1 2}) = {2 3 4}
java
0 Votos
2 Respuestas
6th Aug 2016, 6:23 PM
Sumit Tyagi
Sumit Tyagi - avatar
< Anterior1...3132Siguiente >
En tendencia hoy
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
3 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Advertising in Sololearn
1 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes