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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 21st, 2003, 06:22 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Stealth and Scattering Armor bonus

BTW, if you want a fast formula for calculating the sum of "n+(n-1)+(n-2)+...+2+1", it's n*(n+1)/2.

The idea is that you're finding the sum of "n" terms of an arithmetic progression; the generic formula is:

Sum=(n/2)*(A+L)

Where:
A is the first term in the series
L is the Last term in the series
n is the number of terms



[ March 21, 2003, 16:25: Message edited by: DirectorTsaarx ]
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #2  
Old March 24th, 2003, 10:39 AM
Ward's Avatar

Ward Ward is offline
Private
 
Join Date: Mar 2003
Location: Czech Republic
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Ward is on a distinguished road
Default Re: Stealth and Scattering Armor bonus

I admit I didnīt remember the symbol is multiplicative, not additive. What is important is the usage. I also didnīt know how to say the wole formula is to be repeated AAW times with % changing. But then - itīs about five years I did some math.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 03:16 PM.


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