GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 25-Jul-2008, 13:01
Leaves Leaves is offline
New Member
 
Join Date: Jul 2008
Posts: 4
Leaves is on a distinguished road

Formula Help!


Hi, I need to know the formula to find A * B and half of B as many times as A, for example:

PHP Code:

2 * 2 ...        //  That would be 2 + 2 + 1 + 1 



This needs to be with variables thats why I'm lost.
  #2  
Old 25-Jul-2008, 13:26
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,305
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Formula Help!!!


Quote:
Originally Posted by Leaves
Hi, I need to know the formula to find A * B
OK, I understand: A times B, right?
Quote:
Originally Posted by Leaves
and
By "and" do you mean "plus?" If so, then so far we have A*B+...
Quote:
Originally Posted by Leaves
half of B
So: half of B means B/2, right? si we have A*B+B/2...
Quote:
Originally Posted by Leaves
as many times as
Toes "as many times as" mean "times?" or what? If so then we have A*B+B/2*...
Quote:
Originally Posted by Leaves
A
Then, by my reckoning, we have A*B+B/2*A
Quote:
Originally Posted by Leaves
for example...
Well, never mind. I can't see what your example has to do with your description. It's obvious that I have missed something.

Maybe you can restate the problem? Or, maybe, just maybe, someone else can see what the heck you are asking.

I sure can't.
Quote:
Originally Posted by Leaves
I'm lost.
If it's a contest, I win: I'm loster than you.

Regards,

Dave
Last edited by davekw7x : 25-Jul-2008 at 14:14.
  #3  
Old 30-Jul-2008, 21:51
Leaves Leaves is offline
New Member
 
Join Date: Jul 2008
Posts: 4
Leaves is on a distinguished road

Re: Formula Help!


Heheh... funny.
Lets say there are 2 hungry tomatoes. ( 2 )

Then each of the hungry tomatoes spawn 10 angry tomatoes a year. ( 2 * 10 )

Then each spawned angry tomatoe lays an egg and a half for every hungry tomatoe. ( 15 + 15 )

The spaceship that brought the tomatoes needs a formula to find how many tomatoe eggs there are using variables instead of the fixed numbers of tomatoes during 1 human year (33.33 Hungry Tomatoe years ).
 
 

Recent GIDBlogInstall Adobe Flash - Without Administrator Rights by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert RGB to luma and Chroma component maximuz C Programming Language 17 12-Feb-2008 12:54
Review formula for delivery costs and display message gundampc Java Forum 3 23-Sep-2007 19:28
? regarding a formula from textbook earachefl C++ Forum 4 03-Jun-2006 19:38
Leap Year Validation -code formula request redhead049 C Programming Language 7 28-Jul-2005 18:13
Math Formula: FORECAST JdS Open Discussion Forum 4 16-Oct-2003 08:58

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:58.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.