Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Finding extensions?

This topic is 5320 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do you find how much of an increase with the total product, say the volume of a cube, become if you increase/decrease certain dimensions? I know how to do it if you add/subtract a length, just put it into binomial form and multiply it out subtracting the original. How do you do this with multiplication? I''m writing a trivia program which more focuses on math and just random questions that nobody should know!
Charles Hwang -aka oatmeal.net [Maxedge My Site(UC)|E-mail|NeXe|NeHe|SDL] [Google|Dev-C++|GDArticles|C++.com|MSDN]

Share this post

Link to post
Share on other sites
Let l,m,n be the scale factor applied to x,y,z so

new x = lx
new y = my
new z = nz

then new volume = lx*my*nz
so change of volume is lx*my*nz - x*y*z i.e. lmn - 1 times the original volume (increase).

So doubling all lengths gives 8-1 = 7 original increase, which is correct because 2*2*2 = 8 = 7+1

"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!