Analysis Of Algorithms

Analysis Of Algorithms – Time Complexity & Space Complexity Analysis Of Algorithms Outline: Analysis of an algorithm Time complexity Types of time functions/Order of algorithm Space complexity In this lesson, you will learn about the theoretical aspect of the algorithms. In the previous lesson, you have learnt about algorithms. Whenever you design an algorithm, you should…

Hexadecimal Subtraction 16’s Complement

This is my second article on hexadecimal arithmetic. In this article I will explain subtraction of hexadecimal numbers. Key Questions: How to perform subtraction on hexadecimal number system or base 16 number system? How to perform fractional hexadecimal numbers subtraction? How to perform hexadecimal subtraction using 16’s complement Hexadecimal 0 1 2 3 4 5…

Octal Division Solved Examples

 
 
 
This is my fourth article on octal arithmetic. In this article I am going to solve some examples on octal division. This is very easy task and principles and rules of division remain same. Here are articles on octal number systems. These articles provide tutorials on mathematical operations on octal number systems which includes octal numbers addition,octal numbers subtraction and octal numbers multiplication.
Key Questions:
  • How to perform division in octal numbers system?
  • How to perform fractional octal numbers division

Division In Octal Number System (Solved Examples):

To solve division examples you must know how to perform multiplication on octal numbers. I will solve examples on each case. First case in which dividend and divisor both are integers. Second case in which dividend has an octal point and divisor is an integer. Third case in which both dividend and divisor both have floating point numbers. You can check your results by using this online converter.
Example#01:6573)8÷16)8
First we make a table for 16 and it’s multiples.
 
Decimal
Octal
16*1
16
14
16*2
32
34
16*3
48
52
16*4
64
70
16*5
80
106
16*6
96
124
          366.4
16 ⟌6573
        52
        137
        124
          133
          124
              70
               70
               XX
Answer:366.4)8
 

Example#02:457.43)8÷7)8
First make a table for 7 and it’s multiples
 
Decimal
Octal
7*1
7
7
7*2
14
16
7*3
21
25
7*4
28
34
7*5
35
43
7*6
42
52
7*7
49
61
       53.27
7 ⟌457.43
      43
        27
        25
          24
          16
             63
              61
              2
Answer:53.27)8

Example#03:737.72)8÷1.2)8
Shifting octal point makes the problem easy. According to mathematical rule shifting octal point of numerator upto one place then you have to shift octal point of denominator upto one place as well.
7377.2)8÷12)8
After shifting octal point divisor/denominator is free from octal point.
Let’s make table for 12 and it’s multiples.
 
Decimal
Octal
12*1
12
10
12*2
24
22
12*3
36
34
12*4
48
50
12*5
60
62
12*6
72
74
12*7
84
106
         577.73
12 ⟌7377.2
        62
        117
        106
          117
          106
             112
             106
                40
                36
                  2
        
Answer:577.73)8

…

Octal Multiplication Solved Examples

This is my third article on octal number system arithmetic. In this article I am going to explain octal numbers multiplication. I will also discuss multiplication using octal multiplication table.There are my posts on octal addition, octal subtraction and octal division. Key Questions: Octal Numbers Multiplication Examples: The multiplication process of octal numbers are same as other…

Octal addition

Octal Addition Solved Examples

This is my first article on octal arithmetic. In this post I am going to explain the two different methods of octal addition. Key Questions: Octal Addition Technique: There are two methods of adding octal numbers. I will solve each example by using methods for better understanding. You can check your results using this online…