<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nemenmanlab.org/~ilya/index.php?action=history&amp;feed=atom&amp;title=Physics_434%2C_2015%3A_Homework_5</id>
	<title>Physics 434, 2015: Homework 5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nemenmanlab.org/~ilya/index.php?action=history&amp;feed=atom&amp;title=Physics_434%2C_2015%3A_Homework_5"/>
	<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2015:_Homework_5&amp;action=history"/>
	<updated>2026-05-17T09:39:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2015:_Homework_5&amp;diff=609&amp;oldid=prev</id>
		<title>Ilya: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2015:_Homework_5&amp;diff=609&amp;oldid=prev"/>
		<updated>2018-07-04T16:28:44Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:28, 4 July 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ilya</name></author>
		
	</entry>
	<entry>
		<id>https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2015:_Homework_5&amp;diff=608&amp;oldid=prev</id>
		<title>nemenman&gt;Ilya: Created page with &quot;{{PHYS434-2015}}  Please turn on the assignment either as a PDF file to me by email, or as a printout/writeup to my mailbox in physics. Detailed derivations (with explanations...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nemenmanlab.org/~ilya/index.php?title=Physics_434,_2015:_Homework_5&amp;diff=608&amp;oldid=prev"/>
		<updated>2015-10-01T14:17:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PHYS434-2015}}  Please turn on the assignment either as a PDF file to me by email, or as a printout/writeup to my mailbox in physics. Detailed derivations (with explanations...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PHYS434-2015}}&lt;br /&gt;
&lt;br /&gt;
Please turn on the assignment either as a PDF file to me by email, or as a printout/writeup to my mailbox in physics. Detailed derivations (with explanations) and calculations must be present for the problems for full credit. Submit your code if a problem requires you to program.&lt;br /&gt;
&lt;br /&gt;
===Undergraduates===&lt;br /&gt;
#Calculate the drift and the diffusion constants for a discrete time random walk on a lattice with a lattice spacing of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, where particles go to the left with the probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, to the right with &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;, and stays in place with the probability &amp;lt;math&amp;gt;r=1-p-q&amp;lt;/math&amp;gt;.&lt;br /&gt;
#Consider a model of a transcription factor moving on a DNA sequence, modeling this as a discrete time random walk. For a single factor bound to the DNA, it will move with &amp;lt;math&amp;gt;&amp;lt;x^2&amp;gt;\propto Dt&amp;lt;/math&amp;gt;. However, if there are multiple transcription factors, they will hinder each other's diffusion -- two or more cannot be bound to the same DNA site. This is called the ''excluded volume'' interaction. Estimate numerically using Matlab/Octave the scaling of &amp;lt;math&amp;gt;&amp;lt;x^2&amp;gt;&amp;lt;/math&amp;gt; as a function of the fraction of the number of DNA sites occupied by bound transcription factors. Since two transcription factors cannot exchange their position on the 1-d DNA, the diffusion constant should go to zero in the limit when almost every DNA site is bound by some transcription factor. Do you observe this? Can you guess the functional form of the dependence of &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt; on the fraction of occupied sites.&lt;br /&gt;
#Write a Matlab code that would generate random ''E. coli'' trajectories, similar to what we saw during class in some movies. Assume that ''E. coli'' runs in a straight line with a velocity 'v' for an exponentially distributed time with mean &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt;. It then tumbles, reorients randomly, and repeats. Focus on just two dimensions.  Verify by histogramming that the distribution of positions of  ''E. coli'' after many (100 or more) tumbles, as simulated by your script, is, indeed, a gaussian. Plot the standard deviation. Does it scale as a square root of time? You will need to run your function many times for different durations to estimate the distribution of the positions. Do the simulations for different parameter values and see how does the variance of the position depend on the velocity and the mean waiting time. Explain your observations analytically.&lt;br /&gt;
&lt;br /&gt;
===Graduate Students===&lt;br /&gt;
#Calculate the drift and the diffusion constants for a random walk on a lattice with a lattice spacing of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, where particles go to the left with the probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, to the right with &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;, and stays in place with the probability &amp;lt;math&amp;gt;r=1-p-q&amp;lt;/math&amp;gt;, but the time is continuous, with the distribution of steps being exponential, with the mean waiting time of &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt;.&lt;br /&gt;
#Consider a model of a transcription factor moving on a DNA sequence, modeling this as a discrete time random walk. For a single factor bound to the DNA, it will move with &amp;lt;math&amp;gt;&amp;lt;x^2&amp;gt;\propto Dt&amp;lt;/math&amp;gt;. However, if there are multiple transcription factors, they will hinder each other's diffusion -- two or more cannot be bound to the same DNA site. This is called the ''excluded volume'' interaction. Estimate numerically using Matlab/Octave the scaling of &amp;lt;math&amp;gt;&amp;lt;x^2&amp;gt;&amp;lt;/math&amp;gt; as a function of the fraction of the number of DNA sites occupied by bound transcription factors. Since two transcription factors cannot exchange their position on the 1-d DNA, the diffusion constant should go to zero in the limit when almost every DNA site is bound by some transcription factor. Do you observe this? Can you guess the functional form of the dependence of &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt; on the fraction of occupied sites.&lt;br /&gt;
#Write a Matlab code that would generate random ''E. coli'' trajectories, similar to what we saw during class in some movies. Assume that ''E. coli'' runs in a straight line with a velocity 'v' for an exponentially distributed time with mean &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt;. It then tumbles, reorients randomly, and repeats. Focus on just two dimensions.  Verify by histogramming that the distribution of positions of  ''E. coli'' after many (100 or more) tumbles, as simulated by your script, is, indeed, a gaussian. Plot the standard deviation. Does it scale as a square root of time? You will need to run your function many times for different durations to estimate the distribution of the positions. Do the simulations for different parameter values and see how does the variance of the position depend on the velocity and the mean waiting time. Explain your observations analytically.&lt;/div&gt;</summary>
		<author><name>nemenman&gt;Ilya</name></author>
		
	</entry>
</feed>