Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
C program to calculate the standard deviation
Standard deviation is used to measure deviation of data from its mean. The mathematical formula to calculate the standard deviation is as follows − $$s=\sqrt{Variance}$$ where Variance$$=\frac{1}{n}\:\:\displaystyle\sum\limits_{i=1}^n (x_{i}-m)^{2}$$ and $$m=mean=\frac{1}{n}\:\displaystyle\sum\limits_{i=1}^n x_{i}$$ Syntax #include double sqrt(double x); Algorithm Refer an algorithm given below to calculate the standard deviation for the given numbers − Step 1 − Read n items. Step 2 − Calculate sum and mean of the items. Step 3 − Calculate variance. Step 4 − Calculate standard deviation. The logic used in the ...
Read MoreComposition of Open Economy Macroeconomics
An open economy is a system that engages in international trade, financial transactions, and labor mobility with other nations across borders. Unlike closed economies that operate in isolation, open economies allow cross-border exchange of goods, services, capital, and workforce. In the modern interconnected world, virtually all economies operate as open systems to maximize growth and competitiveness. Key Components of Open Economy There are three fundamental markets through which open economies operate: Output Market Open economies engage in international trade of goods and services, allowing consumers and producers to choose between domestic and foreign products. This creates competition ...
Read MoreC Program to represent a multiplication table.
In C programming, a multiplication table displays the products of numbers in a systematic grid format. This program creates a 12x10 multiplication table where each row represents multiples of a number from 1 to 12. Syntax for(int i = 1; i
Read MoreType of Boxes Generated in CSS
One or more boxes are generated for every element in a document tree after processing it under the visual formatting model. A generated box has certain CSS properties associated with it and is accordingly rendered in HTML. To display elements, the following are the two common values − block − Starts on a new line and takes the full available width inline − Does not start on a new line and takes only the required width The following types of boxes are generated in CSS − Block-level Elements and Block Boxes Anonymous block boxes ...
Read MoreNature and Types of Small Business
Small businesses are enterprises that require relatively low investment, operate with limited workforce, and serve local or regional markets. These businesses typically need an investment of no more than one crore and usually employ fewer than 500 people. Small businesses play a crucial role in economic development and often serve as the backbone of local communities. Understanding Small Businesses Small businesses operate locally and may be involved in manufacturing products that have demand in the local market. They are also known as small-scale industries because they produce items on a small scale. These businesses often have access to ...
Read MoreC program to calculate range of values and an average cost of a personal system.
A personal system is sold at different costs by vendors. To analyze the pricing data, we need to calculate statistical measures like the average cost and range of values. Let's take the list of costs (in hundreds) quoted by some vendors − 25.00, 30.50, 15.00, 28.25, 58.15, 37.00, 16.65, 42.00, 68.45, 53.50 Syntax Range = Highest Value - Lowest Value Average = Sum of All Values / Total Count Solution The range is the difference between the highest and lowest values in a dataset. The average is the sum of all values divided ...
Read MoreWorking with CSS Pseudo Classes
CSS pseudo classes are special keywords that allow you to select elements based on their state or position. They enable styling of elements when users interact with them (like :hover) or when they meet certain criteria (like :first-child). NOTE − CSS3 pseudo classes use single-colon notation (:) to distinguish them from pseudo elements (which use double colons ::). Syntax selector:pseudo-class { property: value; } Common Pseudo Classes Pseudo-Class Description Example Usage :hover Selects elements when user hovers over them Button color changes on mouse over ...
Read MoreC Program to calculate the salesmen salary with macro functions.
In C programming, macro functions provide a way to define constants and simple calculations that are processed during compilation. This program demonstrates how to calculate a salesman's salary using predefined macro constants for base salary, bonus rates, and commission percentages. Problem Statement A laptop manufacturing company has the following monthly compensation policy for their salespersons − Minimum base salary: 3000.00 Bonus for every laptop sold: 200.00 Commission on total monthly sales: 5 percent Since laptop prices change monthly, the sales price of each laptop is fixed at the beginning of every month. Syntax ...
Read MoreC program to find out cosine and sine values using math.h library.
In C programming, the math.h library provides trigonometric functions like cos() and sin() to calculate cosine and sine values. These functions take angles in radians as input and return the corresponding trigonometric values. Syntax #include double cos(double x); // Returns cosine of x (in radians) double sin(double x); // Returns sine of x (in radians) Parameters x − The angle in radians for which to calculate the trigonometric value Return Value Both functions return a double value representing the cosine or sine of the ...
Read MoreMeaning of Rural Development
Rural development refers to the comprehensive process of improving economic, social, and infrastructural conditions in countryside areas to enhance the quality of life for rural populations. It encompasses initiatives aimed at reducing poverty, creating employment opportunities, and bridging the gap between urban and rural living standards. In India, where approximately 65% of the population resides in rural areas, rural development is crucial for overall national economic growth. Definition of Rural Areas According to the Planning Commission of India, a rural area is defined as a region where the maximum population does not exceed 15, 000 people. Additionally, rural ...
Read More