Mechanical and Aerospace Engineering 252E: Data Science for Fluid Dyanmics

Notice that for this course (and all UCLA courses) the slides are intellectual properties of the instructor; therefore the post is just my own curated notes and projects based on the course (which are therefore my own intellectual properties). The notes here should consist of two parts: My learning journey, taking this challenging course as someone who has no fluid mechanics background (although plenty of backgrounds in applied mathematics and machine learning)....

02 Apr 2024 · Fred Xu

CS33: Introduction to Computer Organization

Each week, the online notes consist of two parts: A distillation of the online lecture materials Discussion Slide. Week 1 Discussion Materials Lecture one covers the following topics: bit manipulation. representation of numbers in computers. These two are quite simple: just need some exercises to master them. Additional stuff: use the GDB debugger in VIM: follows from this link . Discussion Slide For lab0, the following: #include <stdio.h> int ezThreeFourth(int x) { int threeX = (x << 1) + x; // Multiply x by 3 using bit shifts and addition int result = threeX >> 2; // Divide by 4 using right shift if (x < 0) { result += (threeX & 3) ?...

01 Apr 2024 · Fred Xu

Math 272B: Mathematical Aspect of Fluid Mechanics

Week 1 This week, we introduced Fluid Mechanics from a “third grade perspective”. Professor Roper introduced to us fluid mechanics in a lively manner; in the first lecture (referred to as “3rd grade definition”, intended for kids in 3rd grade), he defined fluid as that which takes shape of its container. This definition sounds like one of the natural philosophers from ancient Greece. This class is about “what makes fluid flow” and “what stops them from flowing”, and we listed the following:...

01 Apr 2024 · Fred Xu