
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
این کتاب به شما یاد میدهد چگونه مسئلههای فیزیک را با استفاده از پارادایم «برنامهنویسی تابعی» حل کنید. این اثر برای برنامهنویسان تازهکار و علاقهمندان به علم مناسب است. کتاب، زبان برنامهنویسی هَسکل (Haskell) را معرفی میکند و از شما میخواهد کدی بنویسید که با ایدههای زیبای فیزیک نظری هماهنگ باشد.
فصلهای ابتدایی، اصول کدنویسی در هَسکل را پوشش میدهند؛ زبانی که از یک سیستم قدرتمندِ انواع (type) برخوردار است و میتواند ساختارهای مهم ریاضی را در فیزیک رمزگذاری کند؛ مانند بردارها، مشتقها، انتگرالها، میدانهای اسکالر، میدانهای برداری و معادلات دیفرانسیل. بخشهای بعدی کتاب به مکانیک نیوتونی و الکترومغناطیس میپردازند؛ دو ستون اصلی در فیزیک نظری.
در ادامه، نگاهی عمیق به کُدِ منبع خواهید داشت و خواهید فهمید چرا «توابع مرتبهبالا» (high-order functions) و «شفافیتِ ارجاعی» (referential transparency) در هَسکل برای فیزیک بسیار مناسباند. در خلال کتاب، این موارد را یاد میگیرید:
• چگونه کدی زیبا بنویسید که اصول بنیادین فیزیک را بیان کند
• چگونه نمودارها و انیمیشنهایی از موقعیتهای جالب بسازید
• چگونه در زبانی برنامهنویسی کنید که شبیه ریاضیات است
• چگونه انواع، توابع مرتبهبالا و شفافیتِ ارجاعی به خوبی به فیزیک خدمت میکنند
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