Deutsch English Français Italiano |
<v58kfm$8cic$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.fortran Subject: Re: Vintage Lunar Lander Game Date: Sun, 23 Jun 2024 07:56:38 -0000 (UTC) Organization: A noiseless patient Spider Lines: 32 Message-ID: <v58kfm$8cic$1@dont-email.me> References: <v562fc$3m4do$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 23 Jun 2024 09:56:39 +0200 (CEST) Injection-Info: dont-email.me; posting-host="be24819e5877b282c066214411113658"; logging-data="275020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/taCcDvSeF7a/Ty+JDsXoH" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:inoNUfBWR59TdByUqoD7PWty0zU= Bytes: 1962 On Sat, 22 Jun 2024 08:37:00 -0000 (UTC), I wrote: > real(kind = useprec), parameter :: G = 0.001 OK, I figured out, this is lunar gravity in miles/second/second. > real(kind = useprec), parameter :: Z = 1.8 This is I think the rocket specific impulse. > delta_v = time_subinterval * fuel_rate / mass_total This is not actually the change in velocity, it is the proportion of spacecraft mass being expelled over the subinterval. > Z & > * & > ( & > delta_v & > + & > delta_v2 / 2 & > + & > delta_v2 * delta_v / 3 & > + & > delta_v4 / 4 & > + & > delta_v4 * delta_v / 5 & > ) I think this contribution to the velocity comes from the rocket equation. It’s a truncated power series; interestingly, it’s one with poor convergence.