diff --git a/FLOWCHART_CPE 12.drawio b/FLOWCHART_CPE 12.drawio new file mode 100644 index 0000000..4fde2ab --- /dev/null +++ b/FLOWCHART_CPE 12.drawio @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Name's and mat number of group members .pdf b/Name's and mat number of group members .pdf new file mode 100644 index 0000000..2fb7c94 Binary files /dev/null and b/Name's and mat number of group members .pdf differ diff --git a/WHITE WATER RESEARCH GROUP_CPE GROUP 12 b/WHITE WATER RESEARCH GROUP_CPE GROUP 12 new file mode 100644 index 0000000..00e1834 --- /dev/null +++ b/WHITE WATER RESEARCH GROUP_CPE GROUP 12 @@ -0,0 +1,32 @@ + + + + + + Document + + + + +github + +````html + + + + + + Whitewater Research Group + + +

Whitewater Research Group

+

+ The Whitewater Research Group at the University of Tennessee focuses on computational science, high-performance computing, and water resources research. +

+

+ Visit the official website: + whitewater.utk.edu +

+ + +```` \ No newline at end of file diff --git a/import.pytest b/import.pytest new file mode 100644 index 0000000..1db06e3 --- /dev/null +++ b/import.pytest @@ -0,0 +1,22 @@ +import math + +def solve_quadratic(a, b, c): + # Calculate discriminant + d = b ** 2 - 4 * a * c + print(f"Discriminant (d) = {d}") + if d < 0: + print("No real roots.")n6ctp9H74nlb4nbmSKZeJCu5vngmZ6jzzNAO7cX8FVKEsBuBKrgKg9oAE8gkCbLeUhEoEQKSUDZDLeWYRKIl8MEDRmHwfyBrBG6Amyu4 + return None + sqrt_d = math.sqrt(d) + x1 = (-b + sqrt_d) / (2 * a) + x2 = (-b - sqrt_d) / (2 * a) + print(f"x1 = {x1}") + print(f"x2 = {x2}") + return x1, x2 + +if __name__ == "__main__": + # Example: x^2 + 4x - 1 = 0 + a = 1 + b = 4 + c = -1 + solve_quadratic(a, b, c)sss \ No newline at end of file