Merge branch 'master' of /Users/ernestoestrada/IdeaProjects/PPL-Fall-2018 with conflicts.

This commit is contained in:
Ernesto Estrada
2018-10-22 12:40:13 -06:00
parent 216d31ca59
commit 13efc3fd81
6 changed files with 117 additions and 40 deletions
+16
View File
@@ -0,0 +1,16 @@
print "enter a:"
a = input()
print "enter b:"
b = input()
print "enter c:"
c = input()
disc = pow(b,2) - 4*a*c
x1 = (-b - sqrt(disc) ) / (2*a)
x2 = (-b + sqrt(disc) ) / (2*a)
print "x1: " print x1 newline
print "x2: " print x2 newline