Forum'da ara:
Ara


Yazar Mesaj
Mesaj17.07.2007, 10:15 (UTC)    
Mesaj konusu: 2. dreceden denklem çözümü by sahinkpcom

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>2. Dereceden Denklemlerin Köklerini Hesaplamak</title>
</head>
<!--
ksabitk the original
Bu kodlar ksabitk tarafından; ücretsiz olarak kullanmanız ve incelemeniz amacıyla yazılmıştır
Kodları geliştirebilir ve/veya değiştirebilirsiniz.
Sorularınız için
ksabitk( at )hotmail.com or http://www.saab.tr.cc
-->
<script type="text/javascript">
function denklem()
{
i1 = document.formone.ax2.value // ax2
i2 = document.formone.bx.value // bx
i3 = document.formone.c.value // c
i4 = eval(i2)*eval(i2)-4*eval(i1)*eval(i3) // diskriminant
i5 = Math.sqrt(i4) // karekökdiskriminant
i6 = eval(-i2)-eval(i5) // -b-delta
i7 = eval(-i2)+eval(i5) // -b+delta
i8 = 2*eval(i1) // 2a bölüm değeri
i9 = eval(i6)/eval(iCool // kök 1
i10= eval(i7)/eval(iCool // kök 2
document.formone.kok1.value = eval(i9)
document.formone.kok2.value = eval(i10)
}
</script>
<body bgColor="gold" text="navy">
<form name="formone">
<b>2. Dereceden denklemlerin köklerini hesaplayın</b><br>
Bilirsiniz&nbsp;&nbsp; ax2+bx+c=0 bir fonksiyondur ve a,b,c harfleri rakam x'ler ise bilinmeyendir ,<br>
Aşaağıdaki input alanlarına a , b , c değerlerini yazmalısınız.<br>
<b>Rakamları yazarken Dikkat etmeniz gerekenler ;</b><br>
1-) Diskriminant 0'a eşit yada büyük olmalıdır. Aksi taktirde matematiksel
olarak reel kök olmayacağı için sonuç vermez
<font color="#800000">&nbsp;(diskriminant = b*b-4*a*c )</font>
<br>2-) İnput alanları koyduğunuz değeri + olarak algılar önünde - olan bir değer var ise bunu belirtmelisiniz.
<font color="#800000">(2 yerine -2 gibi) </font><br>
3-) Fonksiyonda a , b , c değerlerinden herhangi biri yok ise yerine 0 değeri konulmalıdır.
<p><b>Örneğin ; x2-3x+2=0 için&nbsp; <font color="#800000">a = 1&nbsp; ,&nbsp;
b = -3&nbsp; ,&nbsp; c = 2&nbsp; </font>olarak girilir.</b>
</p>
<p><b>
a =<input type=text value="" name="ax2" size="5" onMouseOver="select()">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;b=
<input type=text value="" name="bx" size="5" size="5" onMouseOver="select()">
&nbsp;&nbsp;&nbsp;&nbsp;c=
<input type=text value="" name="c" size="5" onMouseOver="select()">
&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" value="Hesapla" onClick="denklem()">
&nbsp;&nbsp;&nbsp;&nbsp;
Ç={x1 =<input type=text value="" size="5" name="kok1" readonly=1 onMouseOver="select()">
&nbsp; ,&nbsp;
x2=<input type=text value="" size="5" name="kok2" readonly=1 onMouseOver="select()">
}&nbsp;&nbsp;&nbsp;
</b>x1 = Kök 1 , x2 = Kök 2
<b>
<br>
</b></p>
</form>
<p>Sorularınız için ;</p>
<p><a href="mailto:ksabitk( at )hotmail.com"><font color="#800000">ksabitk( at )hotmail.com</font></a><font color="#800000">
</font></p>
<p><a href="http://www.saab.tr.cc"><font color="#800000">http://www.saab.tr.cc</font></a><font color="#800000">
</font></p>
</body>
</html>
Mesaj17.07.2007, 10:29 (UTC)    
Mesaj konusu:

sağol

Mesaj02.09.2008, 14:40 (UTC)    
Mesaj konusu: saol

saol krdş eline sağlk
[quote][url=http://netgazi.tr.gg/][img]http://netgazi.tr.gg/sig.png[/img][/url][/quote]

[code][url=http://netgazi.tr.gg/][img]http://netgazi.tr.gg/sig.png[/img][/url][/code]
Mesaj02.09.2008, 14:41 (UTC)    
Mesaj konusu:

Kodları sabit başlıkta paylaşınız.
kod verirken code butonuna basınız
______________
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu