TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- Math mind bender!!!
Pages (2): [1] 2 »
Math mind bender!!!
Ok I am either stupid or this is too hard...
How do you derive the following relationship between the following numbers using the same equation with the only variable being the first number.
10 = 1
8 = 10
6 = 100
4 = 1000
2 = 10000

The only number that can change in the equation is the first one given above (10, 8, 6, 4, 2).
Oh I think someone else got it for me...
Its not perfect but it works... 100,000 * 0.31623^x
I just floor it to get the value I need. 
Oh even better, its the recipricol of the square root of 10 to the power of x times 100,000
100000 * (1/sqrt 10)^10
100000 * (1/sqrt 10)^8
100000 * (1/sqrt 10)^6
100000 * (1/sqrt 10)^4
100000 * (1/sqrt 10)^2
woot.
Fuck math.
| quote: |
| Originally posted by Lews Fuck math. |
10^((10-x)/2)
| quote: |
| Originally posted by Meat187 10^((10-x)/2) |
Re: Math mind bender!!!
| quote: |
| Originally posted by Joss Weatherby 10 = 1 |
Re: Re: Math mind bender!!!
| quote: |
| Originally posted by Darkarbiter 10 does not equal one. Please check your equation. |
| quote: |
| Originally posted by Joss Weatherby recipricol |
| quote: |
| Originally posted by woscar Reciprocal |
this thread is way too advanced for me 
Post more stuff!
| quote: |
| Originally posted by Mr.Mystery Cauliflower |
The answer is simple, just divide by zero, always works mate 
| quote: |
| Originally posted by Lews Fuck math. |
| quote: |
| Originally posted by yukii The answer is simple, just divide by zero, always works mate |
| quote: |
| Originally posted by ziptnf Bad joke is bad. |
Shit got serious, people.
Meat187 got credits in my CBA comment header. 
code:
/* ---------------------------------------------------------------------------- Function: CBA_fnc_mapRelPos Description: Find a position relative to a known position on the map. Passing strings in for the Northing and Easting is the preferred way. Parameters: _pos - Position in 10 digit grid format [Easting, Northing] [Array] _dist - Distance from the starting position [Number] _dir - Direction from the starting position [Number] Returns: New grid reference (10 digit) in format [Easting, Northing] Examples: (begin example) _endPos = [[024,015], 20, 45] call CBA_fnc_mapDirTo; (end) (begin example) // preferred _endPos = [["024","015"], 20, 45] call CBA_fnc_mapDirTo; (end) Author: Nou (with credit to Headspace, Rommel & Meat187 for the real math) ---------------------------------------------------------------------------- */ #include "script_component.hpp" SCRIPT(mapRelPos); private ["_pos","_dist","_dir","_northing","_easting","_northingSize", "_eastingSize","_e","_n","_posArray","_ea","_na"]; _pos = _this select 0; _dist = _this select 1; _dir = _this select 2; if(IS_STRING(_pos)) then { _posArray = toArray _pos; _pos = []; _ea = []; for "_i" from 0 to (((count _posArray)/2)-1) do { _ea set [(count _ea), _posArray select _i]; }; _na = []; for "_i" from (((count _posArray)/2)) to (((count _posArray))-1) do { _na set [(count _na), _posArray select _i]; }; _pos set[0, (toString _ea)]; _pos set[1, (toString _na)]; }; _easting = _pos select 0; _northing = _pos select 1; if(IS_NUMBER(_easting)) then { _easting = format["%1", _easting]; }; if(IS_NUMBER(_northing)) then { _northing = format["%1", _northing]; }; _eastingSize = (count (toArray _easting)) min 5; _northingSize = (count (toArray _northing)) min 5; // Convert the numbers into 5 digits out of a 10 digit ref _e = (parseNumber _easting)*(10^((10-(_eastingSize*2))/2)); _n = (parseNumber _northing)*(10^((10-(_northingSize*2))/2)); _pos = [_e, _n]; // flip the Y position into its negative value (to compensate for the northings // going down) _pos set [1, ((_pos select 1)*-1)]; //find position relative to passed position _pos = [floor ((_pos select 0) + _dist*sin _dir), floor ((_pos select 1) + _dist*cos _dir)]; _pos set [1, ((_pos select 1)*-1)]; _pos set [0, ([_pos select 0, 5] call CBA_fnc_formatNumber)]; _pos set [1, ([_pos select 1, 5] call CBA_fnc_formatNumber)]; _pos
Awesome!
Teh c0r - where da real science is!
I wanna take math again.
| quote: |
| Originally posted by Darkarbiter You can't really start an equation with one number equals another number(with nothing extra, and there's exceptions obviously). It doesn't. |
| quote: |
| How do you derive the following relationship between the following numbers using the same equation with the only variable being the first number. |
| quote: |
| Originally posted by ziptnf You didn't read his question. 10^((10-10)/2) = 1 Come on, dude. |
| quote: |
| Originally posted by Meat187 10^((10-x)/2) |
| quote: |
| Originally posted by Lews Fuck math. |
Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.