사용자:Ho949494/root: 두 판 사이의 차이

내용 삭제됨 내용 추가됨
Ho949494 (토론 | 기여)
새 문서: <includeonly><onlyinclude>{{#ifexpr:{{{1}}}|{{#if:{{{4|}}}|{{#ifexpr:{{{4}}}>=0|{{#expr:(-({{{2}}})+(({{{2}}})*({{{2}}})-4*({{{1}}})*({{{3}}}))^0.5)/(2*{{{1}}})}}|{{#expr:(-({{{2}}})-...
 
Ho949494 (토론 | 기여)
잔글편집 요약 없음
 
1번째 줄:
<includeonly><onlyinclude>{{#ifexpr:{{{1}}}|{{#if:{{{4|}}}|{{#ifexpr:{{{4}}}>=0|{{#expr:(-({{{2}}})+(({{{2}}})*({{{2}}})-4*({{{1}}})*({{{3}}}))^0.5)/(2*{{{1}}})}}|{{#expr:(-({{{2}}})-(({{{2}}})*({{{2}}})-4*({{{1}}})*({{{3}}}))^0.5)/(2*({{{1}}}))}}}}|{{#expr:(-({{{2}}})+(({{{2}}})*({{{2}}})-4*({{{1}}})*({{{3}}}))^0.5)/(2*({{{1}}}))}}}}|<!--{{{1}}}이 0이므로 1차방정식-->{{#expr:-(({{{3}}})/({{{2}}}))}}}}</onlyinclude></includeonly>
 
Usage:
 
<nowiki>{{사용자:Ho949494/root|a|b|c|d}}</nowiki>
 
ax<sup>2</sup>+bx+c=0
 
if(d<0) return lower value.
 
else return higher value.
 
{{사용자:Ho949494/root|3|6|-17|-1}}