In this article, we will discuss about a special type of number called fibonomial coefficient and how does a fibonomial triangle looks like. We will also discuss the C++ code approach to print a fibonomial triangle with a given height. Let us first discuss that what is a fibonomial coefficient. Fibonomial Coefficient We can call a fibonomial coefficient a generalisation of well known terms namely , Fibonacci numbers and binomial coefficients. The Fibonacci numbers are a series of numbers in which, each number is the sum of the two preceding numbers (for example − 0, 1, 1, 2, 3, 5, ... Read More
Introduction The scalar triple product is used to find the volume of parallelepiped, which is a 3 dimension of parallelogram. As it is a triple product it deals with the three vectors on the three adjacent edges starting from a common vertex. $\mathrm{volume\:of\:parallelepiped\:=\:\overrightarrow{a}\:.\:(\overrightarrow{b}\:\times\:\overrightarrow{c})}$ We know the area of base of parallelepiped is the area of a parallelogram $\mathrm{=\:l\:\times\:b}$ $\mathrm{Area\:of\:the\:base\:=\:\lvert\:\overrightarrow{b}\:\times\:\overrightarrow{c}\:\rvert}$ To find the height of the Parallelepiped, b × c is a perpendicular line drawn to b and c which is not the actual height of parallelepiped. We first consider the height of the cuboid and convert it into parallelepiped. ... Read More
Introduction Integers are one of the most important concepts in mathematics, and most of them are relevant to this topic. You can practice this concept by practicing multiple integer worksheets. In mathematics, integers are characterized as numbers with a possible value of either positive, negative, or zero. These figures, however, cannot constitute a fraction. These numbers can be used to carry out a variety of mathematical operations, including addition, subtraction, multiplication, and division, according to the integer worksheet. According to the integer worksheet, examples of integers include 1, 2, 5, 8, -8, - ... Read More
In this article, we will discuss a simple program which calculates the factorial of all the numbers present in the Fibonacci series smaller than a given nums. Problem Statement We are given a number and our task is to generate the factorial of all the numbers present in the Fibonacci series and smaller than the given number. Let us first understand the problem statement and requirements from the code solution with the help of examples. Input nums = 13 Output Fibonacci series up to 13 is 0, 1, 1, 2, 3, 5, So, the factorial ... Read More
We will discuss two approaches to solve the sword puzzle. In the first approach, we will use circular linked list, while the second approach is based on general intuition. In this article, we will discuss what is a sword puzzle problem and how we can solve a sword puzzle problem. Problem Statement We have an arrangement of n people in a circle in which, first person is carrying a sword. The first person kills the second person and hands over the sword to the next alive person in the circle. Now the next person carrying the sword kills the next ... Read More
The analysis and manipulation of strings are fundamental operations in many applications of computer programming. Counting subsequences with the pattern "01" in a string formed by repetitively concatenating a given numeric string poses an interesting challenge. The primary question is determining the total count of such subsequences in the resulting string. This article discusses a useful C++ approach to solve this issue successfully and offers a solid answer to deal with this particular work. Concept of Subsequence A subsequence is a sequence of characters that is derived from some other sequence by eliminating zero or more characters without altering the ... Read More
In this article, the task is to create a paragraph element with some text and append it to end of document body using jQuery. Using jQuery, it is easy to add new elements/content in a particular position inside an HTML document. We have four methods that are used to add new content: append() − This method adds the content at the end of selected elements. prepend() − This method adds the content at the beginning of selected elements. after() − This method adds the content after the selected elements. before() − This method adds the content before the selected ... Read More
Introduction The notion of trigonometry was developed by the Greek mathematician Hipparchus, while the name trigonometry is a 16th-century Latin derivative. Trigonometry is one of the most important branches of mathematics. The name "trigonometry" is made up of the phrases "Trigonon" and "Metron, " which denote a triangle and a measure, respectively. It is the study of the relationship between the sides and angles of a right-angled triangle. The ratio of the hypotenuse's length to the neighbouring side's (base) length is known as the sec of an angle in a right triangle. The angle 0° for sec 0 degrees is ... Read More
Introduction The link between a right triangle's side ratio and angle is the subject of the mathematical branch of trigonometry. The ratio used to study this relationship is called the trigonometric ratio. That is, sine, cosine, tangent, cotangent, second, cotangent. The hypotenuse, the base (which is adjacent), and the perpendicular are the three sides of a right-angled triangle from which trigonometric ratios in geometry are obtained. The name "trigonometry" is made up of the phrases "Trigonon" and "Metron, " which denote a triangle and a measure, respectively. The ratio of the hypotenuse's length to the neighbouring side's (base) length is ... Read More
Introduction Logarithms are just another way of expressing exponents and can be used to solve problems that cannot be solved by the concept of exponents alone. In mathematics, logarithmic function properties are used to solve logarithmic problems. The division takes the final number and determines the count of the addition. Perhaps now you can appreciate how exponents and logarithms are a lot like multiplication and division. You will generally deal with a "base" in exponents and logarithms. The "base" of the exponent will be the same as the base of the logarithm. You have ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP