ADVERTISEMENT

Category Archives

Month: May 2023

Least Significant and Most Significant Bit

For a binary representation of a number, the Least Significant Bit (LSB) is the binary 1s place or simply the rightmost bit. The Most Significant Bit (MSB) is the highest-order place of the binary integer or the left-most bit. Consider the binary...

read more

Static and Dynamic Typed System

A Type in programming is used to refer to the data type such as int, char, or user-defined structured data types. A Static type programming language is one where the data type of the variable is known before the execution of the program. This is...

read more

Strong and Weak Type Systems

A strongly typed system is one that does not allow the conversion of data types during execution, in case there is a mismatch. For instance, if “18” is presented for an integer variable instead of 18, the system raises an error. Perl, Ruby, Python and Pascal are...

read more

History of JavaScript Evolution

The early development or evolution of JavaScript is attributed to Brendan Eich & Netscape Corporation. Netscape Navigator was one of the most widely used and popular browsers in the 1990s. In the initial days of the internet, web browsers were mere...

read more

Operating Systems

An operating system is a software program that acts as a medium to interact with the computer’s hardware resources – memory, processor, storage, etc. efficiently without having the need to deal with each and every individual component separately and the need to go...

read more

Databases

What is a database? A database is a software program that provides facilities for efficiently storing and retrieving information. The information can be stored on a disk (traditional databases) or kept in memory (in-memory databases). The sole purpose of a database is...

read more
Trigonometric Functions

Trigonometric Functions

The six trigonometric functions are defined below. Refer to the above diagram to get the relational picture. sinθ = \( \dfrac {\mathrm{perpendicular}} {\mathrm{hypotenuse}} = \dfrac {p}{h} \) cosθ = \( \dfrac {\mathrm{base}} {\mathrm{hypotenuse}} = \dfrac {b}{h}...

read more
Pythagoras’ theorem

Pythagoras’ theorem

Pythagoras’ theorem is stated as : The sum of the areas of the two squares on the perpendicular(p) and base(b) of a right-angle triangle is equal to the area of the square on the hypotenuse(h). i.e. p2 + b2 = h2

read more
Sides of a Triangle

Sides of a Triangle

A right-angle triangle is a triangle in which one of the angles measures 90°. Right-angled triangles have wide applications in mathematics and physics and as such, it became convenient to have specific names for their sides so that the problem statement in mathematics...

read more

Relation between radian and degree

By definition, L (length of arc) = ( \dfrac { \mathrm{θ_{deg} } } {360} ) × Circumference (arc length is proportional to angle, one complete arc subtends 360° at center) Also, Circumference = 2 𝛑 r Hence, L = ( \dfrac { \mathrm{θ_{deg} } } {360} ) × 2 𝛑 r   ...

read more

Radians

Radian is the SI unit to measure the angle subtended by an arc of a circle. It is the measurement of the angle subtended by an arc of a circle whose length is equal to the radius of the circle. θ (in radians) = \(  \dfrac { \mathrm{length \ \ of \ \ arc} } {...

read more

Odd numbers

A number not divisible by 2 is called an odd number. Any number whose unit digit(last digit) is either 1,3,5,7 or 9 is an odd number. The set of all odd numbers is represented as Odd numbers = { 2n+1: n ∈  Z } where Z is the set of all integers. When an even...

read more

Even Numbers

A number divisible by 2 is called an even number. All numbers whose unit digit(last digit) is either 0,2,4,6 or 8 is an even numbers. The set of all even numbers is represented as follows: Even numbers = { 2n: n ∈  Z } where Z is the set of all integers. Zero is...

read more

SIGQUIT

This is the Immediate Shutdown mode. The server will send SIGQUIT to all child processes and wait for them to terminate. If any do not terminate within 5 seconds, they will be sent SIGKILL. The master server process exits as soon as all child processes have exited,...

read more

SIGINT

This is the Fast Shutdown mode. The server disallows new connections and sends all existing server processes SIGTERM, which will cause them to abort their current transactions and exit promptly. It then waits for all server processes to exit and finally shuts down. If...

read more

SIGTERM

This is the Smart Shutdown mode. After receiving SIGTERM, the server disallows new connections but lets existing sessions end their work normally. It shuts down only after all of the sessions terminate. If the server is in online backup mode, it additionally waits...

read more

Cartesian Product

The cartesian product of two sets A and B is defined as a set formed by all the possible ordered pairs of elements from A and B, such that the first element comes from set A and the second element comes from set B. The cartesian product is denoted as A × B. ​Let a and...

read more

Ordered Pairs

An ordered pair is a 2-tuple formed by taking two elements (generally numbers but can be alphabets, characters, words or symbols). The general form of representation is (a, b) where a and b represent two distinct objects. The important thing with ordered pairs is that...

read more
Relations & Sets

Relations & Sets

A Relation from set A to set B is defined as a set of ordered pairs formed from the elements of set A and B. In other words, a relation is a subset of the cartesian product of sets A and B. The subset is derived by establishing predicate filter(s) or criteria stating...

read more

Chemical Fertilizer vs. Organic Fertilizer

A popular topic among agriculture specialists and home gardeners these days is the furore on organic fertilizer vs. chemical fertilizer.   Now each fertilizer certainly has its pros and cons, but before we delve deeper into that, let us first make a few...

read more

Liquid Organic Fertilizer

Using organic fertilizers is a widely accepted practice in the agricultural industry. Farmers use them to cultivate their fields and row crops, winemakers utilize them for growing grapes, and horticulturists apply a liberal dose of these during the landscaping of...

read more

Longest Rivers of the World

RANKRiverRegionLength (KM/MILES)1The NileEast and North Africa(7,088 KM / 4,404 MILES)2AmazonSouth America (Peru, Colombia, Brazil )(6,992 KM / 4,345 MILES)3YangtzeChina(6,418 KM / 3,988 MILES)4MississippiUSA & Canada(6,275 KM / 3,902 MILES)5Yenisey...

read more

5 Minute Guide to ERP3

Information technology has transformed the way we live and the way we do business. ERP, or Enterprise Resource Planning, is one of the most widely implemented business software systems in a wide variety of industries and organizations. In this short article, we’ll try...

read more

Even & Odd Functions 

A function is said to be an even function if the sign of the image does not change when the sign of the preimage changes. Conversely, a function is called an odd function when the sign of the image changes when the sign of the preimage changes. For Even functions,...

read more

Characteristics of a chemical reaction.

A chemical reaction generally has one or more of the below-mentioned characteristics. Change in state Change in colour Evolution of gas Change in temperature Appearance of light Formation of Precipitate 1> Change in stateCertain chemical reactions are featured with a...

read more

What is a Chemical Reaction?

A process in which one or more substances get transformed to produce new substance or substances is called a Chemical Reaction. A chemical reaction involves changes in the position of electrons of atoms by restructuring chemical bonds, with no changes to the nuclei of...

read more

Probability Cause and Effect Problem

Question What does it mean for one event 𝐶 to cause another event 𝐸 - for example, smoking (𝐶) to cause cancer (𝐸)? There is a long history in philosophy, statistics, and the sciences of trying to clearly analyze the concept of a cause. One tradition says that causes...

read more

Probability Problem: Suppose you roll a fair die two times. Let 𝐴 be the event “THE SUM OF THE THROWS EQUALS 5” and 𝐵 be the event “AT LEAST ONE OF THE THROWS IS A 4”. Solve for the probability that the sum of the throws equals 5, given that at least one of the throws is a 4. That is, solve 𝑃(𝐴|𝐵).

Solution We have A = (1,4), (2,3), (3,2), (4,1) B = (1,4), (2,4), (3,4), (4,4), (5,4), (6,4), (4,1), (4,2), (4,3), (4,5), (4,6) \( P(A|B) = \dfrac {P(A∩B)}{P(B)} \) \( A∩B = (1,4), (4,1) \) The sample space comprises of 6×6 = 36 eventsHence,\( P(A∩B) = \dfrac{2}{36} =...

read more
Relations & Sets

THEOREM# \( \lim_{\theta\to0} \dfrac{sinθ}{θ} \) = 1

We have  \( \lim_{\theta\to0} { \sin\theta \over \theta } \) = 1 Consider the below diagram. We have r = radius of the circle.A = centre of the circle.The sector ⌔ formed by the arc BD subtends an angle θ at the centre. Case 1 : θ > 0 i.e. θ is +ve Let 0 ≤ θ ≤ \(...

read more

Theorem# Limit of tanθ as θ → 0

Proof : We have, lim\(_{θ\to 0} { \dfrac {\mathrm tan \mathrm θ}{ \mathrm θ} }   \) = lim\(_{θ\to 0} { \dfrac {\mathrm \sin \mathrm θ} {\mathrm θ \mathrm \cos\mathrm θ} }   \)      \( \{∵ \tan\theta =  \dfrac...

read more

Derivative of \({e}^x\) using First Principle 

Derivative of \({e}^x\) using the First Principle Let \(y\) = \({e}^x\)∴ \(y + δy\) = \({e}^{x + δx}\)∴ \(δy\) = \({e}^{x + δx}\) - \({e}^x\)or \(δy\) = \({e}^{x}\) . \( [ {e}^{δx} - 1 ]\)Dividing each side by δx </h3>or \(\dfrac {δy}{δx}\) = \( \dfrac { {e}^{x}...

read more

Derivative of sinθ using the First Principle

Derivative of \( sinθ \) using the First Principle Let \(y\) = \( sinθ \) ∴ \(y + δy\) = \( sin(θ + δθ) \) ∴ \(δy\) = \( sin(θ + δθ) \) - \( sinθ \)From Trigonometry , we have \( sin(A-B) \) = 2.\( sin \dfrac {(A-B)}{2} \).\( cos \dfrac {(A+B)}{2} \)Using the above...

read more

Derivative of cosθ using the First Principle

Derivative of \( cosθ \) using the First Principle Let \(y\) = \( cosθ \) ∴ \(y + δy\) = \( cos(θ + δθ) \) ∴ \(δy\) = \( cos(θ + δθ) \) - \( cosθ \)From Trigonometry , we have \( cos(A-B) \) = -2.\( sin \dfrac {(A+B)}{2} \).\( sin \dfrac {(A-B)}{2} \)Using the above...

read more
Relations & Sets

De Morgan’s laws

De Morgan’s First Law The complement of the union of two sets is equal to the intersection of their complements i.e. (A ∪ B )' = A' ∩ B' De Morgan’s Second Law The complement of the intersection of two sets is equal to the union of their complements i.e. (A ∩ B )’ =...

read more

Cartesian Product of Sets

A cartesian product between two sets is defined as the set consisting of all possible ordered pairs that can be formed by taking one element from each of the sets at a given time. If A and B are two sets such that a ∈ A and b ∈ B, then the cartesian product between A...

read more

Tuples

In mathematics, a tuple or a sequence is a list of objects arranged in an order. Such a list may have repeated objects but the order is more important. Such sequences or tuples are denoted as ( t1, t2, t3, …., tn ) where tn is the nth element of the list. Below are a...

read more

Ordered Pairs

An ordered pair is a 2-tuple formed by taking two elements (generally numbers but can be alphabets, characters, words, or symbols). The general form of representation is (a, b) where a and b represent two distinct objects. The important thing with ordered pairs is...

read more

Cartesian Product

The cartesian product of two sets A and B is defined as a set formed by all the possible ordered pairs of elements from A and B, such that the first element comes from set A and the second element comes from set B. The cartesian product is denoted as A × B....

read more
Relations & Sets

Intersection operation on two sets

The intersection of two sets A & B is defined as a set that contains only those members which are common to both A and B. The intersection operation is denoted by the symbol ∩. Remember, for two disjoint sets (sets having no common elements), the...

read more
Relations & Sets

Union of two sets

The union of two sets A & B is defined as a set that contains all the member elements of A and B. the union operation is denoted by the symbol ∪. One point to remember here is that the union of two or more sets always gives a set with distinct...

read more
Relations & Sets

Complement of a set

The complement of a set A (that is a subset of a universal set U) is defined as a set that contains all the member elements and all subsets of U that are not part of the set A. The complement of a set is denoted using the symbol ‘ or c. Hence, A’ =...

read more
Relations & Sets

Venn Diagrams in Sets

Venn diagrams are the pictorial or graphical representation of sets and the various relationships that exist between sets. The representation consists of a rectangular box representing the universal set(U). All sets that are in context are drawn as circles...

read more

UNIVERSAL SET

When working with sets, a reference superset that contains all the sets and their subsets in context (i.e. the sets which are currently under consideration) is called a universal set. It provides a base set from which all of the sets of interest can be...

read more

Partitions

Partitioning of a set is distributing the member elements of a set among a group of non-empty subsets in such a way that each member lies in only one of these subsets. ⇒ ∅ ( Empty Set ) cannot be the partition of any set. Examples ⇒ The set { 1, 2, 3 } can be...

read more

Disjoint Sets

Two sets A and B are called disjoint when they have no element in common (except the empty set ∅ }.

read more

Power Set

The set of all possible subsets of a set S is called the power set of S, written as P(S). Examples ⇒ The power set of { ‘a’ } is { ∅, {‘a’} }The power set of { 2, 3 } is { ∅, {2}, {3}, {2,3} }The power set of {1, 2, 3 } is { ∅, {1}, {2}, {3}, {1,2}, {1,3}, {2,3},...

read more

Proper Subset

If A is a subset of B but A ≠ B, then A is called the proper subset of B, and B is called the proper superset of A. This relationship is represented as below A ⊂ B ( A is a proper subset of A )B ⊃ A ( B is a proper superset of A ) Examples ⇒ {...

read more

Subset

If there are two sets A & B such that every element of A is also in B, then A is called a subset of B. In other words, A is contained in B.  B is called the superset of A. In the set theory, this relationship is depicted as below...

read more

Equivalent Sets

Two sets A and B are said to be equivalent(≡) if each element of A is also an element of B and each element of B is also an element of A. If elements are repetitive in one set, then it is not required for it to repeat in the other set for the two sets to be...

read more

Equal Sets

Two sets A and B are said to be equal(=) if they have the same elements. The elements may not be in the same order. If an element appears n times in one set, then it must also appear n times in the other set. Mathematically, two sets A and B are equal if For each...

read more

Finite Set

A set that has a definite number of elements is called a finite set else it is called an Infinite set. ⇒ A null set is a finite set. ⇒ For finite set S, n(S) is a finite number. ⇒ The standard mathematical sets like N, Z, R, etc. are all...

read more

Singleton Set

A set that has exactly one member is called a singleton set. { 1 } , { ‘a’ } , { x3 | x ∈ N , 2 < x < 3 } are all singleton sets.

read more

Empty Set

A set that does not have any members is called an empty set. ⇒ Such sets are represented as {} or using the symbol ∅ (derived from Φ) which has been explicitly developed to designate an empty set. ⇒ Sometimes { ∅ } is also...

read more

Cardinality of Sets

The number of elements in a set is called cardinality. The cardinality of a set A is generally represented by |A| or n(A) meaning the number of elements in set A.  Examples: The cardinality of the set { 1, 45, 2, 34 } is 4. The cardinality of...

read more

Element Position in Sets

The position of elements in a set does not change the value or the meaning of the set. The above statement signifies that { 1, 2, 3 } and { 1, 3, 2 } and { 2, 3, 1 } are all the same set. A set is primarily a collection and not a sequential representation of elements....

read more

Set Membership

As defined earlier, a set is a collection or group of objects. These objects are called members of the Set. This relationship is represented by using the symbol ∈. The symbol ‘∈’ means “is a member of ” or “belongs to” or “is an element of”. The...

read more

Representation of sets

In mathematical terms, the members of sets are called elements. A set is represented by enlisting its member elements within curly brackets. There are three general conventions adopted for set representation – Roster, Ellipsis & Set-Builder form. Roster form...

read more

Sets

What is a set? A Set is a collection of items. The collection can be either real-world objects or imaginary or theoretical entities. It can be a collection of numbers, alphabets, colors, countries’ names, etc.

read more