Image:Gravity well plot.svg

From Wikipedia, the free encyclopedia

Gravity_well_plot.svg (SVG file, nominally 600 × 232 pixels, file size: 365 KB)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[edit] Summary

Graph of gravity well. Above: Distortion of space-time. Below: Gravitational potential function.

Asymptote source code:

import graph3;

typedef real fun(real);

fun Phi(real R, real GM_R, real shift=0) {
  return new real(real r) {
    real r_R = abs(r) / R;
    if (r_R >= 1)
      return -GM_R / r_R + shift;
    else
      return 0.5 GM_R * (r_R^2 - 3) + shift;
  };
}

typedef real fun2(pair);
fun2 revolve(fun f) { return new real(pair z) { return f(abs(z)); }; }

size(300,0);
currentprojection=perspective(0,20,4);
add(surface(revolve(Phi(2,7)), nsub=4, (-12,-12), (12,12), nx=20, light=O));
draw(graph(Phi(2,7,-10),-24,24));

[edit] Licensing

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Eʋegbe | Ελληνικά | English | Español | Esperanto | Euskara | Estremeñu | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Kurdî / كوردی | Latina | Lietuvių | Latviešu | Magyar | Македонски | Bahasa Melayu | Nederlands | ‪Norsk (bokmål)‬ | ‪Norsk (nynorsk)‬ | 日本語 | Polski | Português | Ripoarisch | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Tiếng Việt | Walon | ‪中文(简体)‬ | ‪中文(繁體)‬ | zh-yue-hant | +/-

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current22:42, 17 September 2007600×232 (365 KB)AnonMoos (Fixing SVG)
22:19, 17 September 2007300×116 (376 KB)BenRG (Asymptote source code: import graph3; typedef real fun(real); fun Phi(real R, real GM_R, real shift=0) { return new real(real r) { real r_R = abs(r) / R; if (r_R >= 1) return -GM_R / r_R + shift; else return 0.5 GM_)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):