I want to get the length and width values of a room within Revit but it appears that Revit does not give access to these values like it does with room perimeter
In the math module, I could only find math.cos(x), with cos/sin/tan/acos/asin/atan. This returns the answer in radians. How can I get the answer in degrees? He
Given two date ranges, what is the simplest or most efficient way to determine whether the two date ranges overlap? As an example, suppose we have ranges denot
I have a list of angles (in radians) in the range [-pi, pi]. The angles can be assumed to ordered as follows: every increasing index in the list will be counter
How to mathematically solve the recurrence relations of the following form : T(n)=(2^n)T(n/2) + n^n T(n)=4T(n/2) + n^(2)/logn Is there a generic method to solve
How to mathematically solve the recurrence relations of the following form : T(n)=(2^n)T(n/2) + n^n T(n)=4T(n/2) + n^(2)/logn Is there a generic method to solve
As I'm trying to get into animation using a mousemove event I encountered a problem on how to get the specific number with a limit in both left and right direct
I was working on a website that contains a lot of mathematical expressions. I use MathJax with React (using 'react-mathjax-preview') but I noticed that renderin
Let's say I already have a bezier curve approximated by many straight lines (the bezier array in the code), and I would like to draw it with a series of rectang
I am trying to print even, odd and prime numbers in one program b/w 1 to 1Lac. I have already printed even and odd numbers but don't how to pr
I have the code below for calculating the Haversine distance between a list of airports, however it is consistently returning the incorrect value. For example,
I have this which isn't working, for cycling like 1 2 3 4 5 6 7 8 9 1 2 3 4 ..., cycling between 1 and 9. const cycle = integers => { let i = 0 let x
I would like to make an optimisation by avoiding to use theIf else i used this element because when E = 0in the logic of my probelm B = [0 0 0 0 0]. By consequ
How do you do exponents in JavaScript? Like how would you do 12^2?
I'm tring to use an algorithm for finding and ranking continuing decreases in my data. The base condition: The breakpoint location (blue arrow) is unknown but b
I have many lines in my opencv, I want to rotate them but Opencv does not have shape rotation functionality. It has image rotation function. I made a rectangle
I have a point and a direction and I would like to know what that point would be if it was rotated by 45 degrees. For example, if I have Point A being (0, 0, 0)
Recently i saw a competitive coding question, the bruteforce approach doesn't meet the time complexity, Is there any other solution for this, Question: An expan
hmm... I imported:System.math... test as integer=sgn(100) I get the error: sgn is not declared. Other math functions work. So Why? Might Visual Studio not be
Consider the following code: 0.1 + 0.2 == 0.3 -> false 0.1 + 0.2 -> 0.30000000000000004 Why do these inaccuracies happen?