[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to calculate visible vertical beam-height
From: |
David Kastrup |
Subject: |
Re: How to calculate visible vertical beam-height |
Date: |
Sun, 02 Jun 2019 20:33:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> Am So., 2. Juni 2019 um 17:26 Uhr schrieb <address@hidden>:
>>
> many thinks for your detailed explanations.
>
> First I translated your
>> total height = thickness + blot / cos(atan(slope))
> into guile, making for:
> (+ thick (/ blot (cos (atan slope))))
>
> Though, guile has sometimes problems with trigonemetric procedures if
> the angle gets close to multiples of PI/4. I was beaten by this
> problem before.
So don't use them.
cos(atan(slope)) = 1 / sqrt (1 + slope^2)
--
David Kastrup