disp('to use exponential form enter 0')
disp('to use power equation enter 1')
disp('to use saturation method enter 2')
deger=input('cozum metodu');
switch deger
case 0
n=input('vektörler kac elemanlı olsun');
a=input('ilk vektörü giriniz:');
b=input('ikinci vektörü giriniz:');
x=a;
y=log(b);
a1=(n*sum(x.*y)-sum(x)*sum(y))/(n*sum(x.^2)-sum(x)^2);
a0=mean(y)-a1*mean(x);
B1=a1
A1=exp(a0)
y=A1*(exp(B1)*a)%farklı bişeyler çıkıyor biyerlerde bi yanlışlık var?
case 1
n=input('vektörler kac elemanlı olsun');
a=input('ilk vektörü giriniz:');
b=input('ikinci vektörü giriniz:');
x=log10(a);
y=log10(b);
a1=(n*sum(x.*y)-sum(x)*sum(y))/(n*sum(x.^2)-sum(x)^2)
a0=mean(y)-a1*mean(x)
A2=10^(a0)
B2=a1
y=A2*(a^B2)%hata veriyor?
case 2
n=input('vektörler kac elemanlı olsun');
a=input('ilk vektörü giriniz:');
b=input('ikinci vektörü giriniz:');
x=1./a;
y=1./b;
a1=(n*sum(x.*y)-sum(x)*sum(y))/(n*sum(x.^2)-sum(x)^2)
a0=mean(y)-a1*mean(x)
A3=1/a0
B3=a1*A3
b=A3*a/(B3+a)
end
Basit Oyunlar / Uygulamalar
7 yıl önce
2 yorum:
kodun nasıl çalıştığını naptığını anlatacak halde değilim biara açıklarım.yanlışlıkları da var zaten:(
Internet these days is a great help in purchasing one of these.
Special tools and techniques are needed for Bonzai gardening and those people who enjoy this type of gardening really enjoy the challenge
of nursing these trees into the shape and style they want to create.
Stories open up an imaginary exciting and fantasy world to
them which allows children to feel happy.
Here is my web site no contact rule success
Yorum Gönder