Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
harshraj8843 committed Mar 18, 2023
1 parent f03ee85 commit ca76131
Show file tree
Hide file tree
Showing 27 changed files with 526 additions and 439 deletions.
29 changes: 14 additions & 15 deletions src/convert-binary-to-decimal/README.md
Original file line number Diff line number Diff line change
@@ -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)
30 changes: 12 additions & 18 deletions src/convert-binary-to-hexadecimal/README.md
Original file line number Diff line number Diff line change
@@ -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 |
| ------ | ----------- |
Expand All @@ -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)
30 changes: 12 additions & 18 deletions src/convert-binary-to-octal/README.md
Original file line number Diff line number Diff line change
@@ -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 |
| ------ | ----- |
Expand All @@ -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)
29 changes: 15 additions & 14 deletions src/convert-celsius-to-fahrenheit/README.md
Original file line number Diff line number Diff line change
@@ -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)
29 changes: 15 additions & 14 deletions src/convert-centimeters-to-feet/README.md
Original file line number Diff line number Diff line change
@@ -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))
29 changes: 15 additions & 14 deletions src/convert-centimeters-to-inches/README.md
Original file line number Diff line number Diff line change
@@ -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)
29 changes: 15 additions & 14 deletions src/convert-days-to-hours/README.md
Original file line number Diff line number Diff line change
@@ -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)
29 changes: 16 additions & 13 deletions src/convert-days-to-minutes/README.md
Original file line number Diff line number Diff line change
@@ -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)
Loading

0 comments on commit ca76131

Please sign in to comment.