Skip to content

Commit

Permalink
Update task.md
Browse files Browse the repository at this point in the history
language checked
  • Loading branch information
stephen-hero authored and onewhl committed Jan 24, 2024
1 parent d50dbbc commit a4e0fca
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@ the light. The greater the frequency, the higher the energy of the photon.
To calculate the **mass of a photon**, take the energy of the photon and divide it by the speed of
light squared. However, in practice, photons are considered to have zero mass.

In this task, you need to identify magic numbers in the code and create constant values for them.
In this task, you need to identify the magic numbers in the code and create constant values for them.

### Hints

<div class="hint" title="Shortcut for Introduce constant refactoring">

&shortcut:IntroduceConstant; (macOS) or Ctrl+Alt+C (Windows/Linux) – shortcut to introduce a constant.
&shortcut:IntroduceConstant; (macOS) or Ctrl+Alt+C (Windows/Linux) – shortcuts to introduce a constant.
</div>

<div class="hint" title="Shortcut for Introduce variable refactoring">

&shortcut:IntroduceVariable; (macOS) or Ctrl+Alt+V (Windows/Linux) – shortcut to introduce a variable.
&shortcut:IntroduceVariable; (macOS) or Ctrl+Alt+V (Windows/Linux) – shortcuts to introduce a variable.
</div>

<div class="hint" title="Speed of light">

_The speed of light_ is the ultimate speed limit in the universe, and it's a constant, never changing.
It's so fast that light can zip around the Earth over 7 times in just one second! And nothing can go faster than that.
It's so fast that light can zip around the Earth over 7 times in just one second! And nothing can exceeed this speed.
</div>

<div class="hint" title="Planck constant">

_The Planck constant_ is a tiny constant that sets the scale for how energy and frequency are related in quantum
_The Planck constant_ is a tiny constant that sets the scale for how energy and frequency interrelate in quantum
mechanics.
</div>

<div class="hint" title="Wave length">

_Wave length_ is like measuring how long one wave is, from the top of one wave to the top of the next wave.
It's not always the same size and can change depending on the type of wave or how it's made.
_Wave length_ measures the length of one wave, from the top of one wave to the top of the next wave.
Its size can vary depending on the wave type or how it's generated.
</div>

0 comments on commit a4e0fca

Please sign in to comment.