Groups | Search | Server Info | Login | Register


Groups > gnu.emacs.help > #60986

Re: TCO with named-let via macros

Path csiph.com!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From Richard Smith <null@void.com>
Newsgroups gnu.emacs.help
Subject Re: TCO with named-let via macros
Date Wed, 10 Jul 2024 09:18:19 +0100
Organization BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID <m1plrlwth0.fsf@void.com> (permalink)
References <m11q42e6zz.fsf@void.com> <8734oi5ksx.fsf@axel-reichert.de>
MIME-Version 1.0
Content-Type text/plain
Injection-Info nnrp.usenet.blueworldhosting.com; logging-data="11922"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent Gnus/5.13 (Gnus v5.13)
Cancel-Lock sha1:1dZsjIEbdHn0aDPyqSnTaoZHemU= sha1:Mq9sZF8HCL/BTpOuGdbXks32LUg= sha256:T0U2XGRUS4euEuvbx8ws7l+AaUn9Fs4lqeNu2IBprHA= sha1:+Z6rbwi4mm70AH5BEncboZA8/qQ= sha256:92y1tve5poCxqi4uCHe9uPMNQKnTI0z1EeDlz0r2VW0=
Xref csiph.com gnu.emacs.help:60986

Show key headers only | View raw


Hi again Axel
I have made structures out of offcuts of metal and tested them to
destruction.
For both (Euler-Bernoulli) beam calculations and Finite Element Analysis
modelling the prediction exactly matches what is observed.
Even for Finite Element Analysis modelling you often have calculations
to do working out or preparing the overall design.
Again - it's about this working environment in emacs.  Including
functions

Example, for what it's worth

standard Rectangular Hollow Section beam 200x100x8mm, 3m long

(beam-rhs-simple-fmax-y-bb-pp 200e-3 100e-3 8e-3 3 355e6 210e9)
"H=0.2 W=0.1 wthk=0.008 len=3 sigma=3.550000e+08 E=2.100000e+11 :
I=2.306014e-05 Z_el=2.306014e-04 M_max=81863.49226666673
F=109151.3230222223 Defln=0.012678571428571428"
That's pretty-printed so you can see all is well.
Mathematically useless though.

(beam-fmax-rhs-simple-cload-bb 200e-3 100e-3 8e-3 3 355e6) ;; 109151.3230222223
Correct, but that's in Newtons - hard to visualise in a practical sense

(/
  (beam-fmax-rhs-simple-cload-bb 200e-3 100e-3 8e-3 3 355e6)
  9.81 ;; Newtons per kg in Earth's gravity
  1e3 ;; 1000kg per Tonne
 ) ;; 11.126536495639378
Tonnes

It'll take 11 Tonnes load in gravity before bending.


The point - the path to the answer is part of the record, as well as the
answer itself.

And this is what makes the emacs environment so useful to me for what I
do.

I've preceded C-x C-e by C-u to put the answer into the buffer
C-u C-x C-e
Familiar day-to-day usage.

Thanks for showing me the more advanced programming posibilities.

Back to gnu.emacs.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

thanks - calculate pi fn. in elisp Richard Smith <null@void.com> - 2024-07-09 19:48 +0100
  TCO with named-let via macros (was: thanks - calculate pi fn. in elisp) Axel Reichert <mail@axel-reichert.de> - 2024-07-09 23:15 +0200
    Re: TCO with named-let via macros Richard Smith <null@void.com> - 2024-07-10 06:28 +0100
      Re: TCO with named-let via macros steve g <sgonedes1977@gmail.com> - 2024-08-10 15:56 -0400
        Re: TCO with named-let via macros Richard Smith <null@void.com> - 2024-08-10 22:28 +0100
    Re: TCO with named-let via macros Richard Smith <null@void.com> - 2024-07-10 06:36 +0100
      Re: TCO with named-let via macros steve g <sgonedes1977@gmail.com> - 2024-08-10 16:22 -0400
        Re: TCO with named-let via macros Axel Reichert <mail@axel-reichert.de> - 2024-08-10 23:15 +0200
          Re: TCO with named-let via macros steve g <sgonedes1977@gmail.com> - 2024-08-11 14:56 -0400
          Re: TCO with named-let via macros Richard Smith <null@void.com> - 2025-04-08 10:26 +0100
    Re: TCO with named-let via macros Richard Smith <null@void.com> - 2024-07-10 06:59 +0100
    Re: TCO with named-let via macros Richard Smith <null@void.com> - 2024-07-10 09:18 +0100
      Re: TCO with named-let via macros steve g <sgonedes1977@gmail.com> - 2024-08-10 16:26 -0400
        Re: TCO with named-let via macros Richard Smith <null@void.com> - 2024-08-10 22:51 +0100

csiph-web