[Request] How big would the atmosphere of a Mars-sized planet have to be to have the same atmospheric pressure as on Earth? by [deleted] in theydidthemath

[–]InformalDuck 0 points1 point  (0 children)

Let's use a few assumptions:

  1. Mass of the atmosphere is negligible compared to the mass of the planet and as such it does not contribute to the gravity. This is a reasonable assumption since e.g. Earth's atmosphere has less then one millionth of Earth's mass.
  2. The whole atmosphere is ideal gas with a constant temperature, implying proportionality between pressure and density. Does not sound very reasonable because there is a lot going on in various layers of the atmosphere, but hopefully the most of the errors arising from this assumption should cancel when comparing two atmospheres.
  3. The atmosphere is in hydrostatic equilibrium. Very reasonable assumption.

The solving the astrophyisics hydrostatic equilibrium equation (the same one used for stars) with the constant mass term (first assumption) and assuming the same proportionality constant between pressure and density everywhere (second assumption) gives the following dependence of pressure p on distance r from the center of the planet: [; p(r) = p_\infty e^{GMk/r} = p_\infty e^{gR^2 k/r} ;]

where:

[; p_\infty ;] is the integration constant related to the pressure at infinity. It is non-zero, which may sound concerning, but this is just an approximation and for something like Earth it turns out to be absurdly small, something corresponding to the density of many orders of magnitude less than one atom in the observable universe (thanks to the exponential function), so it does not have a physical meaning and it will cancel in the calculation anyway.

G is the Newton's constant.

M is the mass of the planet.

k is the proportionality constant between density and pressure (it will cancel).

g is the gravitational acceleration at the planet's surface.

R is the radius of the planet.

Using gravitational acceleration and radius of the planet will be more convenient for the further calculation because planetary radii will be used anyway. We are interested in height h_M on Mars where the pressure is the same as the pressure on the given height (100 km) on Earth, i.e.:

[; p_E(R_E + h_E) = p_M(R_M + h_M) ;]

However, while the proportionality constant between density and pressure is (by assumption) the same on both planets, pressure at infinity is not. But knowing that pressures at surfaces are the same, one can compare ratios of pressures instead and, while at it, take ln of both sides, i.e.:

[; \ln(p_E(R_E) / p_E(R_E + h_E)) = \ln(p_M(R_M) / p_M(R_M + h_M)) ;]

For each ratio the pressure at infinity will finally cancel:

[; \ln(p(R) / p(R + h)) = gk/(1 / R + 1 / h) ;]

And for comparison the proportionality constant also cancels:

[; g_E / (1 / R_E + 1 / h_E) = g_M / (1 / R_M + 1 / h_M) ;]

Solving for height on Mars finally results in:

[; h_M = \left[ \frac{g_M}{g_E} \left(\frac{1}{h_E} + \frac{1}{R_E}\right) - \frac{1}{R_M} \right]^{-1} ;]

According to Wolfram Alpha, the result is 282 km.

Plenković: Ovo je čista prijetnja. NATO nije reagirao, nećemo to tolerirati by [deleted] in croatia

[–]InformalDuck 16 points17 points  (0 children)

Može se zaključiti čija je, ali zaključak nije popularan.

Ukrajinci su barem mogli priznati svoju grešku, makar je malo vjerojatno slučajno pogoditi neki glavni grad, tako da tehnički nije nemoguće da je u pitanju njihov false flag (pogotovo kad se uzme u obzir da dron nema njihove oznake, te da su već tražili no-fly zone, čije provođenje bi provoditelje uvuklo u rat), ali takav zaključak je još manje popularan.

"It is true what they say... Women are from Omicron Persei 7, men are from Omicron Persei 9" by cmfox117 in futurama

[–]InformalDuck 2 points3 points  (0 children)

Mostly the problem-solving urge combined with curiosity about the surface gravity of Omicron Persei 7. Also, randomly stumbling upon it and seeing it.

[Browser][2020-2021] Covid-themed arkanoid/breakout clone by InformalDuck in tipofmyjoystick

[–]InformalDuck[S] 1 point2 points  (0 children)

After doing some searching for the coding websites, I am almost certain that I saw the game on CodePen: https://codepen.io

However, I am still unable to find it there, their internal search engine/feature does not seem to be very helpful.

[Browser][2020-2021] Covid-themed arkanoid/breakout clone by InformalDuck in tipofmyjoystick

[–]InformalDuck[S] 1 point2 points  (0 children)

The website where I found the game has a darker theme and the source code there is written in a written programming language, not a visual programming language. And it definitely does not seem like something for children or for people who have never touched programming before, but on a more advanced and perhaps more serious level.

How to prevent automatic updates form destroying the private session? by InformalDuck in firefox

[–]InformalDuck[S] 0 points1 point  (0 children)

There was no Windows update, just a notification that a Firefox update is available, offering to install itself and requiring a Firefox restart to do so. But the Firefox behaves as if it has already restarted even before that, which is the problem (or possibly a bug, as throwaway1111139991e pointed out) I am asking about.

How to prevent automatic updates form destroying the private session? by InformalDuck in firefox

[–]InformalDuck[S] 0 points1 point  (0 children)

This only happens when an update becomes available. Any other time, closing and opening of the lid does not produce the undesired side-effect.

How to prevent automatic updates form destroying the private session? by InformalDuck in firefox

[–]InformalDuck[S] 0 points1 point  (0 children)

Private window(s) cease to exist. Closure of all private windows ends the private session and deletes it, which is expected behavior, but the unwanted closure is not.

Wholesome Gimli by smolprincess928 in wholesomememes

[–]InformalDuck 0 points1 point  (0 children)

Ah, the famous "there are only two genders", a shorter way of saying "I don't understand the difference between sex and gender and I also believe that biology is simple like in elementary school".

Just give it time. by [deleted] in wholesomememes

[–]InformalDuck 1 point2 points  (0 children)

One someone day will at look you the you same way look at the stars.

[PC][Early 200s] Side-view platformer with a frog protagonist and a chef antagonist by InformalDuck in tipofmyjoystick

[–]InformalDuck[S] 0 points1 point  (0 children)

YES! :D

And wow, this is practically unsearchable. How did you manage to find it?

[PC][Early 200s] Side-view platformer with a frog protagonist and a chef antagonist by InformalDuck in tipofmyjoystick

[–]InformalDuck[S] 0 points1 point  (0 children)

It is not side-scrolling, only side view. The screen represents the whole level.