---
title: "Discussion on \"The electromagnetic spectrum in a few lines of JavaScript\" | Hashnode"
description: "Discussion on \"The electromagnetic spectrum in a few lines of JavaScript\". The electromagnetic spectrum is one family of waves that all travel at c = 3 × 10⁸ m/s in vacuum, so wavelength and frequency are linked by c = fλ. A few lines of JavaScript turn that into a calculato"
url: "https://hashnode.com/posts/the-electromagnetic-spectrum-in-a-few-lines-of-javascript/6afc456587d3117c6cafe8e4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The electromagnetic spectrum in a few lines of JavaScript](https://practisci.hashnode.dev/the-electromagnetic-spectrum-in-a-few-lines-of-javascript?utm_source=hashnode&utm_medium=feed)

The electromagnetic spectrum is one family of waves that all travel at c = 3 × 10⁸ m/s in vacuum, so wavelength and frequency are linked by c = fλ. A few lines of JavaScript turn that into a calculato

5d ago · 2 min read · practisci.hashnode.dev  
Read the article

-   [#physics](https://hashnode.com/tag/physics)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#education](https://hashnode.com/tag/education)

## Written by

[Surendra Singh Kamboj](https://hashnode.com/@surendrasinghkamboj)

@surendrasinghkamboj

  
[View profile](https://hashnode.com/@surendrasinghkamboj)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
