Question: how to write a hypothesis?
Answer: State the problem that you are trying to solve. Make sure that the hypothesis clearly defines the topic and the focus of the experiment.
Try to write the hypothesis as an if-then statement. ... 
Define the variables.