# Recent questions tagged math

853 views
This python code for x in range(20, 50): print(x,math.factorial(x),math.pow(2,x), math.factorial(x ... was wondering if anyone actually knew. See Question&Answers more detail:os...
672 views
I'm a little freaked out by the results I'm getting when I do modulo arithmetic in Objective-C. -1 % 3 ... % operator to get the correct result? See Question&Answers more detail:os...
586 views
I've read a few discussions regarding finding Y at X for a cubic Bezier curve, and have also read this ... takes such constraints into account? See Question&Answers more detail:os...
716 views
What is BODMAS and why is it useful in programming? See Question&Answers more detail:os...
890 views
Given a point in 3D space, what are the three angles (e.g. Euler angles) needed to transform a line to point to ... location such as (1,2,3). See Question&Answers more detail:os...
674 views
I have to find LCM of n numbers MODULO 10^9+7.My approach is find LCM of two numbers and then MOD them.Then ... for all elements.Is it wrong ? See Question&Answers more detail:os...
828 views
Using Python 3.5 both at repl.it and the console in Windows, I get wrong answers for cube roots. When the ... . Am I doing something wrong? See Question&Answers more detail:os...
566 views
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number ... function findPrimes(number_to_test , odds) See Question&Answers more detail:os...
827 views
I've got a database filled up with doubles like the following one: 1.60000000000000000000000000000000000e+01 Does anybody ... ::endl; } Thanks! See Question&Answers more detail:os...
576 views
I'm trying to write a java mobile application (J2ME) and I got stuck with a problem: in my project there ... thanks in advance for all helpers See Question&Answers more detail:os...
598 views
I have a set of points which comprise a (in theory) co-planar curve. My problem is that the plane is arbitrary ... point as well. Thanks a ton! See Question&Answers more detail:os...
647 views
Seems like it's not as simple as RGB1*A1 + RGB2*A2...how are values clipped? Weighted? Etc. And is ... from other environments is useful too. See Question&Answers more detail:os...
545 views
I have the following code which determines whether a number is prime: public static boolean isPrime(int n){ boolean ... the input in this case? See Question&Answers more detail:os...
566 views
I need to draw line from the centre of a circle. For this I first chose centre of the image as a circle ... is my image is after 120 degree. See Question&Answers more detail:os...
633 views
I know that array operators have the precedence. Then the binary arthimetic operators * , / , % . Then + ... this always confuses me in exams. See Question&Answers more detail:os...
671 views
What is best way or an algorithm for generating a random 3d point [x,y,z] inside the volume of the circular ... h of the cylinder are given? See Question&Answers more detail:os...
666 views
What is the equation of a helix parametrized by arc length (i.e. a function of arc length) between any ... same using matlab or mathematica ? See Question&Answers more detail:os...
594 views
I know that I can just say: radians = degrees * Math.PI/180 However I expect there to be a built in framework ... how to write my own method.) See Question&Answers more detail:os...
633 views
I have been trying to find a solution to adding relationships, such as X has unit A < 20 into an existing ... in a knowledge graph - RDF See Question&Answers more detail:os...
634 views
I am currently developing a differential operator for sympy that can be placed in matricial form. In this case the ... avoid args to be sorted? See Question&Answers more detail:os...
568 views
Where can I find the information about error ranges for trigonometric function instructions on x86 processors, like fsincos? See Question&Answers more detail:os...
706 views
I have 37 linear equations and 36 variables in the form of a matrix equation; A*X=B . The equations don't ... any comments will help. Thank you See Question&Answers more detail:os...
552 views
I try to implement some number type and I hit the issue that mynum * 1 works, but not 1 * mynum I ... in this case with generic parameters?. See Question&Answers more detail:os...
668 views
I have a decimal. The range of this decimal is between 0 and 23.999999. This decimal represents a time. ... Hours, Minutes, and Seconds values? See Question&Answers more detail:os...
814 views