2))) a) x=0:0.2:2*pi; y1=sin(x); y2=cos(x); figure; plot(x,y1,'b',x,y2,'k') b) x=0:0.2:2*pi; y1=sin(x); y2=cos(x); figure; plot(x,y2,':+r','linewidth',1.5,x,y1,'--*b','linewidth',1.5) 3)))) x=-20:0.3:20; y=sin(x/4)+cos(3*x/2); plot(x,y); 4))) function sonuc=farkkup(s1,s2,s3) sonuc=(s1-s2-s3)^3 end a=input('sayi') a = 14 b=input('sayi') b=23 c=input('sayi') c = 45 fark_sonuc=farkkup(a,b,c) sonuc = -157464 |
Bildirim