Skip to content

Commit 6d213cf

Browse files
authored
fix(curriculum): add mid dot to formula (freeCodeCamp#59720)
1 parent 88ab14e commit 6d213cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • curriculum/challenges/english/07-scientific-computing-with-python/learn-encapsulation-by-building-a-projectile-trajectory-calculator

curriculum/challenges/english/07-scientific-computing-with-python/learn-encapsulation-by-building-a-projectile-trajectory-calculator/660400f02cf3a76795b82d4e.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The first thing to set up is a method that calculates the displacement of the pr
1212
Create a method `__calculate_displacement`, which has only `self` as a parameter, and return the displacement of the projectile.
1313

1414
Use the following formula to compute the projectile displacement:
15-
\\[ d = \frac{v \cdot \cos\theta \cdot \left(v\cdot\sin\theta + \sqrt{v^2\sin^2\theta + 2 \cdot g \cdot h}\right)}{g} \\]
15+
\\[ d = \frac{v \cdot \cos\theta \cdot \left(v\cdot\sin\theta + \sqrt{v^2 \cdot \sin^2\theta + 2 \cdot g \cdot h}\right)}{g} \\]
1616

1717
In which $d$ is the displacement, $v$ is the starting speed, $\theta$ is the angle and $h$ is the starting height of the projectile.
1818
For $g$ you can use the `GRAVITATIONAL_ACCELERATION` variable.

0 commit comments

Comments
 (0)