diff --git a/src/convert-binary-to-decimal/README.md b/src/convert-binary-to-decimal/README.md index 58eb568..43b6394 100644 --- a/src/convert-binary-to-decimal/README.md +++ b/src/convert-binary-to-decimal/README.md @@ -1,32 +1,31 @@ --- title: Convert Binary to Decimal -description: Convert a binary number to a decimal number +description: Tool to convert binary numbers to decimal numbers tags: - binary - decimal - conversion - - math - - number - - number system --- -# Convert Binary to Decimal +### Binary Number System -This tool converts a binary number to a decimal number. +The binary number system is a base-2 number system. It uses only two symbols: 0 and 1. The binary number system is used in computers and other digital devices. -## Example +### Decimal Number System -```text -Binary: 1001 -Decimal: 9 -``` +The decimal number system is a base-10 number system. It uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The decimal number system is used in everyday life. -## How to convert binary to decimal +### Conversion -To convert a binary number to a decimal number, you need to multiply each digit by 2 raised to the power of its position in the number. Then, you need to add all the results together. +The conversion from binary to decimal is done by multiplying each digit by the power of 2. The power of 2 is the position of the digit from the right. The first digit is multiplied by 2^0, the second digit is multiplied by 2^1, the third digit is multiplied by 2^2, and so on. -For example, let's convert the binary number `1001` to a decimal number. +For example, the binary number 1011 is converted to decimal as follows: ```text -1 * 2^3 + 0 * 2^2 + 0 * 2^1 + 1 * 2^0 = 8 + 0 + 0 + 1 = 9 +1 * 2^0 + 0 * 2^1 + 1 * 2^2 + 1 * 2^3 = 11 ``` + +### References + +- [Binary Number System](https://en.wikipedia.org/wiki/Binary_number) +- [Decimal Number System](https://en.wikipedia.org/wiki/Decimal) diff --git a/src/convert-binary-to-hexadecimal/README.md b/src/convert-binary-to-hexadecimal/README.md index ab3e620..8c8225b 100644 --- a/src/convert-binary-to-hexadecimal/README.md +++ b/src/convert-binary-to-hexadecimal/README.md @@ -1,29 +1,25 @@ --- title: Convert Binary to Hexadecimal -description: Convert a binary number to a hexadecimal number +description: Tool to convert binary numbers to hexadecimal numbers tags: - binary - hexadecimal - conversion - - math - - number - - number system --- -# Convert Binary to Hexadecimal +### Binary Number System -This tool converts a binary number to a hexadecimal number. +The binary number system is a base-2 number system. It uses only two symbols: 0 and 1. The binary number system is used in computers and other digital devices. -## Example +### Hexadecimal Number System -```text -Binary: 1001 -Hexadecimal: 9 -``` +The hexadecimal number system is a base-16 number system. It uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is used in computers and other digital devices. -## How to convert binary to hexadecimal +### Conversion -To convert a binary number to a hexadecimal number, you need to split the binary number into groups of four digits. Then, you need to convert each group to a hexadecimal digit. +The conversion from binary to hexadecimal is done by splitting the binary number into groups of four digits. Each group is converted to a hexadecimal digit. The hexadecimal digits are then concatenated to form the hexadecimal number. + +### Conversion Table | Binary | Hexadecimal | | ------ | ----------- | @@ -44,9 +40,7 @@ To convert a binary number to a hexadecimal number, you need to split the binary | 1110 | E | | 1111 | F | -For example, let's convert the binary number `1001` to a hexadecimal number. +### References -```text -Binary: 10010101 -Hexadecimal: 95 -``` +- [Binary Number System](https://en.wikipedia.org/wiki/Binary_number) +- [Hexadecimal Number System](https://en.wikipedia.org/wiki/Hexadecimal) diff --git a/src/convert-binary-to-octal/README.md b/src/convert-binary-to-octal/README.md index 38c8252..776783d 100644 --- a/src/convert-binary-to-octal/README.md +++ b/src/convert-binary-to-octal/README.md @@ -1,29 +1,25 @@ --- title: Convert Binary to Octal -description: Convert a binary number to an octal +description: Tool to convert binary numbers to octal numbers tags: - binary - octal - conversion - - math - - number - - number system --- -# Convert Binary to Octal +### Binary Number System -This tool converts a binary number to an octal number. +The binary number system is a base-2 number system. It uses only two symbols: 0 and 1. The binary number system is used in computers and other digital devices. -## Example +### Octal Number System -```text -Binary: 1001 -Octal: 11 -``` +The octal number system is a base-8 number system. It uses eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7. The octal number system is used in computers and other digital devices. -## How to convert binary to octal +### Conversion -To convert a binary number to an octal number, you need to split the binary number into groups of three digits. Then, you need to convert each group to an octal digit. +The conversion from binary to octal is done by splitting the binary number into groups of three digits. Each group is converted to an octal digit. The octal digits are then concatenated to form the octal number. + +### Conversion Table | Binary | Octal | | ------ | ----- | @@ -36,9 +32,7 @@ To convert a binary number to an octal number, you need to split the binary numb | 110 | 6 | | 111 | 7 | -For example, let's convert the binary number `1001` to an octal number. +### References -```text -Binary: 1001 -Octal: 11 -``` +- [Binary Number System](https://en.wikipedia.org/wiki/Binary_number) +- [Octal Number System](https://en.wikipedia.org/wiki/Octal) diff --git a/src/convert-celsius-to-fahrenheit/README.md b/src/convert-celsius-to-fahrenheit/README.md index 1c34320..22bebe2 100644 --- a/src/convert-celsius-to-fahrenheit/README.md +++ b/src/convert-celsius-to-fahrenheit/README.md @@ -1,31 +1,32 @@ --- title: Convert Celsius to Fahrenheit -description: Convert a temperature in Celsius to a temperature in Fahrenheit +description: Tool to convert temperatures from Celsius to Fahrenheit tags: - celsius - fahrenheit - - conversion - - math - temperature + - conversion --- -# Convert Celsius to Fahrenheit +### Celsius -This tool converts a temperature in Celsius to a temperature in Fahrenheit. +The Celsius scale is a temperature scale based on 0 degrees for the freezing point of water and 100 degrees for the boiling point of water. The Celsius scale is used in most of the world. -## Example +### Fahrenheit -```text -Celsius: -40 -Fahrenheit: -40 -``` +The Fahrenheit scale is a temperature scale based on 32 degrees for the freezing point of water and 212 degrees for the boiling point of water. The Fahrenheit scale is used in the United States. -## How to convert Celsius to Fahrenheit +### Conversion -To convert a temperature in Celsius to a temperature in Fahrenheit, you need to multiply the temperature in Celsius by 1.8 and add 32. +The conversion from Celsius to Fahrenheit is done by multiplying the Celsius temperature by 9/5 and adding 32. -For example, let's convert the temperature `-40` Celsius to a temperature in Fahrenheit. +For example, the Celsius temperature 0 is converted to Fahrenheit as follows: ```text --40 * 1.8 + 32 = -40 * 1.8 + 32 = -40 +0 * 9/5 + 32 = 32 ``` + +### References + +- [Celsius](https://en.wikipedia.org/wiki/Celsius) +- [Fahrenheit](https://en.wikipedia.org/wiki/Fahrenheit) diff --git a/src/convert-centimeters-to-feet/README.md b/src/convert-centimeters-to-feet/README.md index 9858737..be3078e 100644 --- a/src/convert-centimeters-to-feet/README.md +++ b/src/convert-centimeters-to-feet/README.md @@ -1,31 +1,32 @@ --- title: Convert Centimeters to Feet -description: Convert a length in centimeters to a length in feet +description: Tool to convert distances from centimeters to feet tags: - centimeters - feet + - distance - conversion - - math - - length --- -# Convert Centimeters to Feet +### Centimeters -This tool converts a length in centimeters to a length in feet. +The centimeter is a unit of length in the metric system. There are 100 centimeters in 1 meter. The centimeter is used in everyday life. -## Example +### Feet -```text -Centimeters: 100 -Feet: 3.28084 -``` +The foot is a unit of length in the imperial system. There are 12 inches in 1 foot. There are 3 feet in 1 yard. There are 5280 feet in 1 mile. The foot is used in everyday life. -## How to convert centimeters to feet +### Conversion -To convert a length in centimeters to a length in feet, you need to divide the length in centimeters by 30.48. +The conversion from centimeters to feet is done by dividing the centimeter distance by 30.48. -For example, let's convert the length `100` centimeters to a length in feet. +For example, the centimeter distance 100 is converted to feet as follows: ```text -100 / 30.48 = 3.28084 +100 / 30.48 = 3.281 ``` + +### References + +- [Centimeter](https://en.wikipedia.org/wiki/Centimetre) +- [Foot](https://en.wikipedia.org/wiki/Foot_(unit)) diff --git a/src/convert-centimeters-to-inches/README.md b/src/convert-centimeters-to-inches/README.md index b8946b8..18557c1 100644 --- a/src/convert-centimeters-to-inches/README.md +++ b/src/convert-centimeters-to-inches/README.md @@ -1,31 +1,32 @@ --- title: Convert Centimeters to Inches -description: Convert a length in centimeters to a length in inches +description: Tool to convert distances from centimeters to inches tags: - centimeters - inches + - distance - conversion - - math - - length --- -# Convert Centimeters to Inches +### Centimeters -This tool converts a length in centimeters to a length in inches. +The centimeter is a unit of length in the metric system. There are 100 centimeters in 1 meter. The centimeter is used in everyday life. -## Example +### Inches -```text -Centimeters: 100 -Inches: 39.3701 -``` +The inch is a unit of length in the imperial system. There are 12 inches in 1 foot. There are 36 inches in 1 yard. There are 63360 inches in 1 mile. The inch is used in everyday life. -## How to convert centimeters to inches +### Conversion -To convert a length in centimeters to a length in inches, you need to divide the length in centimeters by 2.54. +The conversion from centimeters to inches is done by dividing the centimeter distance by 2.54. -For example, let's convert the length `100` centimeters to a length in inches. +For example, the centimeter distance 100 is converted to inches as follows: ```text -100 / 2.54 = 39.3701 +100 / 2.54 = 39.37 ``` + +### References + +- [Centimeter](https://en.wikipedia.org/wiki/Centimetre) +- [Inch](https://en.wikipedia.org/wiki/Inch) diff --git a/src/convert-days-to-hours/README.md b/src/convert-days-to-hours/README.md index 809d837..730e67b 100644 --- a/src/convert-days-to-hours/README.md +++ b/src/convert-days-to-hours/README.md @@ -1,31 +1,32 @@ --- title: Convert Days to Hours -description: Convert number of days to hours +description: Tool to convert time from days to hours tags: - days - hours - - conversion - - math - time + - conversion --- -# Convert Days to Hours +### Days -This tool converts days to hours (d to h) and vice versa. +The day is a unit of time in the metric system. There are 24 hours in 1 day. The day is used in everyday life. -## Example +### Hours -```text -Days: 1 -Hours: 24 -``` +The hour is a unit of time in the metric system. There are 60 minutes in 1 hour. There are 3600 seconds in 1 hour. The hour is used in everyday life. -## How to convert days to hours +### Conversion -To convert days to hours, multiply the number of days by 24. +The conversion from days to hours is done by multiplying the day time by 24. -For example, to convert 1 day to hours, multiply 1 by 24, that makes 24 hours in 1 day. +For example, the day time 1 is converted to hours as follows: ```text -1 day = 1 * 24 = 24 hours +1 * 24 = 24 ``` + +### References + +- [Day](https://en.wikipedia.org/wiki/Day) +- [Hour](https://en.wikipedia.org/wiki/Hour) diff --git a/src/convert-days-to-minutes/README.md b/src/convert-days-to-minutes/README.md index 9373e92..4475bfb 100644 --- a/src/convert-days-to-minutes/README.md +++ b/src/convert-days-to-minutes/README.md @@ -1,29 +1,32 @@ --- title: Convert Days to Minutes -description: Convert number of days to +description: Tool to convert time from days to minutes tags: - days - minutes - - conversion - - math - time + - conversion --- -# Convert Days to Minutes +### Days -This tool converts the number of days to minutes. +The day is a unit of time in the metric system. There are 24 hours in 1 day. The day is used in everyday life. -## Example +### Minutes -```text -Days: 1 -Minutes: 1440 -``` +The minute is a unit of time in the metric system. There are 60 seconds in 1 minute. The minute is used in everyday life. -## How to convert days to minutes +### Conversion -To convert days to minutes, multiply the number of days by 1440. +The conversion from days to minutes is done by multiplying the day time by 1440. + +For example, the day time 1 is converted to minutes as follows: ```text -1 day = 1 * 1440 = 1440 minutes +1 * 1440 = 1440 ``` + +### References + +- [Day](https://en.wikipedia.org/wiki/Day) +- [Minute](https://en.wikipedia.org/wiki/Minute) diff --git a/src/convert-days-to-seconds/README.md b/src/convert-days-to-seconds/README.md index a730ab6..8fe06cb 100644 --- a/src/convert-days-to-seconds/README.md +++ b/src/convert-days-to-seconds/README.md @@ -1,29 +1,32 @@ --- title: Convert Days to Seconds -description: Convert number of days to seconds +description: Tool to convert time from days to seconds tags: - days - seconds - - conversion - - math - time + - conversion --- -# Convert Days to Seconds +### Days -This tool converts the number of days to seconds. +The day is a unit of time in the metric system. There are 24 hours in 1 day. The day is used in everyday life. -## Example +### Seconds -```text -Days: 1 -Seconds: 86400 -``` +The second is a unit of time in the metric system. There are 1000 milliseconds in 1 second. The second is used in everyday life. -## How to convert days to seconds +### Conversion -To convert days to seconds, multiply the number of days by 86400. +The conversion from days to seconds is done by multiplying the day time by 86400. + +For example, the day time 1 is converted to seconds as follows: ```text -1 day = 1 * 86400 = 86400 seconds +1 * 86400 = 86400 ``` + +### References + +- [Day](https://en.wikipedia.org/wiki/Day) +- [Second](https://en.wikipedia.org/wiki/Second) diff --git a/src/convert-decimal-to-binary/README.md b/src/convert-decimal-to-binary/README.md index 84c4aa3..8016c9d 100644 --- a/src/convert-decimal-to-binary/README.md +++ b/src/convert-decimal-to-binary/README.md @@ -1,42 +1,47 @@ --- title: Convert Decimal to Binary -description: Convert a decimal number to binary number +description: Tool to convert decimal numbers to binary numbers tags: - - binary - decimal + - binary - conversion - - math - - number - - number system --- -# Convert Decimal to Binary +### Decimal Number System -This tool converts a decimal number to binary number. +The decimal number system is a base-10 number system. It uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The decimal number system is used in everyday life. -## Example +### Binary Number System -```text -Decimal: 9 -Binary: 1001 -``` +The binary number system is a base-2 number system. It uses only two symbols: 0 and 1. The binary number system is used in computers and other digital devices. -## How to convert decimal to binary +### Conversion -To convert a decimal number to binary, follow these steps: +The conversion from decimal to binary is done by repeatedly dividing the decimal number by 2. The remainder of each division is concatenated to form the binary number. -1. Divide the decimal number by 2. -2. Get the integer quotient for the next iteration. -3. Get the remainder for the binary digit. -4. Repeat the steps until the quotient is equal to 0. +### Conversion Table -For example, to convert 9 to binary, we divide 9 by 2: +| Decimal | Binary | +| ------- | ------ | +| 0 | 0 | +| 1 | 1 | +| 2 | 10 | +| 3 | 11 | +| 4 | 100 | +| 5 | 101 | +| 6 | 110 | +| 7 | 111 | +| 8 | 1000 | +| 9 | 1001 | +| 10 | 1010 | +| 11 | 1011 | +| 12 | 1100 | +| 13 | 1101 | +| 14 | 1110 | +| 15 | 1111 | +| 16 | 10000 | -| Step | Quotient | Remainder | -| ---- | -------- | --------- | -| 9/2 | 4 | 1 | -| 4/2 | 2 | 0 | -| 2/2 | 1 | 0 | -| 1/2 | 0 | 1 | +### References -The binary number is the sequence of remainders in reverse order, so the binary of 9 is 1001. +- [Decimal Number System](https://en.wikipedia.org/wiki/Decimal) +- [Binary Number System](https://en.wikipedia.org/wiki/Binary_number) diff --git a/src/convert-decimal-to-hexadecimal/README.md b/src/convert-decimal-to-hexadecimal/README.md index e140b07..a6d76f0 100644 --- a/src/convert-decimal-to-hexadecimal/README.md +++ b/src/convert-decimal-to-hexadecimal/README.md @@ -1,34 +1,25 @@ --- title: Convert Decimal to Hexadecimal -description: Convert a decimal number to hexadecimal number +description: Tool to convert numbers from decimal to hexadecimal tags: - decimal - hexadecimal - conversion - - math - - number - - number system --- -# Convert Decimal to Hexadecimal +### Decimal Number System -This tool converts a decimal number to hexadecimal number. +The decimal number system is a base-10 number system. It uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The decimal number system is used in everyday life. -## Example +### Hexadecimal Number System -```text -Decimal: 9 -Hexadecimal: 9 -``` +The hexadecimal number system is a base-16 number system. It uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is used in computers and other digital devices. -## How to convert decimal to hexadecimal +### Conversion -To convert a decimal number to hexadecimal number, follow these steps: +The conversion from decimal to hexadecimal is done by dividing the decimal number by 16. The remainder is the hexadecimal digit. The quotient is then divided by 16 again. The process is repeated until the quotient is 0. -1. Divide the decimal number by 16. -2. Get the integer quotient for the next iteration. -3. Get the remainder for the hexadecimal digit. -4. Repeat the steps until the quotient is equal to 0. +### Conversion Table | Decimal | Hexadecimal | | ------- | ----------- | @@ -49,16 +40,7 @@ To convert a decimal number to hexadecimal number, follow these steps: | 14 | E | | 15 | F | -For example, let's convert the decimal number 9 to hexadecimal. +### References -1. Divide 9 by 16. The quotient is 0 and the remainder is 9. -2. The hexadecimal number is 9. - -| Step | Quotient | Remainder | Hexadecimal digit | -| ---- | -------- | --------- | ----------------- | -| 9/16 | 0 | 9 | 9 | - -```text -Decimal: 9 -Hexadecimal: 9 -``` +- [Decimal Number System](https://en.wikipedia.org/wiki/Decimal) +- [Hexadecimal Number System](https://en.wikipedia.org/wiki/Hexadecimal) diff --git a/src/convert-decimal-to-octal/README.md b/src/convert-decimal-to-octal/README.md index 41a7040..7752e0d 100644 --- a/src/convert-decimal-to-octal/README.md +++ b/src/convert-decimal-to-octal/README.md @@ -1,34 +1,25 @@ --- title: Convert Decimal to Octal -description: Convert a decimal number to octal number +description: Tool to convert decimal numbers to octal tags: - decimal - octal - conversion - - math - - number - - number system --- -# Convert Decimal to Octal +### Decimal Number System -This tool converts a decimal number to octal number. +The decimal number system is a base-10 number system. It uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The decimal number system is used in everyday life. -## Example +### Octal Number System -```text -Decimal: 9 -Octal: 11 -``` +The octal number system is a base-8 number system. It uses eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7. The octal number system is used in computers and other digital devices. -## How to convert decimal to octal +### Conversion -To convert a decimal number to octal number, follow these steps: +The conversion from decimal to octal is done by dividing the decimal number by 8. The remainder is the octal digit. The quotient is then divided by 8 again. The process is repeated until the quotient is 0. -1. Divide the decimal number by 8. -2. Get the integer quotient for the next iteration. -3. Get the remainder for the octal digit. -4. Repeat the steps until the quotient is equal to 0. +### Conversion Table | Decimal | Octal | | ------- | ----- | @@ -40,15 +31,9 @@ To convert a decimal number to octal number, follow these steps: | 5 | 5 | | 6 | 6 | | 7 | 7 | +| 8 | 10 | -For example, to convert 9 to octal, we divide 9 by 8: +### References -| Step | Quotient | Remainder | -| ----- | -------- | --------- | -| 9 / 8 | 1 | 1 | -| 1 / 8 | 0 | 1 | - -```text -Decimal: 9 -Octal: 11 -``` +- [Decimal Number System](https://en.wikipedia.org/wiki/Decimal) +- [Octal Number System](https://en.wikipedia.org/wiki/Octal) diff --git a/src/convert-hexadecimal-to-binary/README.md b/src/convert-hexadecimal-to-binary/README.md index f5635d5..b8b38ca 100644 --- a/src/convert-hexadecimal-to-binary/README.md +++ b/src/convert-hexadecimal-to-binary/README.md @@ -1,32 +1,25 @@ --- title: Convert Hexadecimal to Binary -description: Convert a hexadecimal number to binary number +description: Tool to convert hexadecimal to binary tags: - hexadecimal - binary - conversion - - math - - number - - number system --- -# Convert Hexadecimal to Binary +### Hexadecimal Number System -This tool converts hexadecimal numbers to binary numbers. +The hexadecimal number system is a base-16 number system. It uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is used in computers and other digital devices. -## Example +### Binary Number System -```text -Hexadecimal: 9 -Binary: 1001 -``` +The binary number system is a base-2 number system. It uses only two symbols: 0 and 1. The binary number system is used in computers and other digital devices. -## How to convert hexadecimal to binary +### Conversion -To convert hexadecimal to binary, you need to follow these steps: +The conversion from hexadecimal to binary is done by splitting the hexadecimal number into groups of one digit. Each group is converted to a binary digit. The binary digits are then concatenated to form the binary number. -1. Convert each hexadecimal digit to its binary equivalent. -2. Concatenate the binary digits. +### Conversion Table | Hexadecimal | Binary | | ----------- | ------ | @@ -47,9 +40,7 @@ To convert hexadecimal to binary, you need to follow these steps: | E | 1110 | | F | 1111 | -For example, to convert hexadecimal `91` to binary, you need to convert each hexadecimal digit to its binary equivalent. +### References -```text -Hexadecimal: 91 -Binary: 10010001 -``` +- [Hexadecimal Number System](https://en.wikipedia.org/wiki/Hexadecimal) +- [Binary Number System](https://en.wikipedia.org/wiki/Binary_number) diff --git a/src/convert-hexadecimal-to-decimal/README.md b/src/convert-hexadecimal-to-decimal/README.md index 6571ece..f7144a8 100644 --- a/src/convert-hexadecimal-to-decimal/README.md +++ b/src/convert-hexadecimal-to-decimal/README.md @@ -1,38 +1,46 @@ --- title: Convert Hexadecimal to Decimal -description: Convert a hexadecimal number to a decimal number. +description: Tool to convert hexadecimal numbers to decimal tags: - hexadecimal - decimal - conversion - - math - - number - - number system --- -# Convert Hexadecimal to Decimal +### Hexadecimal Number System -This tool converts a hexadecimal number to a decimal number. +The hexadecimal number system is a base-16 number system. It uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is used in computers and other digital devices. -## Example +### Decimal Number System -```text -Hexadecimal: 9 -Decimal: 9 -``` +The decimal number system is a base-10 number system. It uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The decimal number system is used in everyday life. -## How to Convert Hexadecimal to Decimal +### Conversion -To convert a hexadecimal number to a decimal number, follow these steps: +The conversion from hexadecimal to decimal is done by multiplying the hexadecimal digit by 16 to the power of its position in the number. The result is added to the total. The process is repeated until all the digits are converted. -1. Start with the rightmost digit of the hexadecimal number. -2. Multiply the digit by 16 raised to the power of its position in the number. -3. Add the result to the total. -4. Move to the next digit to the left. -5. Repeat steps 2-4 until you have processed all the digits. +### Conversion Table -For example, to convert the hexadecimal number `91` to a decimal number, follow these steps: +| Hexadecimal | Decimal | +| ----------- | ------- | +| 0 | 0 | +| 1 | 1 | +| 2 | 2 | +| 3 | 3 | +| 4 | 4 | +| 5 | 5 | +| 6 | 6 | +| 7 | 7 | +| 8 | 8 | +| 9 | 9 | +| A | 10 | +| B | 11 | +| C | 12 | +| D | 13 | +| E | 14 | +| F | 15 | -```text -9 * 16^1 + 1 * 16^0 = 144 + 1 = 145 -``` +### References + +- [Hexadecimal Number System](https://en.wikipedia.org/wiki/Hexadecimal) +- [Decimal Number System](https://en.wikipedia.org/wiki/Decimal) diff --git a/src/convert-hexadecimal-to-octal/README.md b/src/convert-hexadecimal-to-octal/README.md index c0f8b64..3fa4c85 100644 --- a/src/convert-hexadecimal-to-octal/README.md +++ b/src/convert-hexadecimal-to-octal/README.md @@ -1,34 +1,46 @@ --- title: Convert Hexadecimal to Octal -description: Convert a hexadecimal number to octal. +description: Tool to convert hexadecimal numbers to octal tags: - hexadecimal - octal - conversion - - math - - number - - number system --- -# Convert Hexadecimal to Octal +### Hexadecimal Number System -This tool converts hexadecimal numbers to octal numbers. +The hexadecimal number system is a base-16 number system. It uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is used in computers and other digital devices. -## Example +### Octal Number System -```text -Hexadecimal: 9 -Octal: 11 -``` +The octal number system is a base-8 number system. It uses eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7. The octal number system is used in computers and other digital devices. -## How to convert hexadecimal to octal +### Conversion -To convert hexadecimal to octal, you need to convert the hexadecimal number to decimal, then convert the decimal number to octal. +The conversion from hexadecimal to octal is done by converting the hexadecimal number to decimal and then converting the decimal number to octal. -For example, to convert hexadecimal `9` to octal, you need to convert `9` to decimal `9`, then convert `9` to octal `11`. +### Conversion Table -```text -Hexadecimal: 9 -Decimal: 9 -Octal: 11 -``` +| Hexadecimal | Decimal | Octal | +| ----------- | ------- | ----- | +| 0 | 0 | 0 | +| 1 | 1 | 1 | +| 2 | 2 | 2 | +| 3 | 3 | 3 | +| 4 | 4 | 4 | +| 5 | 5 | 5 | +| 6 | 6 | 6 | +| 7 | 7 | 7 | +| 8 | 8 | 10 | +| 9 | 9 | 11 | +| A | 10 | 12 | +| B | 11 | 13 | +| C | 12 | 14 | +| D | 13 | 15 | +| E | 14 | 16 | +| F | 15 | 17 | + +### References + +- [Hexadecimal Number System](https://en.wikipedia.org/wiki/Hexadecimal) +- [Octal Number System](https://en.wikipedia.org/wiki/Octal) diff --git a/src/convert-octal-to-binary/README.md b/src/convert-octal-to-binary/README.md index 81b9f8b..27627a7 100644 --- a/src/convert-octal-to-binary/README.md +++ b/src/convert-octal-to-binary/README.md @@ -1,37 +1,38 @@ --- title: Convert Octal to Binary -description: Convert a number from octal to binary +description: Tool to convert octal numbers to binary numbers tags: - octal - binary - conversion - - math - - number - - number system --- -# Convert Octal to Binary +### Octal Number System -This tool converts a number from octal to binary. +The octal number system is a base-8 number system. It uses eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7. The octal number system is used in computers and other digital devices. -## Example +### Binary Number System -```text -Octal: 9 -Binary: 1001 -``` +The binary number system is a base-2 number system. It uses only two symbols: 0 and 1. The binary number system is used in computers and other digital devices. -## How to convert octal to binary +### Conversion -To convert octal to binary, you need to follow these steps: +The conversion from octal to binary is done by splitting the octal number into groups of digits. Each group is converted to a binary digit. The binary digits are then concatenated to form the binary number. -1. Convert the octal number to decimal. -2. Convert the decimal number to binary. +### Conversion Table -For example, let's convert the octal number `9` to binary. +| Octal | Binary | +| ----- | ------ | +| 0 | 000 | +| 1 | 001 | +| 2 | 010 | +| 3 | 011 | +| 4 | 100 | +| 5 | 101 | +| 6 | 110 | +| 7 | 111 | -```text -Octal: 9 -Decimal: 9 -Binary: 1001 -``` +### References + +- [Octal Number System](https://en.wikipedia.org/wiki/Octal) +- [Binary Number System](https://en.wikipedia.org/wiki/Binary_number) diff --git a/src/convert-octal-to-decimal/README.md b/src/convert-octal-to-decimal/README.md index dfdce8a..b5eddc5 100644 --- a/src/convert-octal-to-decimal/README.md +++ b/src/convert-octal-to-decimal/README.md @@ -1,42 +1,44 @@ --- title: Convert Octal to Decimal -description: Convert a number from octal to decimal. +description: Tool to convert octal numbers to decimal tags: - octal - decimal - conversion - - math - - number - - number system --- -# Convert Octal to Decimal +### Octal Number System -This tool converts a number from octal to decimal. +The octal number system is a base-8 number system. It uses eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7. The octal number system is used in computers and other digital devices. -## Example +### Decimal Number System -```text -Octal: 9 -Decimal: 9 -``` - -## How to Convert Octal to Decimal - -To convert a number from octal to decimal, follow these steps: +The decimal number system is a base-10 number system. It uses ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The decimal number system is used in everyday life. -1. Write down the octal number. -2. Multiply each digit by the appropriate power of 8. -3. Add the results together. +### Conversion -For example, to convert 9 from octal to decimal, follow these steps: +The conversion from octal to decimal is done by multiplying each octal digit by 8 raised to the power of its position. The positions start from the right. The results are then added together. -1. Write down the octal number: 9 -2. Multiply each digit by the appropriate power of 8: - 9 × 80 = 9 -3. Add the results together: 9 +For example, the octal number 17 is converted to decimal as follows: ```text -Octal: 9 -Decimal: 9 +1 * 8^1 + 7 * 8^0 = 15 ``` + +### Conversion Table + +| Octal | Decimal | +| ----- | ------- | +| 0 | 0 | +| 1 | 1 | +| 2 | 2 | +| 3 | 3 | +| 4 | 4 | +| 5 | 5 | +| 6 | 6 | +| 7 | 7 | + +### References + +- [Octal Number System](https://en.wikipedia.org/wiki/Octal) +- [Decimal Number System](https://en.wikipedia.org/wiki/Decimal) diff --git a/src/convert-octal-to-hexadecimal/README.md b/src/convert-octal-to-hexadecimal/README.md index 5441dfd..fee4dbb 100644 --- a/src/convert-octal-to-hexadecimal/README.md +++ b/src/convert-octal-to-hexadecimal/README.md @@ -1,52 +1,46 @@ --- title: Convert Octal to Hexadecimal -description: Convert a octal number to hexadecimal number. +description: Tool to convert octal numbers to hexadecimal tags: - octal - hexadecimal - conversion - - math - - number - - number system --- -# Convert Octal to Hexadecimal +### Octal Number System -This tool converts an octal number to hexadecimal number. +The octal number system is a base-8 number system. It uses eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7. The octal number system is used in computers and other digital devices. -## Example +### Hexadecimal Number System -```text -Octal: 9 -Hexadecimal: 9 -``` +The hexadecimal number system is a base-16 number system. It uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is used in computers and other digital devices. -## How to convert octal to hexadecimal +### Conversion -To convert octal to hexadecimal, you need to follow these steps: +The conversion from octal to hexadecimal is done by converting the octal number to decimal and then converting the decimal number to hexadecimal. -1. Convert the octal number to decimal number. -2. Convert the decimal number to hexadecimal number. +### Conversion Table -For example, let's convert the octal number `9` to hexadecimal number. +| Octal | Decimal | Hexadecimal | +| ----- | ------- | ----------- | +| 0 | 0 | 0 | +| 1 | 1 | 1 | +| 2 | 2 | 2 | +| 3 | 3 | 3 | +| 4 | 4 | 4 | +| 5 | 5 | 5 | +| 6 | 6 | 6 | +| 7 | 7 | 7 | +| 10 | 8 | 8 | +| 11 | 9 | 9 | +| 12 | 10 | A | +| 13 | 11 | B | +| 14 | 12 | C | +| 15 | 13 | D | +| 16 | 14 | E | +| 17 | 15 | F | -1. Convert the octal number to decimal number +### References -```text -9 = 9 * 8^0 - = 9 * 1 - = 9 -``` - -2. Convert the decimal number to hexadecimal number - -```text -9 = 9 * 16^0 - = 9 * 1 - = 9 -``` - -```text -Octal: 9 -Hexadecimal: 9 -``` +- [Octal Number System](https://en.wikipedia.org/wiki/Octal) +- [Hexadecimal Number System](https://en.wikipedia.org/wiki/Hexadecimal) diff --git a/src/format-string-to-camelcase/README.md b/src/format-string-to-camelcase/README.md index b3bbfc8..ca2540e 100644 --- a/src/format-string-to-camelcase/README.md +++ b/src/format-string-to-camelcase/README.md @@ -1,21 +1,34 @@ --- title: Format String to Camel Case -description: Convert a string to camelCase +description: Tool to convert a string to camel case tags: - string - - camel case - - conversion + - camel + - case - format - - camelCase --- -# Format String to Camel Case +### String -This tool converts a string to camelCase. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Camel Case + +Camel case is a naming convention where the first letter of each word is capitalized. Camel case is used in programming to name variables and functions. + +### Conversion + +The conversion from string to camel case is done by splitting the string into words, capitalizing the first letter of each word, and joining the words back together. + +For example, the string `hello world` is converted to camel case as follows: ```text -Input: hello world -Output: helloWorld +hello world +-> hello, world +-> Hello, World +-> HelloWorld ``` + +### References + +- [Camel case](https://en.wikipedia.org/wiki/Camel_case) diff --git a/src/format-string-to-constantcase/README.md b/src/format-string-to-constantcase/README.md index d9d0fd2..593d78d 100644 --- a/src/format-string-to-constantcase/README.md +++ b/src/format-string-to-constantcase/README.md @@ -1,21 +1,34 @@ --- title: Format String To Constant Case -description: Converts a string to CONSTANT_CASE. +description: Tool to convert a string to constant case tags: - string - - constant case - - conversion + - constant + - case - format - - CONSTANT_CASE --- -# Format String To Constant Case +### String -This tool converts a string to CONSTANT_CASE. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Constant Case + +Constant case is a naming convention where all letters are capitalized and words are separated by underscores. Constant case is used in programming to name constants. + +### Conversion + +The conversion from string to constant case is done by splitting the string into words, capitalizing all letters of each word, and joining the words back together with underscores. + +For example, the string `hello world` is converted to constant case as follows: ```text -Input: hello world -Output: HELLO_WORLD +hello world +-> hello, world +-> HELLO, WORLD +-> HELLO_WORLD ``` + +### References + +- [Constant case](https://en.wikipedia.org/wiki/Naming_convention_(programming)#Constant_case) diff --git a/src/format-string-to-dotcase/README.md b/src/format-string-to-dotcase/README.md index 612c048..a1fd6c1 100644 --- a/src/format-string-to-dotcase/README.md +++ b/src/format-string-to-dotcase/README.md @@ -1,21 +1,34 @@ --- title: Format String to Dot Case -description: Convert a string to dot.case +description: Tool to convert a string to dot case tags: - string - - dot case - - conversion + - dot + - case - format - - dot.case --- -# Format String to Dot Case +### String -This tool converts a string to dot.case. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Dot Case + +Dot case is a naming convention where all letters are lowercase and words are separated by dots. Dot case is used in programming to name files. + +### Conversion + +The conversion from string to dot case is done by splitting the string into words, lowercasing all letters of each word, and joining the words back together with dots. + +For example, the string `hello world` is converted to dot case as follows: ```text -Input: hello world -Output: hello.world +hello world +-> hello, world +-> hello, world +-> hello.world ``` + +### References + +- [Dot case](https://en.wikipedia.org/wiki/Naming_convention_(programming)#Dot_case) diff --git a/src/format-string-to-kebabcase/README.md b/src/format-string-to-kebabcase/README.md index 5d165db..60db38b 100644 --- a/src/format-string-to-kebabcase/README.md +++ b/src/format-string-to-kebabcase/README.md @@ -1,21 +1,34 @@ --- title: Format String to Kebab Case -description: Convert a string to kebab-case. +description: Tool to convert a string to kebab case tags: - string - - kebab case - - conversion + - kebab + - case - format - - kebab-case --- -# Format String to Kebab Case +### String -This tool converts a string to kebab-case. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Kebab Case + +Kebab case is a naming convention where all letters are lowercase and words are separated by hyphens. Kebab case is used in programming to name variables and functions. + +### Conversion + +The conversion from string to kebab case is done by splitting the string into words, lowercasing all letters of each word, and joining the words back together with hyphens. + +For example, the string `hello world` is converted to kebab case as follows: ```text -Input: hello world -Output: hello-world +hello world +-> hello, world +-> hello, world +-> hello-world ``` + +### References + +- [Kebab case](https://en.wikipedia.org/wiki/Naming_convention_(programming)#Kebab_case) diff --git a/src/format-string-to-pascalcase/README.md b/src/format-string-to-pascalcase/README.md index e5d42e2..182f4d9 100644 --- a/src/format-string-to-pascalcase/README.md +++ b/src/format-string-to-pascalcase/README.md @@ -1,21 +1,34 @@ --- title: Convert String to Pascal Case -description: Convert a string to PascalCase +description: Tool to convert a string to pascal case tags: - string - - pascal case - - conversion + - pascal + - case - format - - PascalCase --- -# Convert String to Pascal Case +### String -This tool converts a string to PascalCase. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Pascal Case + +Pascal case is a naming convention where the first letter of each word is capitalized. Pascal case is used in programming to name classes and types. + +### Conversion + +The conversion from string to pascal case is done by splitting the string into words, capitalizing the first letter of each word, and joining the words back together. + +For example, the string `hello world` is converted to pascal case as follows: ```text -Input: hello world -Output: HelloWorld +hello world +-> hello, world +-> Hello, World +-> HelloWorld ``` + +### References + +- [Pascal case](https://en.wikipedia.org/wiki/Naming_convention_(programming)#Pascal_case) diff --git a/src/format-string-to-pathcase/README.md b/src/format-string-to-pathcase/README.md index 1d92964..8bcee34 100644 --- a/src/format-string-to-pathcase/README.md +++ b/src/format-string-to-pathcase/README.md @@ -1,21 +1,34 @@ --- title: Format String to Path Case -description: Format a string to path/case. +description: Tool to convert a string to path case tags: - string - - path case - - conversion + - path + - case - format - - path/case --- -# Format String to Path Case +### String -This tool formats a string to path/case. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Path Case + +Path case is a naming convention where all letters are lowercase and words are separated by slashes. Path case is used in programming to name files and directories. + +### Conversion + +The conversion from string to path case is done by splitting the string into words, lowercasing all letters of each word, and joining the words back together with slashes. + +For example, the string `hello world` is converted to path case as follows: ```text -Input: hello world -Output: hello/world +hello world +-> hello, world +-> hello, world +-> hello/world ``` + +### References + +- [Path case](https://en.wikipedia.org/wiki/Naming_convention_(programming)#Path_case) diff --git a/src/format-string-to-snakecase/README.md b/src/format-string-to-snakecase/README.md index 19b64e4..e9f57e8 100644 --- a/src/format-string-to-snakecase/README.md +++ b/src/format-string-to-snakecase/README.md @@ -1,21 +1,34 @@ --- title: Format String to Snake Case -description: Format a string to snake_case +description: Tool to convert a string to snake case tags: - string - - snake case - - conversion + - snake + - case - format - - snake_case --- -# Format String to Snake Case +### String -This tool converts a string to snake_case. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Snake Case + +Snake case is a naming convention where all letters are lowercase and words are separated by underscores. Snake case is used in programming to name variables and functions. + +### Conversion + +The conversion from string to snake case is done by splitting the string into words, lowercasing all letters of each word, and joining the words back together with underscores. + +For example, the string `hello world` is converted to snake case as follows: ```text -Input: hello world -Output: hello_world +hello world +-> hello, world +-> hello, world +-> hello_world ``` + +### References + +- [Snake case](https://en.wikipedia.org/wiki/Naming_convention_(programming)#Snake_case) diff --git a/src/format-string-to-titlecase/README.md b/src/format-string-to-titlecase/README.md index d2b12c6..757e345 100644 --- a/src/format-string-to-titlecase/README.md +++ b/src/format-string-to-titlecase/README.md @@ -1,21 +1,34 @@ --- title: Format String to Title Case -description: Convert a string to title case. +description: Tool to convert a string to title case tags: - string - - title case - - conversion + - title + - case - format - - titlecase --- -# Format String to Title Case +### String -This tool converts a string to title case. +A string is a sequence of characters. Strings are used in programming to store text. -## Example +### Title Case + +Title case is a naming convention where the first letter of each word is capitalized. Title case is used in programming to name variables and functions. + +### Conversion + +The conversion from string to title case is done by splitting the string into words, capitalizing the first letter of each word, and joining the words back together. + +For example, the string `hello world` is converted to title case as follows: ```text -Input: hello world -Output: Hello World +hello world +-> hello, world +-> Hello, World +-> Hello World ``` + +### References + +- [Title case](https://en.wikipedia.org/wiki/Title_case) diff --git a/src/sum-of-numbers/README.md b/src/sum-of-numbers/README.md index aa3662e..7af5f6b 100644 --- a/src/sum-of-numbers/README.md +++ b/src/sum-of-numbers/README.md @@ -1,20 +1,26 @@ --- title: Sum of Numbers -description: Find Sum of +description: Tool to sum numbers tags: - - number - sum + - numbers - addition - - math --- -# Sum of Numbers +### Sum -This tool finds the sum of numbers in a list. +The sum is the result of adding numbers. The sum is used in everyday life. -## Example +### Numbers -```text -Input: [1, 2, 3, 4, 5] -Output: 15 -``` +The number is a unit of measurement in the metric system. The number is used in everyday life. + +### Addition + +The addition is the operation of adding numbers. The addition is used in everyday life. + +### References + +- [Sum](https://en.wikipedia.org/wiki/Sum) +- [Number](https://en.wikipedia.org/wiki/Number) +- [Addition](https://en.wikipedia.org/wiki/Addition)