
Learn Physics by Programming in Haskell
Scott N. Walck
Learn Physics by Programming in Haskell
Scott N. Walck
Detalles del libro:
Año: | 2015 |
Editor: | Lebanon Valley College |
Páginas: | 11 páginas |
Idioma: | inglés |
Desde: | 06/03/2015 |
Tamaño: | 63 KB |
Licencia: | Pendiente de revisión |
Contenido:
We describe a method for deepening a student’s understanding of basic physics by asking the student to express physical ideas in a functional programming language. The method is implemented in a second-year course in computational physics at Lebanon Valley College. We argue that the structure of Newtonian mechanics is clarified by its expression in a language (Haskell) that supports higherorder functions, types, and type classes. In electromagnetic theory, the type signatures of functions that calculate electric and magnetic fields clearly express the functional dependency on the charge and current distributions that produce the fields. Many of the ideas in basic physics are well-captured by a type or a function.
Categorías:
Etiquetas:
Cargando comentarios...
Escaneando listas...
El libro en números
posición en categorías
en catálogo desde
06/03/2015puntuación
Nothing yet...votos
Nothing yet...'LIKES' sociales
Nothing yet...Visitas
Descargas
Interés
Segmentación por países
Páginas de entrada
Segmentación por sitios web
evolución
Cargando...