Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions FLOWCHART_CPE 12.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/28.1.2 Chrome/138.0.7204.243 Electron/37.4.0 Safari/537.36" version="28.1.2">
<diagram name="Page-1" id="5Uehncq8MYhgfnGgtA1p">
<mxGraphModel dx="772" dy="509" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="xYiNDI5z7G-clhT1AvDQ-6" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="xYiNDI5z7G-clhT1AvDQ-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="130" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-1" value="&lt;b&gt;START&lt;/b&gt;" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="340" y="10" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-8" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="xYiNDI5z7G-clhT1AvDQ-7" target="xYiNDI5z7G-clhT1AvDQ-9" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="230" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-7" value="x^2+4x-1" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="340" y="130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-10" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="xYiNDI5z7G-clhT1AvDQ-9" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="330" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-9" value="d=b^2-4ac&lt;div&gt;d=12&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="340" y="230" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-12" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="440" as="targetPoint" />
<mxPoint x="400" y="410" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-17" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="xYiNDI5z7G-clhT1AvDQ-13" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="650" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-13" value="x1=-2+3^1/2&lt;div&gt;x2=-2-3^1/2&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="340" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-14" value="" style="shape=stencil(fZbdcgIhDIWfZm8zQAg/17Z9j85U606tdqz9e/tmZ0c0uJ47xP0I5JwEBl59bp8/1kNwn6fj4W39M76ctgM/DCGM++36OJ50NPDjwKvN4bh+PR6+9i/z74/n6ctp9H74nlb4nbmSKZeJCu5vngmZ6jzzNAO7cX8FVKEsBuBKrgKg9oAE8gkCbLeUhEoEQKSUDZDLeWYRKIl8MEDRmHwfyBrBG6Amyu4+kDxxMoB3jhwgYu7TVAsVkFcWCs4CTBEoF4RctKeOxHIf8IXYpikHikAIf+MNUW94AGSSaoAoFIE3AlOyeWU+p2E5S9yfQZcQILVuQOwZdJNoS9Ls3wA5u2XZTIHECqeJ9kDpSaauRiNVcAY1QhdBzeLBli5WazpkSsBLV25uRaqWRyFawTQzRRIQYirJzq5atkBqLfouwqUxLBepthWb10vrWZY6UOAeyKCCtDV625mm9gmUC4Wc3VLJMMIE1BsA2FW9JraVlQB7n3c9oMKhCLEvIM1zBPZ25/umNQ1tVEC2G+fFCC8g398O2hNQuQlVu752DBfA+q0ptnqO5JFmeuIuo9DY7KjY71UxdJV4EntifPWorW++R/dC4t7V3DlIB5cHx2bc7eb3yvX//QNFp+bHDT/+Aw==);lineShape=1;strokeColor=default;" parent="1" vertex="1">
<mxGeometry x="527.2013348659132" y="343.87531245851915" width="4.672539772115442" height="4.665236216357698" as="geometry" />
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-16" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="xYiNDI5z7G-clhT1AvDQ-15" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="540" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-15" value="x1=-b+d^1/2/2a" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="340" y="440" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="xYiNDI5z7G-clhT1AvDQ-18" value="STOP" style="ellipse;whiteSpace=wrap;html=1;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="340" y="650" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="pPGNGDquk-xQROVNaw4x-1" value="d&amp;gt;=0" style="rhombus;whiteSpace=wrap;html=1;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="360" y="330" width="80" height="80" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Binary file added Name's and mat number of group members .pdf
Binary file not shown.
32 changes: 32 additions & 0 deletions WHITE WATER RESEARCH GROUP_CPE GROUP 12
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>

</body>
</html>github

````html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Whitewater Research Group</title>
</head>
<body>
<h1>Whitewater Research Group</h1>
<p>
The <strong>Whitewater Research Group</strong> at the University of Tennessee focuses on computational science, high-performance computing, and water resources research.
</p>
<p>
Visit the official website:
<a href="https://whitewater.utk.edu/" target="_blank">whitewater.utk.edu</a>
</p>
</body>
</html>
````
22 changes: 22 additions & 0 deletions import.pytest
Original file line number Diff line number Diff line change
@@ -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