码迷,mamicode.com
首页 > 其他好文 > 详细

2的幂的合并运算实例

时间:2016-04-07 13:18:28      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:

Powers of two can be combined, under the laws of exponents, to create other powers of two. Under these rules, you can multiply powers of two, divide powers of two, or raise a power of two to a power and still get another power of two. You can combine these rules to create complicated expressions, expressions that result in a single power of two. For example,

技术分享 .

The laws of exponents apply generally to any base; two is no different. But since we’re interested in powers of two, we’ll couch them in terms of powers of two. Once we explain the laws in this way, you’ll understand the math behind the example above.

 

Basic Powers of Two Rules

The following are the basic rules of exponents for powers of two, rules you should be familiar with if you know what the powers of two are:

  • 技术分享
  • 技术分享
  • 技术分享
  • 技术分享
  • 技术分享

Rules For Combining Powers of Two

The following are the rules for combining powers of two under multiplication, division, and exponentiation:

Product of Powers of Two Rule: 技术分享

This rule says a power of two multiplied by a power of two is a power of two. In particular, the resulting power of two has an exponent equal to the sum of the exponents of the multiplied powers of two.

Examples:

  • 技术分享
  • 技术分享

Quotient of Powers of Two Rule: 技术分享

This rule says a power of two divided by a power of two is a power of two. In particular, the resulting power of two has an exponent equal to the dividend’s exponent minus the divisor’s exponent.

Examples:

  • 技术分享
  • 技术分享

Power of a Power of Two Rule: 技术分享

This rule says a power of two raised to a power is a power of two. In particular, the resulting power of two has an exponent equal to the product of the two given exponents.

Examples:

  • 技术分享
  • 技术分享

Composite Rules For Combining Powers of Two

In the general laws of exponents there are two additional rules: the power of a product rule and the power of a quotient rule. For powers of two, these rules become unnecessary, as they can be derived from the rules above. Nonetheless, they are still valid, and can provide a shortcut in calculations if you’re so inclined.

Power of a Product of Powers of Two Rule: 技术分享

This rule is just the combination of the product of powers of two rule and the power of a power of two rule.

Examples:

  • 技术分享
  • 技术分享

Power of a Quotient of Powers of Two Rule: 技术分享

This rule is just the combination of the quotient of powers of two rule and the power of a power of two rule.

Examples:

  • 技术分享
  • 技术分享

Powers of Two as Arbitrary Expressions

You can use the above rules to reduce complicated expressions to the form 技术分享. Let’s return to the example at the beginning of this article:

技术分享

There are several ways to reduce this. Here is a way without using any composite (shortcut) rules:

技术分享

Here’s a way using a composite rule:

技术分享

Here’s a longer way, which would have been longer without the use of a composite rule:

技术分享

Transforming Numeric Powers of Two

If there are powers of two in an expression that appear numerically — for example, 64 instead of 技术分享transform them to the form 技术分享. Then, apply the rules above. Here is an example:

技术分享.

A Visual Example

You can see the laws of exponents in action in the following diagram:

技术分享

A 4" x 4" x 4" cube.

Here are three equivalent ways to compute the volume of the cube:

  • Length x width x height: 4 x 4 x 4 = 64 cubic inches
  • Length x width x height: 技术分享 x 技术分享 x 技术分享 64 cubic inches
  • Length cubed: 技术分享 64 cubic inches

Here are three equivalent ways to compute the area of each side of the cube:

  • Length x width: 4 x 4 = 16 square inches
  • Length x width: 技术分享 16 square inches
  • Volume / height: 技术分享 16 square inches

Exercises

  1. 技术分享
  2. 技术分享
  3. 技术分享
  4. 技术分享
  5. 技术分享
  6. 技术分享
  7. 技术分享
  8. 技术分享
  9. 技术分享
  10. 技术分享
  11. 技术分享
  12. 技术分享

Answers

  1. 技术分享
  2. 技术分享
  3. 技术分享
  4. 技术分享
  5. 技术分享
  6. 技术分享
  7. 技术分享
  8. 技术分享
  9. 技术分享
  10. 技术分享
  11. 技术分享
  12. 技术分享

2的幂的合并运算实例

标签:

原文地址:http://www.cnblogs.com/sirlipeng/p/5363031.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!