Reputation
Top tag
Next privilege 250 Rep.
View close votes
Badges
6
Newest
 Curious
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 7 votes cast
Apr
24
comment Is an empty parenthesis a valid mathematical expression?
^- of course there are no values of type Nothing, but expressions can have that type. There's also scala.Null, which is the type of the null expression.
Apr
24
comment Is an empty parenthesis a valid mathematical expression?
Jacob: You're misunderstanding Scalas Nothing type; Nothing is a subtype of every other type, not the other way round. So a value of type Nothing can be assigned to a variable of any other type, i.e. val x: Int = ??? (??? is a predefined method of type Nothing in scala.Predef.
Apr
24
comment Is an empty parenthesis a valid mathematical expression?
Not sure how it works with mathematical logic, but in Haskell and Scala () is simply a built-in type that is inhabited by [only, discounting bottom] the value (). Nonterminating (or otherwise erroneous, such as division by 0) expressions are denoted by the bottom value, which inhabits all types.
Jul
2
awarded  Curious
Jun
24
comment What is the maximum of a set of random variables?
@Dominik Just to make sure - a random variable is uniformly distributed in $[a,b]$ if it is linear in $[a,b]$ and constant $0$ otherwise, and $Y_i$ is still uniformly distributed in $[0,2\vartheta]$ because you just changed the slope, not the fact that it's linear in $[0,2\vartheta]$?
Jun
23
comment What is the maximum of a set of random variables?
I thought I had gotten it for a sec, but... why is the EV the same for $\max X_i$ and $\max Y_i$ again?
Jun
23
comment What is the maximum of a set of random variables?
I get it, but I can't quite imagine how you'd get the idea for this - did you start form the assumption that it's $2\theta$ and worked backwards from there?
Jun
23
accepted What is the maximum of a set of random variables?
Jun
23
comment What is the maximum of a set of random variables?
wikipedia said expected value and mean mean the same thing, changed it though.
Jun
23
revised What is the maximum of a set of random variables?
added 10 characters in body
Jun
23
comment What is the maximum of a set of random variables?
Oh. That makes sense. Not sure how to work with that, but at least I know where to start now.
Jun
23
asked What is the maximum of a set of random variables?
Nov
29
accepted Proving that idempotence follows from other lattice axioms
Nov
29
comment Proving that idempotence follows from other lattice axioms
You gotta love how these things always seem so stupidly obvious once someone tells you.
Nov
28
asked Proving that idempotence follows from other lattice axioms
Jul
2
accepted Solving $y'' - \frac{1}{x} y' + (1+\frac{\cot x}{x}) y = 0$ by rank reduction
Jul
1
comment Solving $y'' - \frac{1}{x} y' + (1+\frac{\cot x}{x}) y = 0$ by rank reduction
Thanks. As it turns out, that was my solution, I just made an error copying it over.
Jul
1
comment Solving $y'' - \frac{1}{x} y' + (1+\frac{\cot x}{x}) y = 0$ by rank reduction
I get $y''(x) = -\sin(x) \int_0^x u(t) dt + \cos(x) u(x) + \cos(x) u(x) + \sin(x) u'(x)$ - I have no idea where you got the '-' in front of the second cos from. $cx^2\sin x$ can't be the solution because $\sin x$ is a solution.
Jul
1
asked Solving $y'' - \frac{1}{x} y' + (1+\frac{\cot x}{x}) y = 0$ by rank reduction
Jun
19
revised Does a closed form sum for this fourier series exist?
added 202 characters in body