Code Monkey home page Code Monkey logo

co.physics's Introduction

co.physics

Computerorientierte Physik - Universität Bern

The course is aimed to provide students with a basic knowledge of C programming language and of its employment to address physics related questions such as numerical integration, solution of differential equation, Monte Carlo method for simulation of physical processes. The course will consist of three hours per week, one hour of theory and two hours of exercises. The students are not expected to have any background in programming.

Index

  • 09.1.1 - Bisection for Roots: root_bisection(function, start, end, precision, result)
  • 09.1.2 - Newton Raphson for Roots: root_newton_raphson(function, derivate function, start, precision, result)
  • 10.1.1 - Trapezoidal Integration: trapezoidal_integration(function, precision, start, end)
  • 10.1.2 - Simpson's Integration: simpsons_integration(function, precision, start, end)
  • 11.1.1 - Euler for Differential Equations: diff_eq_euler(function, startval, start, end, stepsize)
  • 11.1.2 - Runge Kutta 2 for Differential Equations: diff_runge_kutta(function, startval, start, end, stepsize)
  • 12.1.1 - Random Number Generator with Evaluation of Expectation Value, Variance for different Parameters
  • 12.1.2 - Random Number Generator with Evaluation of the best Parameters
  • 12.2.1 - Simulation of Ladders and Snakes with our Random Number Generator
  • 12.2.2 - Simulation of Ladders and Snakes with the Random Number Generator of the Standard C Lib
  • 13.1.1 - Sample Mean Monte Carlo Integration: monte_carlo(function, start, end, steps)
  • 13.1.2 - Acceptance and Rejection Monte Carlo Integration: ar_monte_carlo(function, variance, x_start, x_end, y_start, y_end, precision)
  • 13.2 - CDF Monte Carlo: cdf_monte_carlo(function, steps, bins)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.