///////////////////////////////////////////////

///coder by senol sahin and  netürk.com  create date 08 ocak  2008 sali


function motorhesabi()
{

var tek20 =document.mcarp.TEK20.value / 2

var tek20hesap = tek20 * tek20
var tek20hesapsonuc=tek20hesap * 3.1416
document.mcarp.son20.value=tek20hesapsonuc;
//alert(tek20hesapsonuc);

/////////////////////////////////////////

var tek19 =document.mcarp.TEK19.value / 2

var tek19hesap = tek19 * tek19
var tek19hesapsonuc=tek19hesap * 3.1416
document.mcarp.son19.value=tek19hesapsonuc;
//alert(tek19hesapsonuc);



var tek18 =document.mcarp.TEK18.value / 2

var tek18hesap = tek18 * tek18
var tek18hesapsonuc=tek18hesap * 3.1416
document.mcarp.son18.value=tek18hesapsonuc;
//alert(tek19hesapsonuc);


var tek17 =document.mcarp.TEK17.value / 2

var tek17hesap = tek17 * tek17
var tek17hesapsonuc=tek17hesap * 3.1416
document.mcarp.son17.value=tek17hesapsonuc;


var tek16 =document.mcarp.TEK16.value / 2

var tek16hesap = tek16 * tek16
var tek16hesapsonuc=tek16hesap * 3.1416
document.mcarp.son16.value=tek16hesapsonuc;


var tek15 =document.mcarp.TEK15.value / 2

var tek15hesap = tek15 * tek15
var tek15hesapsonuc=tek15hesap * 3.1416
document.mcarp.son15.value=tek15hesapsonuc;


var tek14 =document.mcarp.TEK14.value / 2

var tek14hesap = tek14 * tek14
var tek14hesapsonuc=tek14hesap * 3.1416
document.mcarp.son14.value=tek14hesapsonuc;


var tek13 =document.mcarp.TEK13.value / 2

var tek13hesap = tek13 * tek13
var tek13hesapsonuc=tek13hesap * 3.1416
document.mcarp.son13.value=tek13hesapsonuc;



////////////////////////////////////////////

///////////////////////////////////////////

var tek12 =document.mcarp.TEK12.value / 2

var tek12hesap = tek12 * tek12
var tek12hesapsonuc=tek12hesap * 3.1416
document.mcarp.son12.value=tek12hesapsonuc;


var tek11 =document.mcarp.TEK11.value / 2

var tek11hesap = tek11 * tek11
var tek11hesapsonuc=tek11hesap * 3.1416
document.mcarp.son11.value=tek11hesapsonuc;


var tek10 =document.mcarp.TEK10.value / 2

var tek10hesap = tek10 * tek10
var tek10hesapsonuc=tek10hesap * 3.1416
document.mcarp.son10.value=tek10hesapsonuc;


var tek9 =document.mcarp.TEK9.value / 2

var tek9hesap = tek9 * tek9
var tek9hesapsonuc=tek9hesap * 3.1416
document.mcarp.son9.value=tek9hesapsonuc;


var tek8 =document.mcarp.TEK8.value / 2

var tek8hesap = tek8 * tek8
var tek8hesapsonuc=tek8hesap * 3.1416
document.mcarp.son8.value=tek8hesapsonuc;


////////////////////////////////////////
////////////////
////////////////////////////////////////

var tek7 =document.mcarp.TEK7.value / 2

var tek7hesap = tek7 * tek7
var tek7hesapsonuc=tek7hesap * 3.1416
document.mcarp.son7.value=tek7hesapsonuc;

var tek6 =document.mcarp.TEK6.value / 2

var tek6hesap = tek6 * tek6
var tek6hesapsonuc=tek6hesap * 3.1416
document.mcarp.son6.value=tek6hesapsonuc;


var tek5 =document.mcarp.TEK5.value / 2

var tek5hesap = tek5 * tek5
var tek5hesapsonuc=tek5hesap * 3.1416
document.mcarp.son5.value=tek5hesapsonuc;

var tek4 =document.mcarp.TEK4.value / 2

var tek4hesap = tek4 * tek4
var tek4hesapsonuc=tek4hesap * 3.1416
document.mcarp.son4.value=tek4hesapsonuc;

var tek3 =document.mcarp.TEK3.value / 2

var tek3hesap = tek3 * tek3
var tek3hesapsonuc=tek3hesap * 3.1416
document.mcarp.son3.value=tek3hesapsonuc;

var tek2 =document.mcarp.TEK2.value / 2

var tek2hesap = tek2 * tek2
var tek2hesapsonuc=tek2hesap * 3.1416
document.mcarp.son2.value=tek2hesapsonuc;

var tek1 =document.mcarp.TEK1.value / 2

var tek1hesap = tek1 * tek1
var tek1hesapsonuc=tek1hesap * 3.1416
document.mcarp.son1.value=tek1hesapsonuc;
document.mcarp.toplam.value =  tek1hesapsonuc  + tek2hesapsonuc + tek3hesapsonuc + tek4hesapsonuc + tek5hesapsonuc + tek6hesapsonuc + tek7hesapsonuc + tek8hesapsonuc + tek9hesapsonuc + tek10hesapsonuc + tek11hesapsonuc + tek12hesapsonuc + tek13hesapsonuc + tek14hesapsonuc + tek15hesapsonuc + tek16hesapsonuc + tek17hesapsonuc + tek18hesapsonuc + tek19hesapsonuc + tek20hesapsonuc

var kesit1v = document.mcarp.toplam.value;
var kesit1vbol = kesit1v / 3.1416;
var kesit1vbolkok = Math.sqrt(kesit1vbol) * 2;
var kesit2vbolkok = kesit1vbol / 2
var kesit2vbolkoksonuc = Math.sqrt(kesit2vbolkok) * 2;

var kesit3vbolkok = kesit1vbol / 3
var kesit3vbolkoksonuc = Math.sqrt(kesit3vbolkok) * 2;

var kesit4vbolkok = kesit1vbol / 4
var kesit4vbolkoksonuc = Math.sqrt(kesit4vbolkok) * 2;

var kesit5vbolkok = kesit1vbol / 5
var kesit5vbolkoksonuc = Math.sqrt(kesit5vbolkok) * 2;

var kesit6vbolkok = kesit1vbol / 6
var kesit6vbolkoksonuc = Math.sqrt(kesit6vbolkok) * 2;

var kesit7vbolkok = kesit1vbol / 7
var kesit7vbolkoksonuc = Math.sqrt(kesit7vbolkok) * 2;

var kesit8vbolkok = kesit1vbol / 8
var kesit8vbolkoksonuc = Math.sqrt(kesit8vbolkok) * 2;

var kesit9vbolkok = kesit1vbol / 9
var kesit9vbolkoksonuc = Math.sqrt(kesit9vbolkok) * 2;

var kesit10vbolkok = kesit1vbol / 10
var kesit10vbolkoksonuc = Math.sqrt(kesit10vbolkok) * 2;

document.mcarp.kesit10.value = kesit10vbolkoksonuc;
document.mcarp.kesit9.value = kesit9vbolkoksonuc;
document.mcarp.kesit8.value = kesit8vbolkoksonuc;
document.mcarp.kesit7.value = kesit7vbolkoksonuc;
document.mcarp.kesit6.value = kesit6vbolkoksonuc;
document.mcarp.kesit5.value = kesit5vbolkoksonuc;
document.mcarp.kesit4.value = kesit4vbolkoksonuc;
document.mcarp.kesit3.value = kesit3vbolkoksonuc;
document.mcarp.kesit2.value = kesit2vbolkoksonuc;
document.mcarp.kesit1.value = kesit1vbolkok;



}
