Hi, how should I calculate the number of animal heads, if I know the total number of animals and total number of legs ? There are 2 groups of animals. Some of them have 4 legs and others have 2 legs. In total there are 36 animals and they have 100 legs. How do I know how many animals have 4 legs and how many animals have 2 legs ? What formula should I use ?

To calculate how many animals have 4 legs or 2 legs, if you know the total number of animals and total number of their legs, you have to use **2 equations**.

**Calculation**

Total number of animals: 36

Total number of legs: 100

x - represents animals with 4 legs

y - represents animals with 2 legs

**Equation 1**

Total number of animals: x + y = 36

**Equation 2**

Total number of legs: 4x + 2y = 100

Result of this equation (divided by 2): 2x + y = 50

**Equation 1 and Equation 2:**

(2x + y) - (x + y) = 50 - 36

Result of this equation:**x = 14**

**There are 14 animals with 4 legs.**

**Other 22 animals have 2 legs.**

Total number of animals: 36

Total number of legs: 100

x - represents animals with 4 legs

y - represents animals with 2 legs

Total number of animals: x + y = 36

Total number of legs: 4x + 2y = 100

Result of this equation (divided by 2): 2x + y = 50

(2x + y) - (x + y) = 50 - 36

Result of this equation:

Related questions

## SQL query with SELECT COUNT() in SELECT - subquery example

## How to count excel cells that contain specific part of text ?

## Week count - where does week start on Monday, Sunday, Saturday ?

## How to count Excel cells that Begin or End with specific text ?

## How to count blank cells with no values in Excel ?

## Select or count rows with unique values in column in table - SQL

## Count total values only from visible filtered cells in Excel

## SQL Select rows using LEFT JOIN - where count is 0 matches

## Sum or count cells in entire column except the header one - Excel

Trending questions

What causes inflation ? Why prices rise ? Reasons of price increase Samsung Galaxy A & F better than M series ? What's the difference ? Is PLS LCD display good ? Difference between PLS LCD and Amoled Man Month calculation - how many man days or man hours ? How to calculate inverse currency exchange rate ? Remove or hide bottom navigation bar with buttons on Android How to add side by side rows in excel pivot table ? ATM withdrawal With or Without conversion - Accept or Decline ? Can EU citizens enter UK with national ID card - without passport ?

What causes inflation ? Why prices rise ? Reasons of price increase Samsung Galaxy A & F better than M series ? What's the difference ? Is PLS LCD display good ? Difference between PLS LCD and Amoled Man Month calculation - how many man days or man hours ? How to calculate inverse currency exchange rate ? Remove or hide bottom navigation bar with buttons on Android How to add side by side rows in excel pivot table ? ATM withdrawal With or Without conversion - Accept or Decline ? Can EU citizens enter UK with national ID card - without passport ?

2024 AnswerTabsTermsContact us