This book teaches you to solve physics problems using the functional programming paradigm. Ideal for first-time programmers and science aficionados alike, it introduces the Haskell programming language and encourages the writing of beautiful code to match the elegant ideas of theoretical physics.
Early chapters cover the basics of coding in Haskell, which has a powerful system of types capable of encoding important mathematical structures in physics, like vectors, derivatives, integrals, scalar fields, vector fields, and differential equations. Later sections of the book explore Newtonian mechanics and electromagnetics—two central pillars of theoretical physics. In addition, you’ll get a deep look into source code, and discover why Haskell’s high-order functions and referential transparency serve physics so well. Along the way, you’ll learn:
•How to write beautiful code that expresses fundamental physical principles
•How to make graphs and animations of interesting situations
•How to program in a language that looks like mathematics
•How types, high order functions, and referential transparency serve physics well
Scott N. Walck has a PhD in physics from Lehigh University. He has taught physics, including computational physics, to undergraduates (physics majors and non-majors) for 20 years at Lebanon Valley College, where he has been recognized with a Distinguished Teaching Award. Walck is a three-time NSF grant recipient for research in quantum information and is the author of more than...
(展开全部)
ACompaniontoComparativeLiteraturepresentsacollectionofmorethanthirtyoriginalessa...
药性歌括四百味白话解-(第二版) 本书特色 本书是一本学习中医的启蒙读物,以四言韵语文体,介绍了392味常用中药的功效和应用。药性歌括四百味白话解-(第二版) ...
刘丹冰( Aceld ) Zinx ( Golang 轻量级 TCP 服务器开源框架)作者,现就职于好未来集团,担任Golang 架构师、服务端高级专家。拥有多...
蜘蛛,男,原名王黎伟,天涯社区舞文弄墨首席版主,七十年代末出生于山东。出版有《秦书》、《罪全书》、《备忘录》、《拉拉手就到高潮》、《残疾人宣言》、《这个杂种》等...
德里克·史密斯(1927-2003),本名德里克·豪·史密斯,英国侦探小说作家、密室研究家。史密斯深受约翰·狄克森·卡尔的影响,创作了挑战不可能犯罪的长篇处女作...
詹姆斯·布利什美国著名科幻作家、评论家。詹姆斯·布利什很早就接触并喜欢科幻小说,九岁时写了第一篇科幻故事,中学时加入著名科幻迷社团“月球居民”(艾萨克·阿西莫夫...
欧洲核子研究中心(CERN)杰出科学家、BBC当红科普主讲、超人气教授布莱恩·阔克斯的力作《为什么E=mc2?——人人都能读懂的相对论》,即将登陆中国,与读者见...
【科学研究证明,少吃一餐更健康】美国名流超爱的生酮饮食专家美国亚马逊营养学与饮食类图书 榜首★做自己身体的主人,掌握进食的话语权,由内而外展现自信美的饮食方式★...
《辛弃疾传》:辛弃疾(稼轩)不仅是学识博洽、才气磅礴的南宋词坛巨孽,也是具备多方面才智的英雄豪杰。早年投身抗金起义,归宋后力主恢复,为国家生民贡献出全部的智计韬...
严耕望(1916-1996),安徽桐城人,名德厚,字耕望,以字行,取陶渊明“归园田居”之意而号归田。自幼擅长数学推理,文科成绩反倒平平,后因机缘对史学发生了浓厚...
周大新,1952年生于河南邓州。1970年从军。1979年开始发表作品。已发表长篇小说《走出盆地》、《第二十幕》(上、中、下)、《21大厦》、《战争传说》、《湖...
从公堂走向法庭-清末民初诉讼制度改革研究 本书特色 《从公堂走向法庭:清末民初诉讼制度改革研究》为中国政法大学出版社出版。从公堂走向法庭-清末民初诉讼制度改革研...
作品目录出版者的话译者序前言第1章 最小未出现数1第2章 优胜问题6第3章 优化马鞍峰搜索算法10第4章 一个选择问题17第5章
《福尔摩斯办案记》所选插图均出自英国著名的插图画家西德。尼?佩吉特之手。福尔摩斯最初之形象——身高瘦削、鹰鼻薄唇、经常拿着烟斗与手杖,就是由佩吉特塑造的,此后所...
亚历山大•汉密尔顿(Alexander Hamilton,1757-1804),美国的开国元勋之一,宪法的起草人之一,财经专家,美国的第一任财政部长。他是美国政...
A group of little people find themselves without a home in this horror fantasy c...
张智渊 UCPM 中国产品经理联盟 创始人 产品经理圈子里都称汤圆,真名反而鲜为人知。自称谈不上对产品管理有什么深刻的认识,只不过是比大部分的朋友们在产品管理这...
阿嘉莎.克莉絲蒂(一八九○~一九七六)英籍女作家、劇作家。本名AgathaMayClarissaMiller,生於德望郡(Devon),家境富裕而傳統
桥梁施工常用计算实例 本书特色蔡新宁、南志主编的《桥梁施工常用计算实例( 公路工程一线施工技术人员读本)》紧密结合桥梁施工计算的特点,本着科学、规范、实用和可操...
作品目录中篇90 莫失莫忘 3篇莫失莫忘、花好月圆、缺:路· · · · · ·精彩摘录这世界上不外只有三种男人,一种聪明的,惹花