## X-Ray Diffraction (XRD) Pattern Simulator [C Program] Ver. 2 [Tutorial]

This is the third and the final post on my series on writing a Powder XRD pattern (diffractogram) simulator from scratch using C.…

Read More
Skip to content
# BragitOff.com

## READ-LEARN-BRAG!

# Category: C Programs

## X-Ray Diffraction (XRD) Pattern Simulator [C Program] Ver. 2 [Tutorial]

## Structure Factor Calculator [C PROGRAM]

## Atomic Form Factor Calculator and Table

## Determinant of the Hilbert Matrix – C PROGRAM

## Chi Square Minimization using initial guesses – C PROGRAM

## Calculating Value of Pi using Monte Carlo Technique – C PROGRAM

## Central Limit Theorem Demonstration – C PROGRAM

## Acceptance-Rejection Method (Rejection Sampling) for generating distributions- C PROGRAM

## Polynomial Fitting – C PROGRAM

## Exponential Fitting – C PROGRAM

Here you will find various programs written for C Language.

This is the third and the final post on my series on writing a Powder XRD pattern (diffractogram) simulator from scratch using C.…

Read MoreThis is the second post in the series of my posts on how to write an XRD Pattern simulator using C. In the…

Read MoreIf you follow my blog, then you’d probably remember how I tried to write a powder X-Ray diffraction (XRD) pattern simulator quite a…

Read MoreI have recently written a post that calculates the determinant of a given square matrix using the Gaussian elimination technique. In the last…

Read MoreMethod # 1: Chi-square minimization Fitting a dataset (xi,yi,si) using a curve y=f(x)=a*exp(bx), where values of the parameters a and b are unknown,…

Read MoreRecently in my Numerical Techniques class I learnt a Monte Carlo technique to calculate the value of Pi . The procedure is really…

Read MoreOne of the fundamental theorems of probability is the Central Limit Theorem. This theorem says that if Sn is the sum of n…

Read MoreAcceptance-Rejection method can be used to produce random numbers following a certain probability density function. This is done by generating random numbers following…

Read MoreOkay, so here I am sharing a code for fitting a polynomial to a given set of data-points using the Least Squares Approximation Method(Wikipedia).…

Read MoreIn this post I will be showing you how to write a code that fits the data-points to an exponential function, like: where,…

Read More