bttg10 - c= ') delta=b*b-4*a*c; if delta==0 disp('cift...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% ikinci dereceden denklem koklerinin hesaplanmasi format compact; %satir araligi birakilmayacagini gosterir %ax^2+bx+c=0 disp('ax^2+bx+c=0') a=input('a katsayisini girin a= ') b=input('a katsayisini girin b= ') c=input('a katsayisini girin
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c= ') delta=b*b-4*a*c; if delta==0 disp('cift katli kok vardir') elseif delta>0 disp('reel iki kok vardir') elseif delta<0 disp('reel kok yoktur') end x1=(-b+sqrt(delta))/(2*a); disp('Birinci Kok'...
View Full Document

This note was uploaded on 04/05/2010 for the course CHEMENG 05078870 taught by Professor Mustafa during the Spring '10 term at Ege Üniversitesi.

Ask a homework question - tutors are online