Arnab Chakraborty has Published 4293 Articles

C++ Program to find the cosine of given radian value

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 13:11:17

478 Views

Cosine is a trigonometric term that deals with right-angled triangle. When an acute angle is thought of as being a member of a right triangle, the cosine trigonometric function measures the distance between the angle's neighbouring leg and the hypotenuse. We require the angle between the hypotenuse and the adjacent ... Read More

C++ Program to find the sine of given radian value

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 13:07:42

695 Views

Sine is a trigonometric parameter that deals with the right-angled triangle. The sine is the ratio of the opposite side to the hypotenuse. While calculating sine, we need the angle between the hypotenuse and the opposite side. Let the angle is 𝜃. The sin(𝜃) is like below − $$\mathrm{sin(\theta)\:=\:\frac{opposite}{hypotenuse}}$$ In ... Read More

C++ Program to calculate the base 2 logarithm of the given value

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 13:02:39

2K+ Views

In different applications calculating logarithms for base 2 is somewhat necessary. There are a few shortcut methods to remember a few log values for competitive exams. While using programming, we have a handful of options to calculate logarithm results from library functions and also some tricks to compute them. In ... Read More

C++ Program to calculate the cube root of the given number

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:58:35

4K+ Views

Multiplying the same number thrice is termed as the cube of that number. Or we can say the number raised to power 3. For instance 3 * 3 * 3 = 27, which is a cubic number. But if we want to perform the reverse operation, we need to find ... Read More

C++ Program to read the height of a person and the print person is taller, dwarf, or average height person

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:49:05

1K+ Views

A person’s height determines whether he/ she is tall, dwarf, or average height person. In different regions of the world, the height ranges are different. We are considering Indian standards. In this article, we shall cover how to write a simple program to determine whether a person is taller, dwarf, ... Read More

C++ Program to calculate the volume and area of Sphere

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:46:21

9K+ Views

The Sphere is a ball-like 3D object whose all sides are curved surfaces. On a sphere, no plane surface is there. The volume of a sphere is actually how much space it is taking in the space. In this article, we shall cover the techniques to calculate the volume and ... Read More

C++ Program to calculate the volume and area of the Cylinder

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:39:52

9K+ Views

The cylinder is a tube-like 3D object whose base is a circle and has a certain height. The volume of a cylinder is actually how much space it is taking in the space. In this article, we shall cover a few techniques to calculate the volume and the surface area ... Read More

C++ Program to calculate the volume of Cube

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:34:48

4K+ Views

Cubes are the basic 3D objects which have 8 vertices, 12-edges, and 6-faces. The volume of a 3D object is how much space it is occupying in the world. In this article, we will see how we can calculate the volume of a cube by writing a C++ program. A ... Read More

C++ Program to calculate the sum of all odd numbers up to N

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:27:52

14K+ Views

Getting series sum is one of the simplest practicing tasks while we are learning programming and logic build up. In mathematics, there are certain ways to find sum of series present in different progressions. In programming, we generate them one by one by implementing the logics, and repeatedly add them ... Read More

C++ Program to Print the Multiplication Table in Triangular Form

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2022 12:24:43

742 Views

To memorise the few fundamental multiplication results in tabular or graphic form, use multiplication tables. This article will cover how to produce a multiplication table in C++ that looks like a right-angled triangle. In a select few situations where a larger number of results may be easily memorised, triangular representation ... Read More

Advertisements