# Recent posts tagged math

0 0 2 min.
Math.sum javascript In this article, let us find the sum of numbers of an array. An array is an object which stores dissimilar datatypes. Arrays provide numerous methods that can be performed on array elements. As elements can be added any time to a...
0 0 1 min.
**Problem:** ======== I want to find a square root value of an integer number in a **C++** program. Well, the condition is that I can’t use the **sqrt()** function in my program. Let say, the given number is 16, and the output should produce 4. If t...
0 0 1 min.
**Solution:** ========= I am a complete beginner in python. Some of my friends inspired me to learn computer programming and suggested me the python language. I am stepping ahead by taking help from YouTube videos. Right now I have written a python ...
0 0 1 min.
Problem: **Heading** ======= Hello people, I was solving some mathematical problems from my textbook using a Python program. In a particular case, I needed to use an exponential operator to calculate the problem. I failed to write codes where I ca...
0 0 1 min.
**Problem:** ======== Hello Kodlogs, I am a high school student who loves computer programming. I’ve got a minimal idea on Python programming language, hence I am writing codes using it for years. Today I was solving problems from my math textbook,...
0 0 1 min.
**Problem:** ======== Hello Kodlogs, I am a c language developer and recently wished to learn one more computer programming language to add more to my skill set. So, given priority to my thoughts, I jumped into learning Python programming. I am sol...
0 0 1 min.
**Problem:** ======== Hello all, I was solving algebra using the Python programming language, and I’ve written some codes to make a Python program that supposed to calculate the value of 4^3 and print the value for the user. Here is my code snippet...
0 0 7 min.
Student grading systems are used by many schools and institutions today. If you are a programmer, you may be contacted to build one for a client. This article covers how to build a simple grading program with python. Let's begin! Step 1: Figuring o...
20 0 0 min.
We will be using DecimalFormat to round the number to as many decimal places as you wish. For this to happen, remember to include the library as well.import java.text.DecimalFormat; class decimal { public static void main(String args[]) { ...
18 0 2 min.
Arthemetic operation is one of the first concepts to be learnt when beginning with C++. In this article, I will show you how to calculate base raised to the power exponent. So let’s begin !In the case exponent is an integer and the order is sma...
6 0 2 min.
Working with arthimetric operations is one of the first things that should be learnt when beginning to C++. In this article, I will show you how to calculate square root of a number in C++. So let’s begin !In C and C++, we can use function ...
18 1 2 min.
Working with arthimetric operations is one of the first things that should be learnt when beginning to C++. In this article, I will show you how to calculate square root of a number in C++. So let’s begin !In C and C++, we can use function ...
3 0 0 min.
Math class contains the functions which perform innumerable geometry, trigonometry, exponential , rounding, and several other methods. **random() method** Syntax: *static double random( )* Returns a double value with a positive sign, greater than...
0 1 2 min.
Import math moduleIn this article, we will discuss how to import math modules in python.The most well-known mathematical functions, such as trigonometric functions, representation functions, and logarithmic functions, are all included in the Pyt...
11 0 1 min.
Create random numbersIn this article, we will discuss how to create random numbers in the java language.Today we will define three ways to generate random numbers in java;Using random classMath.random()1)Using Random Class: import java.util.Rand...
3 0 3 min.
**why it is necessary to use symbols in math** ------------------------------------------ Symbols are pictures that represent something. In general, symbols are known within the context where they are found. In mathematics, symbols often represent o...
10 1 2 min.
By the mathematical definition, an ellipse considered as a plane curve surrounding two focal points, such for all points on the curve, the sum of the 2 distances to the focal points will be a constant. As such, it generalizes a circle, which is that ...
10 0 2 min.
By the mathematical definition, the square root defined by a number y whose square is x. In other words, a square root of a number x is a number y such that y² = x. For example, 3 and −3 are square roots of 9, because 9² = 1...
25 0 1 min.
Several ways can find or calculate square roots in C++ programming without using sqrt function. However, to get the answer, several iterations may be required for some large numbers which might appear inconveniencing. MethodsLog methodPower algo...
14 0 2 min.
A PI is a mathematical expression that is used to derive the mathematical function of pi(π) in C++. We can use the value in various mathematical theorems in a pre-defined constant so it can be accessible in the program being developed. More a...