ANA SAYFA | SİTENİZ İÇİN | İÇERİK EKLE | EN YENİLER | EN POPÜLERLER | EN BEĞENİLENLER | REKLAM | İLETİŞİM
Arama:
Tüm kategorilerde Google JAVAScript Araçlar
// ÖZELLEŞTİR
E-posta:
Şifre:
Üye Ol
|
Şifremi Unuttum
>> Ramazan Bayramınız kutlu olsun (2 yorum)>> Kurban Bayramı (0 yorum)>> 10 Kasım (1 yorum)>> CUMHURİYET BAYRAMI (0 yorum)>> Ramazan Bayramı (0 yorum)
// EN YENİLER
// EN POPÜLER
// Anasayfa » JAVASCRIPT» Hesap makinaları
Oy:
Türkçe ASP Kaynağınız
<html> <head> <title>Quadratic Formula</title> <script> //solves quadratic formula// //look for the removeable tag, to find out where to edit.// function quadFormula() { var a=eval(form.a.value) var b=eval(form.b.value) var c=eval(form.c.value) x1=(-b+(Math.sqrt(b*b-4*a*c)))/2*a; x2=(-b-(Math.sqrt(b*b-4*a*c)))/2*a; if (b*b-4*a*c<0) { alert("No Real Solutions\n-These Solutions are Imaginary!!!"); $note="i"; x1=(-b+(Math.sqrt(-(b*b-4*a*c))))/2*a; x2=(-b-(Math.sqrt(-(b*b-4*a*c))))/2*a; } form.answer1.value=eval(x1); form.answer2.value=eval(x2); } function clear1() { form.a.value='''' } function clear2() { form.b.value='''' } function clear3() { form.c.value='''' } </script> </head> <body> <center> <h1>Quadratic Formula Solver</h1> <h3>-By: Elvin B. Gibson, Jr.</h3> <form name="form"> <p><input type="text" name="a" onClick="clear1()" value="a" size="2"> x^2 + <input type="text" name="b" onClick="clear2()" value="b" size="2"> x + <input type="text" value="c" name="c" onClick="clear3()"> = 0<br> <input type="button" onClick="quadFormula()" value="Solve for X" /><br /><br /> <img src="quadform.bmp"> <br /><br /> <b>b(+)=x1</b><br /> <b>b (-)=x2</b><br /><br /> X1= <input type="text" name="answer1"> X2= <input type="text" name="answer2"> </p> <h3>And there''s your solution!</h3> <button type="reset" name="cleardata">Reset</button> </form> </center> <p>-Quadratic Formula is a formula used to determine at what two points does quadratic function intercept the X axis, ____.______|____.___ for example this shows a model equation intercepting the X axis of a graph in two places, you can use the quadratic function to solve for things like this. The formula consists of three variables A,B,C. If this form is reseted you can see the three, in the blank spaces where you put your values.<!--removeable--> (Feel free to modify, and remove this text & title. Just keep my name in the script, and this paragraph if you so happen to keep it. ;-)<br /><br />Thanks,<br /> <!--/removeable--> -Elvin B. Gibson, Jr.</p> </body> </html>
Kodu Kopyala
Hata Bildir | Tavsiye Et
Bu içeriğe oy verin:
Yorumlar / Yeni Yorum Yaz Bu içeriğe yorum yazılmamış.
ANA SAYFA | İÇERİK EKLE | YENİ EKLENENLER | EN POPÜLERLER | EN BEĞENİLENLER | REKLAM | DESTEKLEYENLER | İLETİŞİM
JAVAScript İndir © 2004 - 2008Web Tasarımı: Emir Emiroğlu | Kodlama: Can "FiNaRFiN" HANHAN , Korkut TAHAOĞLU, Göktuğ İÇÖZ