Closed Vasuji closed 4 years ago
PR is always welcome :) Do go through CONTRIBUTING.md before pushing your changes.
There are some interesting algorithms in simulation from Physics, Chemistry, and Engineering especially regarding Monte Carlo simulation: Heat Bath algorithm, Metro-Police algorithm, Markov Chain Monte Carlo, etc.
Hi 👋, I would love to contribute to this session, can you give some advices or tips on how can I do such?
@rakadkh here are some simple steps.
master
and you can pat yourself on the back 🤩Time to write an algorithm or two.
I would like to contribute a Monte Carlo algorithm for the approximation of PI (see here). Of course, I would implement my own version. Is this okay?
I'll make a program calculating the probability of a particular sum of the throw of two dice using simulation.
There are some interesting algorithms in simulation from Physics, Chemistry, and Engineering especially regarding Monte Carlo simulation: Heat Bath algorithm, Metro-Police algorithm, Markov Chain Monte Carlo, etc.
Hi Dibakar, I'm happy to help with the heat bath or Markov Chain algorithm if it is still not done. Let me know!
This looks like an interesting field to work in.
Changing the name of this issue because we now have Monte Carlo algorithms but could use other simulation algorithms.
There are some interesting algorithms in simulation from Physics, Chemistry, and Engineering especially regarding Monte Carlo simulation: Heat Bath algorithm, Metro-Police algorithm, Markov Chain Monte Carlo, etc.
Show some
I was thinking of contributing a Monte Carlo algorithm to simulate the game of craps, would this be ok?
Would the algorithm be different than the others that already exist? https://github.com/TheAlgorithms/Python/issues/1613#issuecomment-605327601
The algorithm wouldn't be much different, just used under a different scenario than calculating pi. Are there any algorithms in particular you are looking for?
Thank you so much, everybody, for the great contributions! In my opinion, optimization and simulation are two parallel arrows in computation. In general, we prefer to use simulation to go from mathematical models (e.g, Lagrangian, Hamiltonian in a physical system) to data generation (for example sampling through algorithms like Markov chain Monte Carlo). But, if we have very large data and we don't know the pattern (Mathematical equation or data structure(linear/nonlinear)), we prefer to use optimization (for example in machine learning). Optimization, in general, goes from data toward a pattern/model/equation. Including 'simulation' together with other algorithms like optimization is really a great idea. Salute to all contributors!
Would a simulation of a one-dimensional cellular automata that takes a ruleset as input and outputs the image of some number of generations from one single pixel be ok? https://mathworld.wolfram.com/ElementaryCellularAutomaton.html
@8Dion8 Please add to https://github.com/TheAlgorithms/Python/tree/master/cellular_automata
Hello_good people, Please i need help on submiting my cs50 psets. How to go about it will be appreciated .
Which one is left to make it?
Any Algo left ?? to solve let me know .
Hello_good people, Please i need help on submiting my cs50 psets. How to go about it will be appreciated .
@eclint this repo has no relation with CS:50, although you can use this as a source of algorithms, but please note that no one here is going to solve your homework
There are some interesting algorithms in simulation from Physics, Chemistry, and Engineering especially regarding Monte Carlo simulation: Heat Bath algorithm, Metro-Police algorithm, Markov Chain Monte Carlo, etc.