If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #61373
Joined: Sat Dec 17 2016, 01:45PM
Location: San Antonio, TX
Posts: 87
I know the formula, and I looked up examples online, but all I get is the formula being explained.
Whenever I plug in the percentage of light, the speed in miles/sec, or miles/hr, the equation comes out radically different, even though the ratio of v2 and c2 is always the same.
One site used whole numbers for the percent (50% c was listed as 50^2 and c was listed as 100^2). If I use actual percentages like .5^2 the results change vastly.
In the equation t'=t sqt (1-v2/c2) which units of measurement does the actual equation use?
186,400 mps^2 and 671,040,000 mph^2 are very different values. If I use the percentage of c in mph or mps, even if v to c ratio is the same, when plugged into the equation, differs by several orders of magnitude.
Registered Member #2099
Joined: Wed Apr 29 2009, 12:22AM
Location: Los Altos, California
Posts: 1714
Scott, please post a numerical example of the formula, including result, that is giving you trouble. Did you square both v and c, before the division? Or do the division first, then square the quotient.
Many exercises like that will go more smoothly after you learn how to use a spreadsheet calculator program.
Registered Member #72
Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
You should use consistent units, what they are doesn't matter. Though SI is best from a purely practical point of view.
In fact, one necessary condition (not sufficient) for a formula to be valid is that it doesn't matter whether whether the quantities are in units of metres, feet or peppercorns, it always comes out the same way, as long as you are consistent. What physics undergraduate hasn't sat down with friends and some muscle relaxant at some point during their course, and converted all physical constants into CFF, the hundredweight, furlong, fortnight system, just for the heck of it.
When you use numbers, use numbers, not percentages. It may be convenient to talk about 50%, but always express that as 0.50 in a formula.
Having said it doesn't matter whether you use inches or metres, please, stick to SI units throughout. That's the set of units used in the literature, and flipping back and forth between furlongs and metres is going to cause errors. Work in SI, think in SI (at least, for science, I still do DIY thinking 'I need a 4" nail 3mm in diameter'). Even educated people contribute to having spacecraft crash into Mars, or their planes run out of fuel, when they introduce unnecessary conversion between units.
The obligatory XKCD.
As a tip, when I'm writing code, or doing spreadsheets, all variables used internally are in SI. That means I can just implement the formula as written, and this consistency makes debugging easier. At the user interface, I may display or accept mm or km, or even mph, but the conversion to/from SI happens at the edge, before they get even a sniff of a calculation. Similarly if I'm scribbling on the back of an envelope, calculator in hand, I'll write an intermediate quantity down as '3mSI', or '4.7kSI', where I know that SI is whatever dimension is appropriate for the type of quantity, so areas in m^2 (not mm^2), speeds in m/s.
Registered Member #61373
Joined: Sat Dec 17 2016, 01:45PM
Location: San Antonio, TX
Posts: 87
Since the small v (550mph) is a tiny decimal of c (when using percentages in the equation) it gets smaller when squared. I found if both v and c are whole numbers, it works. I tried the equation with mph and m/s and got identical results. Thanks for the help.
If v was 1mph, the m/s conversion would be a decimal. In that case the equation would fail using mph or m/s. 1^2=1 and 0.44704^2 (m/s) would be 0.19984476. Meanwhile, c would be a huge number when squared, either way. Correct me if I'm wrong.
Registered Member #72
Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
Arithmetic works whether your base 10 numbers have a fractional part of 0 (whole numbers), or a non-zero fractional part (fractional numbers).
You haven't done what we asked, that is to post the numbers you are actually using (all digits, for results as well as inputs). 'Doesn't work' is not a good problem description, 'these are the numbers I got, and these are what I expected' is a better problem description. I used excel, and Kcalc, and my casio fx-99 with these numbers and got those, is an even better problem description.
So, we have to guess. Let's assume your computation system of choice makes some attempt at handling fractional numbers, and you haven't mis-keyed. Let's also guess what you think might be wrong.
When a computer uses floating point representation of numbers, the precision gets limited. Using the ubiquitous IEE754 floating point double, 56 bits are allocated to the mantissa of the number, which is about 16 decimal digits. If you do plain vanilla programming (C, python) or spreadsheeting (excel, libreoffice), then you only get about 16 decimal digits. Handheld calculators will usually give you less precision. Desktop calculators on many operating systems will often give you more. 'Bignum' maths packages will give you arbitrary precision (limited only by system memory and processing time).
So, if you try to calculate 1-(v/c)^2, and v/c is 1e-6, then (v/c)^2 will be 1e-12, and 1-(v/c)^2 will be 0.9999999999990000. If on the other hand, v/c is more like 1e-9, then (v/c)^2 is just fine at 1e-18, but when you subtract it from 1, the result has too many 9s to fit into the precision, and its value will be rounded up to 1 (exactly 1). A common way to express mathematical precision is what's the smallest number you can subtract from 1, and get a result different to 1.
There are other calculations with gotchas like this, where although an input number (1e-9) looks to be well within the range of precision we're using, an intermediate calculation raises it to a power, adds it to a number of very different scale, and the precision gets trashed. (FWIW, that's why filter books don't contain filter recipes for Linear Phase Passband with Stopband Zeroes beyond 8th order. The frequency of the highest zero (only in the order of 10) is raised to the 2*orderth power when flipping the impedance polynomial, and the precision goes down the toilet).
The result for small numbers will be that the Lorentz transformation appears to give exactly the same result as the Galilean/Newtonian transformation, rather than 0.9999..., which is kinda what you'd expect for very low speeds.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.