I need help for calculate values by text and radio input field. Here is HTML code:

```html
<input type="text" id="num" name="num" />

<input type="radio" name="yesno" value="yes"> Yes
<input type="radio" name="yesno" value="no"> No

<input type="text" id="result" name="result" />
```

Now I want to calculate value of by some of conditions:

1. IF radio button value no then `input#result` will show same value as `input#num`
2. IF radio button value yes then result will show value based on conditional cal culation:

a. IF `input#num = 1-10` then `input#result = input#num * 4`

b. IF `input#num = 11-20` then `input#result = input#num * 3.5`

c. IF `input#num = 21-50` then `input#result = input#num * 3`

d. IF `input#num = 51-100` then `input#result = input#num * 2.5`

e. IF `input#num = 101-200` then `input#result = input#num * 2`

f. IF `input#num = 200+` then `input#result = input#num * 1.5`

Please help me. I don't know javascript very much so I need your help. Thanks in advance for help.