Skip to main content

Plot Planck’s law for Black Body radiation and compare it with Raleigh-Jeans Law at high temperature and low temperature -Scilab

experiment - 3 // Define frequency ranges and constants

omega = [0.1:0.1:10];

omegar = [0.1:0.1:2];

A = 1.0;

B = 1.0;

Temp = 1.0;


// Calculate energy density using Planck's law and Raleigh-Jeans law

enr = A * omega.^3 ./ (exp(B*omega/Temp) - 1);

rj = A * omegar.^2;


// Plot the two functions

clf();

plot2d(omega, enr, style = 1);

plot2d(omegar, rj, style = 4);

xgrid();

xlabel("$\omega$", "fontsize", 5, "color", black);

ylabel("$u(\omega, T)$", "fontsize", 5);

Comments

Popular posts from this blog

Symmetric Nature of Dielectric Tensor

Introduction  Have you ever wondered why certain materials exhibit unique optical properties? Why do some materials allow light to pass through them easily, while others reflect or absorb it? The answer lies in the underlying physical properties of these materials, including their dielectric tensor. The dielectric tensor is a mathematical construct that describes the relationship between an electric field and the resulting polarization of a material. It is a crucial parameter in understanding the optical properties of materials and is often used in the design and fabrication of advanced optical devices, such as lenses, filters, and displays. History of Dielectric Tensor The concept of a dielectric tensor dates back to the late 19th century when James Clerk Maxwell first introduced the idea of polarization in dielectric materials. In 1893, the German physicist Heinrich Hertz discovered that when electromagnetic waves pass through a dielectric material, they induce electric and magne...

Thermodynamic Functions of a Two-Energy Levels System,

In a two-energy level system, there are only two possible energy states that the system can occupy. Let's denote these energy levels as E₁ and E₂, with E₂ > E₁. To calculate the thermodynamic functions of this system, such as the partition function (Z), internal energy (U), entropy (S), and free energy (F), we need to consider the probabilities of the system being in each energy state.Partition Function (Z): The partition function is defined as the sum of the Boltzmann factors for each energy state. For a two-energy level system, the partition function can be written as: Z = exp(-E₁ / (k_B * T)) + exp(-E₂ / (k_B * T)) where k_B is the Boltzmann constant and T is the temperature.Internal Energy (U): The internal energy of the system is given by the weighted average of the energy states, weighted by their respective probabilities. In this case, it can be calculated as: U = E₁ * P(E₁) + E₂ * P(E₂) where P(E₁) and P(E₂) are the probabilities of the system being in energy states E₁ a...

Uniaxial and Biaxial Crystals: Understanding Their Properties and Applications

Introduction Have you ever wondered why some crystals appear differently when viewed from different angles? Or how they can bend and refract light in different ways? The answer lies in their unique internal structure, which can be classified into two types: uniaxial and biaxial crystals. In this blog post, we'll explore the properties of these crystals, their differences, and their applications in various fields. Why do we study uniaxial and biaxial crystals? Crystals are fascinating materials with unique properties that make them valuable in various fields, including optics, electronics, and medicine. The way a crystal interacts with light depends on its internal structure, which can be classified into different types based on the symmetry of its optical properties. Uniaxial and biaxial crystals are two types, each with distinct characteristics and applications. History The study of crystal properties dates back to ancient Greece, where philosophers like Pythagoras and Plato explo...