Relative Content

Tag Archive for math

Customer Requirements Contains Equations that Cancel to Nothing

I have a project where the customer requirement specifies a report and contains mathematical equations for the contents of some of the columns on that report. One of the columns on this report is a running total which starts at a opening value, and which ‘should’ remain at that opening value all the way down the report because the other stuff balances out. I.e. if something had gone missing, the value would change and the customer would see that there is a problem.

Transform math formula into code (line-line intersection)

I’m having hard times transforming a math formula to code. I can solve it on the paper easily, but it’s hard for me to bring it into code form. Is it generally possible to bring a math formula directly into a program, or, if not, how can it be transferred?

Pairwise testing, not possible to say which combinations is faulty?

Let’s say I have 4 (A,B,C,D) parameters with 3 possible values, also 81 unique combinations. With e.g. orthogonal array, I will end up with 9 test cases, each combining 3 pairs. But that means that if one test case fails, I do not know which combination in the test case is faulty, right? Whether values of A,B or A,C or BC. Just wanted to be sure I understood it well.

What is the difference between a combinator and function chaining?

So from what I’ve read about combinators I can’t quite tell how they’re different from simply chaining function calls. I know I must be missing something but I’m not figuring out what I’m missing. I mean would g(f(x)) (where f and g are functions) effectively be a combinator if I gave it a different name?

Does learning to play an instrument improve programming ability? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]