Ayush Gupta has Published 527 Articles

Program to print ‘N’ alphabet using the number pattern from 1 to n in C++

Ayush Gupta

Ayush Gupta

Updated on 19-Dec-2019 10:17:18

234 Views

In this tutorial, we will be discussing a program to print ‘N’ alphabet using the number pattern from 1 to n.For this we will have to print the english alphabet N. Our task is to determine the size of the letter and print it back using the numbers from 1 ... Read More

Program to multiply two matrices in C++

Ayush Gupta

Ayush Gupta

Updated on 19-Dec-2019 10:08:51

557 Views

In this tutorial, we will be discussing a program to multiply two matrices.For this we will be given with two matrices and our task is to print the product of two those matrices. The only condition is that the number of columns of first matrix should be equal to the ... Read More

Program to make a histogram of an array in C++

Ayush Gupta

Ayush Gupta

Updated on 19-Dec-2019 10:05:50

3K+ Views

In this tutorial, we will be discussing a program to make a histogram by the data given inside an array.For this, we will be provided with integer values inside an array. Our task is to plot a histogram keeping the value of both coordinates x and y equal to the ... Read More

Program to invert bits of a number Efficiently in C++

Ayush Gupta

Ayush Gupta

Updated on 19-Dec-2019 10:02:48

420 Views

In this tutorial, we will be discussing a program to invert bits of a number efficiently.For this we will be given with a non-negative number. Our task is to convert the number in the binary format, invert the binary bits of the number. And then finally print the decimal equivalent ... Read More

Program to Interchange Diagonals of Matrix in C program

Ayush Gupta

Ayush Gupta

Updated on 19-Dec-2019 08:12:16

267 Views

In this tutorial, we will be discussing a program to interchange the diagonals of a given matrix.For this, we will be given with a square matrix of the order n*n. Our task is to interchange the elements in the two diagonals of the matrix and then return the new matrix.Example Live ... Read More

C++ Program to implement t-test

Ayush Gupta

Ayush Gupta

Updated on 03-Dec-2019 11:26:46

1K+ Views

In this tutorial, we will be discussing a program to implement t-test.The t-test of the student’s T test is used to compare two means and tell if both of them are similar or different. Along with this, t-test also helps to determine how large the differences are to know the ... Read More

C++ Program to implement standard error of mean

Ayush Gupta

Ayush Gupta

Updated on 03-Dec-2019 11:25:42

303 Views

In this tutorial, we will be discussing a program to implement standard error of mean.Standard error of mean is the estimation of sample mean dispersion from population mean. Then it is used to estimate the approximate confidence intervals for the mean.Example#include using namespace std; //calculating sample mean float calc_mean(float ... Read More

C++ program to implement standard deviation of grouped data

Ayush Gupta

Ayush Gupta

Updated on 03-Dec-2019 10:36:51

399 Views

In this tutorial, we will be discussing a program to implement standard deviation of grouped data.For this we will be given with class interval and frequency of the class. Our task is to find the standard deviation of the grouped data.Example#include using namespace std; //finding mean of grouped data ... Read More

C++ program to implement Simpson’s 3/8 rule

Ayush Gupta

Ayush Gupta

Updated on 03-Dec-2019 10:34:00

1K+ Views

In this tutorial, we will be discussing a program to implement SImpson’s ⅜ rule.Simpson’s ⅜ rule is used for doing numerical integrations. The most common use case of this method is in performing numerical approximations of definite integrals.In this, the parabolas on the graph are used for performing the approximations.Example#include ... Read More

C++ Program to implement Linear Extrapolation

Ayush Gupta

Ayush Gupta

Updated on 03-Dec-2019 10:31:42

967 Views

In this tutorial, we will be discussing a program to implement Linear Extrapolation.Extrapolation is defined as a process in which the required value for a certain function is beyond the lower or the upper limits of the function definition.In the case of Linear Extrapolation, the value beyond the scope is ... Read More

Advertisements