<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks Rhys. That’s very interesting<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div dir="ltr" style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;direction:ltr;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:1px;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#000001;font-style:normal;font-weight:700;white-space:nowrap;"><tr style="font-size:18.67px;"><td align="left" style="vertical-align:top;font-family:Arial;">Jason<span style="font-family:remialcxesans;font-size:1px;color:#FFFFFF;line-height:1px;"></span> Pearce</td></tr><tr style="font-size:18.67px;color:#002060;"><td align="left" style="vertical-align:top;font-family:Arial;">Partner</td></tr><tr style="font-size:16px;font-weight:400;"><td align="left" style="vertical-align:top;font-family:Arial;">Direct Dial: <a href="tel:01633%20265984" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#000001;"><strong style="font-weight:400;">01633 265984</strong></a></td></tr><tr style="font-size:16px;font-weight:400;"><td align="left" style="vertical-align:top;font-family:Arial;">Email: <a href="mailto:jpearce@etlp.co.uk" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#000001;"><strong style="font-weight:400;">jpearce@etlp.co.uk</strong></a></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="padding:20px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="white-space:normal;color:#FF0000;font-size:13.33px;font-family:Arial;font-weight:400;font-style:normal;text-align:center;width:675px;"><tr style="font-size:13.33px;"><td style="font-family:Arial;"><span style="font-size:14px;"><span style="font-family:'Times New Roman';font-weight:700;">IMPORTANT NOTICE: CYBERCRIME ALERT!</span><br /><br />Please note that Everett Tomlin Lloyd & Pratt’s bank account details will NOT change during the course of a transaction. Please be vigilant and exercise caution when opening any emails, attachments or links and when responding to any requests for your bank account details. We will not accept responsibility if you transfer money into an incorrect bank account. We will NEVER inform you via email or text message of any change in our firm's bank details. You are advised to telephone our office to confirm our bank details BEFORE you transfer any money to us.<br /></span><br /> </td></tr></table></td></tr><tr style="font-size:0;"><td align="center" style="vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#000001;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:0;"><td align="center" style="vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="center" style="padding:30px 0 0;vertical-align:middle;"><img src="cid:image792899.gif@0123EBCA.F02B93F0" border="0" alt="" style="font-size:0;" /></td></tr></table></td></tr><tr style="font-size:9px;"><td align="center" style="vertical-align:top;font-family:Arial;"><span style="font-weight:700;">Central Switchboard: 01495 763 333<br />www.etlp.co.uk</span><br /> <br />Newport Office 19‑20 Gold Tops, Newport, NP20 4PH. Fax: 01633 251840. newport@etlp.co.uk<br />Pontypool Office, 17 Commercial Street, Pontypool, NP4 6JQ. Fax: 01495 750526. pontypool@etlp.co.uk<br /> <br />Partners: Ashley Harkus, Kirsten Tuck, Jason Pearce, Kay Perrott, Sarah Purnell.<br /> <br />Consultants: Robert Twigg, Jonathan Stephens, Gareth Edwards (Non‑practicing) & Chris Pennant (Non‑practicing) <br /> <br />This firm is regulated by the Solicitors Regulation Authority.<br />SRA NO: 00049459<br /><br /></td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td style="padding:13px 0 0;"> </td></tr><tr style="font-size:0;"><td align="center" style="padding:13px 0;border-top:none;border-right:none;border-bottom:solid 1px #000001;border-left:none;vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="width:1000px;font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="white-space:normal;color:#000001;font-size:10px;font-family:'Times New Roman';font-weight:400;font-style:normal;text-align:center;width:675px;"><tr style="font-size:10px;"><td style="font-family:'Times New Roman';">The contents of this email and any attachments are the property of Everett Tomlin Lloyd and Pratt Solicitors and are intended for the confidential use of the named recipient(s) only. If they have been received in error you must maintain confidentiality, notify us of the error, destroy copies and delete them from your system. Everett Tomlin Lloyd and Pratt Solicitors operates an e-mail and internet policy which provides for the monitoring of any or all email transmissions and any e-mail sent from or to Everett Tomlin Lloyd and Pratt may be subject to such monitoring.<br /><br /></td></tr></table></td></tr></table></td></tr></table></td></tr></table></div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Swlug <swlug-bounces@mailman.lug.org.uk>
<b>On Behalf Of </b>swlug-request@mailman.lug.org.uk<br>
<b>Sent:</b> 24 July 2022 13:00<br>
<b>To:</b> swlug@mailman.lug.org.uk<br>
<b>Subject:</b> Swlug Digest, Vol 302, Issue 6<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">CAUTION: This email originated from outside of ETLP Solicitors. Do not click links or open attachments unless you recognize the sender and know the content is safe.<br>
<br>
Send Swlug mailing list submissions to<br>
<a href="mailto:swlug@mailman.lug.org.uk">swlug@mailman.lug.org.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/swlug">https://mailman.lug.org.uk/mailman/listinfo/swlug</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:swlug-request@mailman.lug.org.uk">swlug-request@mailman.lug.org.uk</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:swlug-owner@mailman.lug.org.uk">swlug-owner@mailman.lug.org.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Swlug digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Re Re Re Maths calculations (Rhys Sage)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 23 Jul 2022 18:26:14 +0000 (UTC)<br>
From: Rhys Sage <<a href="mailto:rhys_sage@yahoo.com">rhys_sage@yahoo.com</a>><br>
To: "<a href="mailto:swlug@mailman.lug.org.uk">swlug@mailman.lug.org.uk</a>" <<a href="mailto:swlug@mailman.lug.org.uk">swlug@mailman.lug.org.uk</a>><br>
Subject: Re: [Swlug] Re Re Re Maths calculations<br>
Message-ID: <<a href="mailto:977577799.1288117.1658600774539@mail.yahoo.com">977577799.1288117.1658600774539@mail.yahoo.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
I had several goes at making the Vincenty formula work before finally giving up and using a Vincenty library (I detest libraries as it makes programs harder to shift between machines).<br>
<br>
The end result... The distance between the Tower of London and the Arc De Triomphe...<br>
<br>
Haversine distance in miles? 211.2667<br>
Distance in Miles using flat earth calculation? 222.5085<br>
Vincenty miles? 206.9727<br>
<br>
If Nigel Farage were to send an air strike at the Arc de Triomphe then the flat Earth calculation would doubtless spoil the day for residents of blocks of flats. If he were to use the Haversine distance then he'd upset the French business community. If he used
the Vincenty formula then he'd actually hit the Arc de Triomphe and probably thus ruffle a few French feathers and cause them to reduce police presence at the French border.<br>
<br>
Haversine is perfectly fine for calculating directions as the fact the world is a bit testicle shaped rather than round is fully catered for.<br>
<br>
The code for the Vincenty distance....<br>
<br>
from vincenty import vincenty<br>
TowerOfLondon = (51.5081, 0.0759)<br>
ArcDeTriomph = (48.873756, 2.294946)<br>
print("Vincenty miles ", vincenty(TowerOfLondon, ArcDeTriomph , miles=True))<br>
<br>
That's pretty darned simple!<br>
<br>
Rhys Sage<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Swlug mailing list<br>
<a href="mailto:Swlug@mailman.lug.org.uk">Swlug@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/swlug">https://mailman.lug.org.uk/mailman/listinfo/swlug</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Swlug Digest, Vol 302, Issue 6<br>
*************************************<o:p></o:p></p>
</div>
</body>
</html>