Verify whether this equation diagram is correct

30 Views Asked by At

I need to create an equation diagram representing a function written in python and I need help to verify that what I have created really means what I think it does. I am trying to say that if the value of d is one or more then W is equal to the division, if d is less than one then W should be equal to 1.

Here is the equation: $$W=\begin{cases} \lceil\frac{d}{s}\rceil&d>0\\ 1&d<1 \end{cases}$$

1

There are 1 best solutions below

0
On BEST ANSWER

If $d$ is $\geq1$ then W is equal to $\lceil\frac{d}{s}\rceil$, if $d<1$ then $W=1$. The function is $$W=\begin{cases} \lceil\frac{d}{s}\rceil&d\geq1\\ 1&d<1 \end{cases}$$