Type Here to Get Search Results !

Welcome To FreeSiteTools

Sigma (Sum) Calculator Tool Code

<html><head><style>.frms

{

margin:0 auto;

padding:10px;

width:80%;

border:#ddd 1px solid;

border-radius:.3em;

-moz-border-radius:.3em;

-webkit-border-radius:.3em;

-o-border-radius:.3em;

font-family:Tahoma, Geneva, sans-serif;

color:#333;

font-size:.9em;

line-height:1.2em;

}

.frms input[type="text"],[type="password"],[type="file"],textarea,select

{

width:99%;

background:#fff;

border:#ddd 1px solid;

border-radius:.35em;

-moz-border-radius:.35em;

-webkit-border-radius:.35em;

-o-border-radius:.35em;

padding:0 .5%;

margin-top:5px;

margin-bottom:15px;

height:35px;

}

frms input:hover,textarea:hover,select:hover

{

box-shadow:#dae1e5 0px 0px 5px;

-moz-box-shadow:#dae1e5 0px 0px 5px;

-webkit-box-shadow:#dae1e5 0px 0px 5px;

-o-box-shadow:#dae1e5 0px 0px 5px;

}

.frms input:focus,textarea:focus,select:focus

{

-webkit-box-shadow: inset 7px 4px 7px -7px rgba(0,0,0,0.42);

-moz-box-shadow: inset 7px 4px 7px -7px rgba(0,0,0,0.42);

box-shadow: inset 7px 4px 7px -7px rgba(0,0,0,0.42);

border:#9d9983 1px solid;

}

.frms input[type="submit"],input[type="reset"],input[type="button"],button,.yellow_button,.blue_button,.green_button

{

padding:7px 14px;

font-weight:bold;

color:#fff;

cursor:pointer;

border-radius:.3em;

-moz-border-radius:.2em;

-webkit-border-radius:.2em;

-o-border-radius:.2em;

margin:10px 0;

border:none;

}

.green_button

{

background:#75ab22 !important;

border-bottom:#629826 3px solid !important;

text-shadow:#396e12 1px 1px 0px !important;

}

input[type="button"],button,.blue_button

{

background:#468cd2;

border-bottom:#3277bc 3px solid;

text-shadow:#214d73 1px 1px 0px;

}

.namee

{font-weight:bold;color:green;

}</style></head>

<body><script type='text/javascript'>

function submit_text()

{var sval = document.getElementById("series").value;var tval = document.getElementById("num").value;if(tval==""){document.getElementById("nerr").innerHTML="<font color=red>Enter number of term</font>";}else{document.getElementById("nerr").innerHTML="";tval = parseInt(tval);if(sval == 1){

res = (tval * (tval+1)) / 2;}else if(sval==2){

res = (tval * (tval+1) * ((2*tval)+1)) / 6;}else if(sval==3){

tone = tval + 1;

res = ((tval * tval) * (tone * tone)) / 4;}else if(sval==4){

res = tval * tval;}else if(sval==5){

res = (tval * (tval+1) * (tval+2)) / 3;}else if(sval==6){

res = tval / (tval+1);}else if(sval==7){

res = (tval * (tval+1) * (tval+2) * (tval+3)) / 4;}else if(sval==8){

fir = tval * (tval+3);

sec = 4 * (tval+1) * (tval+2);

res = fir / sec;}document.getElementById("res").value=res;}

}

function checnum(as)

{var a = as.value;as.value = a.replace(/[^\d.]/g, "");

}

function ctck() {

var sds = document.getElementById("dum");

if(sds == null){

alert("You are using a free package.\n You are not allowed to remove the tag.\n"); }

var sdss = document.getElementById("dumdiv");

if(sdss == null){

alert("You are using a free package.\n You are not allowed to remove the tag.\n"); } }

function reset12()

{document.getElementById("num").value="";document.getElementById("res").value="";document.getElementById("nerr").innerHTML="";document.getElementById("series").value = "1";

}</script>

<h3 align='center' >Sum of Series in Javascript</h3><div class='frms'>

<form name='loginform' method="post" >

<br><div

id='err_msg1'></div><br>

<label>Choose Sequences (K) = <span>&Sigma;</span></label><select id="series"><option value="1">k</option><option value="2">k^2</option><option value="3">k^3</option><option value="4">2k-1</option><option value="5">k(k+1)</option><option value="6">1 / k(k+1)</option><option value="7">k(k+1)(k+2)</option><option value="8">1 / k(k+1)(k+2)</option></select><label>Number of terms (n) : </label><span id='nerr'></span> <input type='text'

id='num'

maxlength=20 onkeyup=checnum(this) /><input

type='button' id='submit_textd' value='Submit' onClick="submit_text()"

/>

<span align=center style="font-size: 10px; color:green;" id="dumdiv"> <a href="https://www.emexee.com" id="dum" style="text-decoration:none; color: green;"></a></span> <input

type='button' id='reset' value='Reset' onClick="reset12()"

/><br><br><label>Sum of Series (<span>&Sigma;</span>) : </label> <input type='text' id='res'

/>

</form>

</div>

</body>

</html>

<!-- Script by hscripts.com -->

 



How To Use These Code ?

Just copy these above following code and paste in your blogger or wordpress website post in HTML view.


S.NO All SEO And Other Tools Name Download Buttons Demo Buttons
1. Instagram Hashtag Finder Tool
2. Fancy Text Generator Tool
3. Logo & Favicon Maker Tool
4. Health Calculator Tool
5. Age Calculator Tool
6. Hex Color Picker Tool
7. Youtube Video Downloader Tool
8. Meta Tag Generator Tool
9. QR Code Maker Tool
10. Privacy & Policy Generator Tool
11. Terms & Conditions Generator Tool
12. About Us Page Generator Tool
13. Youtube Thumbnail Downloader Tool
14. HTML To XML Converter Tool
15. Gradient Color Code Picker Tool

Click Here To Get More Tools