Q3: . Plot Specific heat of solid (a) Dulong-Petit law, (b) Einstein distribution function,                (c) Debye distribution function with temperature and compare them.

AIM OF THE EXPERIMENT:

To plot Specific heat of solid (a) Dulong-Petit law, (b) Einstein distribution function,                (c) Debye distribution function with temperature and compare them.

REQUISITES:
A PC/laptop.
Scilab 6.0.0 must be installed.

CODING:
```clc;
clear all;
R=8.314;
h=6.625*10.^-34;
k=1.38*10.^-23;
v=15*10^12;
for T=10:10:1000;
DP=3*R;
a=(h*v)/(k*T);
E=(((3*R)*(a^2)*(exp(a)))/((exp(a)-1)^2));
funcprot(0)
function c=f(x)
c=(x^4)*exp(x)/((exp(x)-1)^2);
endfunction
integral=intg(0,a,f);
D=(9*R*((1/a)^3)*integral);
plot(T,DP,'r*');
plot(T,E,'b+');
plot(T,D,'g*');
end
xlabel('Temperature','fontsize',4)
ylabel('Cv','fontsize',4)
title('Specific heat Vs. Temperature Plot','fontsize',4)```
`OUTPUT:`
`Contact for all Doubts & Online Classes (+2 & +3) : quantaphysics3@gmail.comRead Spiritual Article & Manage Your Time & act likeTimelessScilab ProgrammingC ++ ProgrammingModel syllabus (+3): DownoadList of all practicals(+3):   DownloadGet all Books:  DownloadPhysics Notes: CLICKIIT-JAM             JEST                GATE               NET                                                           How to Prepare for IIT-JAM  ⇠ ⇠ Click HereHow to prepare for JEST ⇠ ⇠ Click HereGet everything about your B.Sc (+3) Physics Practical⇠ ⇠Click`