benchmarks.wiki / Public workspace

SciCode / 44.3 / To show the decreasing of entropy, we shall first simulate the dynamics and then…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

step background

Background The standard Boltzmann-Shannon entropy is S(t)=kld~kl(t)logd~kl(t)S(t)=-\sum_{k l} \tilde{d}_{k l}(t) \log \tilde{d}_{k l}(t).
Plain-text mathematical notation (without MathML)
Background
The standard Boltzmann-Shannon entropy is S(t)=−∑_(kl)(d)~_(kl)(t)log(d)~_(kl)(t).
Original LaTeX notation
Background
The standard Boltzmann-Shannon entropy is $S(t)=-\sum_{k l} \tilde{d}_{k l}(t) \log \tilde{d}_{k l}(t)$.

step description prompt

To show the decreasing of entropy, we shall first simulate the dynamics and then calculate the entropy at each step. With the relative concentrations d~ij=dij/kldkl\tilde{d}_{i j}=d_{i j} / \sum_{k l} d_{k l}, we can use the standard Boltzmann-Shannon entropy. Define a function that returns this entropy at every step given the following: the monomer concentrations c0c_0, the initial 2-mers concentration matrix d0d_0, the ligation rate matrix lig, the process's timespan tf, and the number of simulation steps nsteps.
Plain-text mathematical notation (without MathML)
To show the decreasing of entropy, we shall first simulate the dynamics and then calculate the entropy at each step. With the relative concentrations (d)~_(ij)=d_(ij)/∑_(kl)d_(kl), we can use the standard Boltzmann-Shannon entropy. Define a function that returns this entropy at every step given the following: the monomer concentrations c₀, the initial 2-mers concentration matrix d₀, the ligation rate matrix lig, the process's timespan tf, and the number of simulation steps nsteps.
Original LaTeX notation
To show the decreasing of entropy, we shall first simulate the dynamics and then calculate the entropy at each step. With the relative concentrations $\tilde{d}_{i j}=d_{i j} / \sum_{k l} d_{k l}$, we can use the standard Boltzmann-Shannon entropy. Define a function that returns this entropy at every step given the following: the monomer concentrations $c_0$, the initial 2-mers concentration matrix $d_0$, the ligation rate matrix lig, the process's timespan tf, and the number of simulation steps nsteps.

Discussion

Discussion

No discussion posts on this page yet. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.

Source and history

Official source

initial import