Welcome to the journey of a curious mind eager to better understand the inner workings of the universe. This is a personal blog dedicated to clearly and rigorously communicating science and engineering topics.
This site is intentionally self-hosted on low-power hardware and built entirely with open-source tools, reflecting the owner’s commitment to sustainable and transparent computing. Thus, this project is a practical demonstration of those beliefs.
Topics Covered#
- Applied physiscs and mathematics
- Nuclear process
- Chemical process
- Thermodynamics
- Fluids mechanics
- Reaction kinetics
- Heat and mass transfer
About This Blog#
The goal of this blog is not speed or virality, but accuracy, depth, and long-term usefulness. Its main purpose is to serve as an archive of the knowledge gained throughout the journey.
Articles are written to:
- Explain concepts from first principles
- Provide reproducible configurations and experiments
- Favor understanding over abstraction
If you are a student, researcher, engineer, or curious reader, this blog is written for you.
Latest Articles#
Introduction C++ or Cpp is a programming language derived from c that is also considered as a middle-level programming language, due to the capability of handling hardware level and its human like readability. This makes it heavily powerful tool or a risky nightmare if the code is miss set.
Variables and Types Cpp is a statically typed programming language, which means that the variables must be declared before being compiled. Cpp present the fallowing data types:
...
Introduction Python is a high-level programming language widely used in science, engineering, and many other fields. It is user-friendly and allows users to interact with a computer using simple, readable syntax instead of complex assembly or binary commands.
As a high-level language, Python is more readable than lower-level languages, which are closer to machine logic. One of Python’s key features is dynamic typing: variable types do not need to be declared before use. This makes the code easier to understand and debug.
...
Data structures Data structures are fundamental components used to organize, manage and store data. In C++, those are the built-in arrays, the standard template library (STL) and user-defined structures. Depending on the situation, you can use a particular STL adapted to the task in hand, or build your own.
Arrays In Cpp an array is a variable that can store multiple values of the same type by assigning a memory slot for those values. Arrays are statics assigned, which means that when they are created they will not allow more values inside, but they are mutable.
...
Introduction The dynamic part of programming begins here. Python provides built-in data structures to organize data types based on specific needs, allowing the creation of more complex structures. Data structures can be classified as mutable or immutable, ordered or unordered, and those that accept duplicate elements.
Data Structures in Python Depending on the situation, Python offers structures that allow efficient data access. For programs, accessing data can be compared to searching for a book in a library: without an organized system, you would have to check every book to find the one you need. In programming, this “library” is the computer’s memory.
...
Introduction Operators are the building blocks of programming logic in Python. They allow you to perform mathematical, comparison, logical, and other operations on data. This guide covers Python’s built-in operators, which are essential for writing complex and efficient code.
Arithmetic Operators Arithmetic operators are used to perform mathematical operations like addition, subtraction, multiplication, and division.
Basic Arithmetic Operators Operator Name Example Result + Addition a + b Sum of a and b - Subtraction a - b Difference between a and b * Multiplication a * b Product of a and b / Division a / b Quotient of a and b (returns a float) // Floor Division a // b Quotient of a and b (returns an integer) % Modulus a % b Remainder of a divided by b ** Exponentiation a ** b a raised to the power of b Examples 1 2 3 4 5 6 7 8 9 10 11 a = 3 b = 5 print(a + b) # Output: 8 print(a * b) # Output: 15 print(a - b) # Output: -2 print(a / b) # Output: 0.6 print(a // b) # Output: 0 (floor division) print(a % b) # Output: 3 (modulus) print(a ** b) # Output: 243 (exponentiation) Comparison Operators Comparison operators are used to compare values and return a boolean (True or False).
...
Introduction Python is a high-level programming language widely used in science, engineering, and many other fields. It is user-friendly and allows users to interact with a computer using simple, readable syntax instead of complex assembly or binary commands.
This guide covers loops (for and while) and conditionals (if, elif, else), which are fundamental for controlling the flow of your programs.
Loops Loops allow you to repeat a block of code multiple times. Python provides two primary types of loops: for and while.
...
Introduction Functions are a convenient way to organize your code into reusable and modular blocks. They improve readability, reusability, and efficiency by allowing you to:
Divide complex tasks into smaller, manageable parts. Avoid repeating the same code. Define clear interfaces for sharing code with others. Defining Functions In Python, you define a function using the def keyword, followed by:
The function name. Parentheses () containing optional parameters. A colon :. An indented block of code to execute. Syntax 1 2 3 def function_name(parameter1, parameter2, ...): # Code to execute return result # Optional Example: Simple Function Print numbers from start to stop-1 with a given step:
1 2 3 4 5 6 7 8 def counter(start, stop, step): i = start while i < stop: print(i) i += step counter(1, 7, 2) Output:
1 2 3 4 1 3 5 ...