-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGeometry.html
More file actions
99 lines (95 loc) · 3.55 KB
/
Geometry.html
File metadata and controls
99 lines (95 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Geometry Formulas</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 20px;
color: #333;
}
h1, h2 {
text-align: center;
color: #dc3545;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
section {
margin-bottom: 20px;
}
.formula {
padding: 10px 15px;
background: #f9f9f9;
border-left: 4px solid #dc3545;
margin: 10px 0;
font-family: "Courier New", monospace;
}
footer {
text-align: center;
margin-top: 30px;
color: #777;
font-size: 0.9em;
}
</style>
</head>
<body>
<h1>Geometry Formulas</h1>
<div class="container">
<!-- Area Formulas -->
<section>
<h2>Area Formulas</h2>
<div class="formula">Area of a Square: A = s²</div>
<div class="formula">Area of a Rectangle: A = l × w</div>
<div class="formula">Area of a Triangle: A = ½ × b × h</div>
<div class="formula">Area of a Circle: A = πr²</div>
<div class="formula">Area of a Parallelogram: A = b × h</div>
<div class="formula">Area of a Trapezoid: A = ½ × (a + b) × h</div>
</section>
<!-- Volume Formulas -->
<section>
<h2>Volume Formulas</h2>
<div class="formula">Volume of a Cube: V = s³</div>
<div class="formula">Volume of a Rectangular Prism: V = l × w × h</div>
<div class="formula">Volume of a Cylinder: V = πr²h</div>
<div class="formula">Volume of a Sphere: V = 4/3 × πr³</div>
<div class="formula">Volume of a Cone: V = 1/3 × πr²h</div>
<div class="formula">Volume of a Pyramid: V = 1/3 × B × h (where B is the area of the base)</div>
</section>
<!-- Pythagorean Theorem -->
<section>
<h2>Pythagorean Theorem</h2>
<div class="formula">a² + b² = c²</div>
<p><strong>Example:</strong> In a right triangle, if the legs are 3 and 4, the hypotenuse will be √(3² + 4²) = 5.</p>
</section>
<!-- Surface Area Formulas -->
<section>
<h2>Surface Area Formulas</h2>
<div class="formula">Surface Area of a Cube: SA = 6s²</div>
<div class="formula">Surface Area of a Rectangular Prism: SA = 2lw + 2lh + 2wh</div>
<div class="formula">Surface Area of a Sphere: SA = 4πr²</div>
<div class="formula">Surface Area of a Cylinder: SA = 2πr(h + r)</div>
<div class="formula">Surface Area of a Cone: SA = πr(r + √(r² + h²))</div>
</section>
<!-- Angle Formulas -->
<section>
<h2>Angle Formulas</h2>
<div class="formula">Sum of Angles in a Triangle: 180°</div>
<div class="formula">Sum of Angles in a Quadrilateral: 360°</div>
<div class="formula">Sum of Angles in a Polygon: (n - 2) × 180°</div>
</section>
</div>
<footer>
© 2024 Geometry Guide. All Rights Reserved.
</footer>
</body>
</html>