How do I convert if to a math equation [closed] - math

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this question
I know how to convert other logic gates
ceiling(a/2+b/2)OR
round(a/4+b/4)AND
abs(ceiling(a/2+b/2)-1)NOR
abs(round(a/4+b/4)-1)NAND
abs(abs(a+b-1)-1)XOR
abs(a+b-1)XNOR
I am using a graph to at least view the collatz conjecture but I need a if gate for it to work and that is not allowed in math unless your putting it in a piece of code.
But it is complicated and I don't know how to make it.
if(Number.isInteger(x)==true) {
x=x*3+1
} else {
x=x/2
}
Since July this has been a concerning thought in my head.
Does anyone have the answer to this?

If I understand you correctly, I would approach it this way:
ODD: ceiling(x/2) - floor(x/2)
F: x/2 + ODD(x)(5x/2 + 1)

Related

how can i solve the truth table of this logical circuit?

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
Improve this question
enter image description here
what is the final function of this circuit?
A logic gate is an idealized or physical device that performs a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output.
how can. i reach to maxterm of (0,2,5)?

Sommation to determine the complexity [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 days ago.
Improve this question
I have this sommation and I want to determine the complexity the algorithm that has this sommation. But I want solve the sommation. I am not that good at math, I will appreciate if someone can help him with this.
Thank before hand.
I want to understand how to solve a problem like the one I have asked. Helping me solve it will be appreciated so that I can determine the complexity.

Why is the equation y^2dy = 0 an exact equation? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 days ago.
Improve this question
I’m not sure why y^2.dy = 0 is an exact differential equation. It popped up in my lecture but I don’t understand why it is one even though it doesn’t contain an x variable.
I asked my friend but he doesn’t remember this section very well and I have searched online for a solution or a similar example but can’t find anything.

how to calculate pitch angle if I have two antennas? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 days ago.
Improve this question
Please provide detailed information about the formula, and some illustrations would be more intuitive and easier to understand.
I want to calculate the pitch angle from two antennas. I googled some, but I didn't get the answer.

How to write a differential equation in wolfram alpha [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
How to write a differential equation in wolframalpha to get its solution
differential equation
y'(t) = m*(1-y(t)/k)*y(t)
https://www.wolframalpha.com/input?i=y%27%28t%29+%3D+m*%281-y%28t%29%2Fk%29*y%28t%29
(I just looked at examples)

Resources