Bharath Krishnan<p>Question 1. was solved here [1]. The answer isn't perfect but it's better than nothing.</p><p>I don't know if the function in the answer to this post [1] has a finite expected value using section 3.2 and 6.1 of this paper [2].</p><p>[1]: <a href="https://mathoverflow.net/questions/476471/is-there-an-explicit-everywhere-surjective-f-mathbbr-to-mathbbr-whose-gr/476609#476609" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mathoverflow.net/questions/476</span><span class="invisible">471/is-there-an-explicit-everywhere-surjective-f-mathbbr-to-mathbbr-whose-gr/476609#476609</span></a></p><p>[2]: <a href="https://www.researchgate.net/publication/382557954_Finding_a_Published_Research_Paper_Which_Meaningfully_Averages_the_Most_Pathalogical_Functions" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">researchgate.net/publication/3</span><span class="invisible">82557954_Finding_a_Published_Research_Paper_Which_Meaningfully_Averages_the_Most_Pathalogical_Functions</span></a></p><p><a href="https://mathstodon.xyz/tags/Answer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Answer</span></a> <a href="https://mathstodon.xyz/tags/PathalogicalFunctions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PathalogicalFunctions</span></a> <a href="https://mathstodon.xyz/tags/EverywhereSurjectiveFunctions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EverywhereSurjectiveFunctions</span></a> <a href="https://mathstodon.xyz/tags/Mean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mean</span></a> <a href="https://mathstodon.xyz/tags/ExpectedValue" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ExpectedValue</span></a> <a href="https://mathstodon.xyz/tags/MeasureTheory" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MeasureTheory</span></a> <a href="https://mathstodon.xyz/tags/HausdorffMeasure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HausdorffMeasure</span></a> <a href="https://mathstodon.xyz/tags/HausdorffDimension" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HausdorffDimension</span></a></p>