.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old September 21st, 2004, 01:09 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: OT: Interesting math problem...

Fyron, that's why I quickly deleted my post. But not quickly enough.

I remeber that I saw such tasks in a school. Common way to solve them is to rewrite example to:

10000*T+1000*R+100*I+10*E+D+10000*D+1000*R+100*I+1 0*V+E-10000*R-1000*I-100*V-10*E-T=0

With additional condition it should be quite easy to solve.
Reply With Quote
  #2  
Old September 21st, 2004, 01:50 PM

spoon spoon is offline
First Lieutenant
 
Join Date: Apr 2002
Location: California
Posts: 790
Thanks: 0
Thanked 0 Times in 0 Posts
spoon is on a distinguished road
Default Re: OT: Interesting math problem...

Got it:

17465 +
57496 =
-------
74961

T=1
R=7
I=4
E=6
D=5
V=9

I brute forced it, not having time for fancy shmancy formulae. (so, I could be wrong, very wrong!)
__________________
Try out the Fantasy Empires Mod, a full conversion, fantasy based mod for SEIV Gold.
Click here to download.
Click here for the Fantasy Empires Mod discussion thread.
Reply With Quote
  #3  
Old September 21st, 2004, 02:05 PM
Alneyan's Avatar

Alneyan Alneyan is offline
General
 
Join Date: Sep 2003
Location: United Kingdom
Posts: 3,603
Thanks: 0
Thanked 22 Times in 22 Posts
Alneyan is on a distinguished road
Default Re: OT: Interesting math problem...

This problem is the proof I no longer know to do additions; while I figured out the V=9 part, I didn't think that I+I=4 could also mean I=7, and not only I=2.
Reply With Quote
  #4  
Old September 21st, 2004, 02:18 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: OT: Interesting math problem...

Yay Spoon. I was getting ready to post that it was unsolvable. I had worked out that V was 9 and I was 4. But I got hung up thinking then that the only option for R was 2.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #5  
Old September 21st, 2004, 03:01 PM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: OT: Interesting math problem...

Yay for spoon! Thanks a lot man! I really do appreciate it. Go have a few brewski's at the Cantina on my tab.
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
Reply With Quote
  #6  
Old September 21st, 2004, 03:03 PM

vanbeke vanbeke is offline
Private
 
Join Date: Nov 2003
Location: Oregon
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
vanbeke is on a distinguished road
Default Re: OT: Interesting math problem...

It looks like is correct
17465 +
57496 =
_____
74961

Brute force solving (sort of)
Assumptions are that all letters represent different numbers and standard notation is used (the first number in a string is not zero)
V must be either 0 (if D+E < 10) or 9 (if D+E > 9)
If V is 0 then I is 5; if V is 9 then I is 4
For either value of V, R must be either 2 or 7; but R can't be 2 since that would require both T and D to be 1
So R is 7
Then T+D = 6 I tried the 4 possibilities and the only one that worked is the form that I gave above.
Reply With Quote
  #7  
Old September 22nd, 2004, 12:02 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: Interesting math problem...

Its a system of equations, linear algebra might get it done
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #8  
Old September 22nd, 2004, 03:58 AM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: OT: Interesting math problem...

Narf, the equation means you take the constant e (2.71828183...) to the power of one half times the natural logarithm of x, or log base e of x. It doesn't have to be e though, you can get away with something like 10. So, 10^(0.5 * log(x)). It works because of the laws of logarithms, since a^b=c is equivalent to log(a)(c)=b. Then, it is simple to reconstruct as a^(log(a)(c))=c. Square root is simply a number to the one half power, so 10^(0.5 * log(x)) is the sqrt(x).

Either way, you're left with pretty much imprecise methods. I remember they briefly showed how to do it in high school, and that's probably an algorithm like the one Fyron pointed to, and it would be written in an equation as the Riemann sum of varying powers of 10, which would be a very nasty looking thing. Jack's method is easier to write, so I would go with that one. To write it in terms of an equation for square root, it would be something like:

lim(x->&#8734 R(x,N) = sqrt(N)

--edit: ^ that up there is supposed to be the infinity symbol.
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
  #9  
Old September 22nd, 2004, 08:37 AM
David E. Gervais's Avatar

David E. Gervais David E. Gervais is offline
General
 
Join Date: May 2002
Location: Canada
Posts: 3,227
Thanks: 7
Thanked 44 Times in 28 Posts
David E. Gervais is on a distinguished road
Default Re: OT: Interesting math problem...

Wow, math games,... What's the square root of PI?

Cheers!
Reply With Quote
  #10  
Old September 22nd, 2004, 11:03 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: OT: Interesting math problem...

At my high school they taught us a way to calculate square roots. It wasn't a simple equation. More of a process that resembled long division. I can't remember it anymore though. It may have been a form of this rod thing Fyron linked to just by a different name. But it didn't look exactly like that as I recall.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.