Articles on Trending Technologies

Technical articles with clear explanations and examples

Area of a square inscribed in a circle which is inscribed in a hexagon in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 296 Views

Here we will see how to find the area of a square inscribed in a circle, which is itself inscribed in a hexagon. Let's say the side of the hexagon is 'A', the radius of the inscribed circle is 'r', and the side of the square is 'a'. A r a Mathematical Relationship For a regular hexagon with side A, the radius of the inscribed ...

Read More

Bounce In Left Animation Effect with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 275 Views

The CSS Bounce In Left animation effect creates an element that enters from the left side of the screen with a bouncing motion. This animation starts with the element positioned off-screen to the left, then slides in with a characteristic bounce effect. Syntax @keyframes bounceInLeft { 0% { opacity: 0; transform: translateX(-2000px); } 60% { opacity: 1; ...

Read More

Angle between two Planes in 3D in C Program?

Aman Kumar
Aman Kumar
Updated on 15-Mar-2026 397 Views

In 3D geometry, planes are flat surfaces extending infinitely in space. When two planes intersect, they form a line, and the angle between them becomes an important geometric measure. The angle between two planes is calculated using their normal vectors and the dot product formula. Syntax angle = acos(dot_product / (magnitude1 * magnitude2)) * (180 / PI) Plane Equations Two planes in 3D space can be represented by the following general equations − P1: a1 * x + b1 * y + c1 * z + d1 = 0 P2: ...

Read More

Usage of CSS @charset rule

Ankith Reddy
Ankith Reddy
Updated on 15-Mar-2026 234 Views

The CSS @charset rule specifies the character encoding used in an external CSS file. It must be placed at the very beginning of the CSS file to ensure proper interpretation of special characters and symbols. Syntax @charset "encoding"; Rules for Usage Must be the first thing in the CSS file (no spaces or comments before it) The encoding name must be enclosed in double quotes Only one @charset rule is allowed per CSS file Most commonly used with UTF-8 encoding Example: UTF-8 Character Set The following example shows how to ...

Read More

Bounce Animation Effect with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 545 Views

The CSS bounce animation effect creates a realistic bouncing motion by moving an element up and down with decreasing amplitude, simulating the physics of an object bouncing off a surface. Syntax @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .element { animation: bounce 1s ease-in-out; } How Bounce Animation Works The bounce effect uses @keyframes to define multiple stages of movement. The ...

Read More

Alphanumeric Abbreviations of a String in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 725 Views

In C programming, generating alphanumeric abbreviations of a string means creating all possible combinations where some characters can be replaced with numbers representing the count of omitted characters. For example, "HELLO" can be abbreviated as "HE2O" where "2" represents the two omitted characters "LL". Syntax void printAbbreviation(const char* s, int index, int max_index, char* str, int str_len); Algorithm The recursive algorithm works as follows − printAbbreviation(s, index, max, str) − begin if index is same as max, then print str ...

Read More

Animation Effects in CSS

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 245 Views

The animation is the process of creating motion effects and changing the appearance of elements. CSS supports different animation effects to create smooth transitions and dynamic visual changes on web pages. CSS animations use a concept called keyframes to control the intermediate steps during the animation sequence. Keyframes define what styles the element will have at certain times during the animation. Syntax @keyframes animation-name { from { /* starting styles */ } to { /* ending styles */ } } /* Or with percentages */ @keyframes animation-name ...

Read More

C Program to Find the minimum sum of factors of a number?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 574 Views

The minimum sum of factors of a number is the sum of all prime factors (with repetition) of that number. This approach decomposes the number into its smallest possible factors, which are prime numbers, resulting in the minimum possible sum. Syntax int findMinSumOfFactors(int n); Explanation To find the minimum sum of factors, we need to find all possible ways to factorize the number and compare their sums. The minimum sum is always achieved by using prime factorization − Input: n=12 Output: 7 Following are different ways to factorize 12 and ...

Read More

C Program to Compute Quotient and Remainder?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 624 Views

Given two numbers dividend and divisor, we need to write a C program to find the quotient and remainder when the dividend is divided by the divisor. In division, we see the relationship between the dividend, divisor, quotient, and remainder. The number which we divide is called the dividend. The number by which we divide is called the divisor. The result obtained is called the quotient. The number left over is called the remainder. 55 ÷ 9 = 6 and 1 Dividend Divisor Quotient Remainder Syntax quotient = dividend / divisor; remainder = ...

Read More

CSS pause-before property

George John
George John
Updated on 15-Mar-2026 157 Views

The CSS pause-before property specifies a pause to be observed before speaking an element's content in speech synthesis. This property is part of the CSS Speech Module and is used to control timing in text-to-speech applications. Syntax selector { pause-before: value; } Possible Values ValueDescription timeExpresses the pause in absolute time units (seconds and milliseconds) percentageRefers to the inverse of the value of the speech-rate property noneNo pause before the element (default) inheritInherits the value from the parent element Example 1: Using Time Values The following ...

Read More
Showing 21471–21480 of 61,299 articles
Advertisements