Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Random Walks in Computational Thinking - Lecture 12

The Julia Programming Language via YouTube

Overview

Explore the concept of random walks in this 55-minute lecture from MIT's Computational Thinking Spring 2021 course. Delve into visualizing random walks, understanding Julia programming concepts, and examining the dynamics of hard discs. Learn about the motivation behind using random walks and how to implement a simple random walk. Gain insights into Julia benchmarking techniques and discover how to generate and analyze the trajectory of a random walk. Advance your understanding by exploring more general random walks using types, distinguishing between mutable and immutable structs, and working with functions that have type parameters. Conclude with a discussion on the update function and the rationale behind using immutable objects. This lecture provides a comprehensive overview of random walks and their implementation in Julia, suitable for those interested in computational thinking and programming.

Syllabus

Introduction.
Visualising random walks.
Julia concepts.
Motivation: Dynamics of hard discs.
Why use random walks?.
Simple random walk.
Julia: Benchmarking.
Trajectory of a random walk.
Making it more general: Random walks using types.
Mutable vs immutable structs.
Functions with type parameters.
update function discussion, why immutable objects?.

Taught by

The Julia Programming Language

Reviews

Start your review of Random Walks in Computational Thinking - Lecture 12

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.