I am new in the latex. I am trying to write an equation in the latex. I have searched a lot of question regarding equations and tried all possible solutions but I m not getting what I want. I also used different tools but still not getting my equation. Kindly help me.

enter image description here

  • 2
    Welcome to TeX.SX! Maybe you can get some inspirations in this tutorial or this post. – Ruixi Zhang Sep 20 '18 at 17:59
  • 1
    Use the cases environment. See this example. – Alan Sep 20 '18 at 18:09
  • 1
    Or dcases from mathtools. I guess that the main problem is that no one really wants to type up things from a screen shot. So you may get an answer more quickly if you post what you have tried in such a way that one could just copy and paste these lengthy texts. – user121799 Sep 20 '18 at 18:11
  • 1
    Your definitions are weird. I think the condition of speed on the first line is redundant or non required, because your 3rd line says that the value is 1 regardless of the speed condition. Check the cases environment, and you might need some alignment tips. How do you want to label it? A single number for the whole equation? A number plus a letter per branch? Finally, check how to put regular text within an equation. It avoids having the if condition typeset as the product of i*f. – phollox Sep 20 '18 at 18:14
  • 1
    @marmot yes I agree with you that I have to show my code but that code doesn't give a sense. I know how to add other expressions but the problem is am not getting how to start it. Next time I will be careful. – Fizzah Sep 20 '18 at 19:01

I agree with phollox that logically this does not make too much sense, nor do I now if SVP is a product of 3 variables or some expression. Nevertheless, the following my give you a start.

 1 & \text{if}~\left(\left(\frac{AC}{4G}+\frac{\text{Noise}}{\si{400\decibel}}\right)\right)
 1 & \text{if}~\left(\left(\frac{AC}{4G}+\frac{\text{Noise}}{\si{400\decibel}}
 \ge\text{Low speed threshold}\\
 1 & \text{if}~\left(\left(\frac{AC}{4G}+\frac{\text{Noise}}{\si{400\decibel}}
 \ge\text{Accident threshold}\\
 0 &\text{otherwise}

enter image description here

  • Thank you very much. It is a perfect answer that helps me a lot. – Fizzah Sep 21 '18 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.