Uploaded by User16226

approyek3

advertisement
Nama
: Hari Febrian Pamungkas
NIM
:18306141027
Kelas
:Fisika B
clc;
clear;
Toair= 29;
Tobim= 32 ;
Tokunmas= 32 ;
Tohem= 32 ;
dt = 1 ;
t =0 : dt : 10;
Tair =[Toair 30 34 38 42 46 49 52 54 56 57]-Toair;
Tbim =[Tobim 34 39 48 57.5 65 73 80 85 90 93 ]-Tobim;
Tkunmas =[Tokunmas 32.5 38 42 49 55 59 60 67.5 72 74]-Tokunmas;
Them =[Tohem 32 39 48 56 66 79 79 82 87 89]-Tohem;
Aair =0;
Abim =0;
Akunmas =0;
Ahem =0;
for n= 1 : 1 : length(t)-1
Aair=Aair+ ((Tair(n)+Tair(n+1))*(dt/2));
Ahem=Ahem+ ((Them(n)+Tair(n+1))*(dt/2));
Akunmas=Akunmas+ ((Tkunmas(n)+Tkunmas(n+1))*(dt/2));
Abim=Abim+ ((Tbim(n)+Tbim(n+1))*(dt/2));
endfor
plot(t,Tair,'k-',t,Tbim,'b-o',t,Tkunmas,'g-o',Them,'r-o','Linewidth',1.2);grid on;
title('Grafik perbandingan(\it c)')
xlabel('{\itt} (menit)')
ylabel('{\Delta}{\itT} (^{o}Celcius) ')
legend('Air','Bimoli','Kunci mas','Hemat','Location','northwest')
Cair = 1;
%C(air)/C(minyak) = A(minyak)/A(air);
Cbim = Aair/Abim;
Ckunmas = Aair/Akunmas;
Chem = Aair/Ahem;
disp(' Cair = ' );disp(Cair)
disp(' Cbim = ' );disp(Cbim)
disp(' Ckunmas = ' );disp(Ckunmas)
disp(' Chem = ' );disp(Chem)
clc
clear all
t=[1 2 3 4 5 6 7 8 9 10];
Tair=[30 34 38 42 46 49 52 54 56 57];
plot(t,Tair)
title('grafik perubahan T terhadap t')
xlabel('t (menit)');
ylabel('T (celcius)');
Cair =
1
Cbim =
0.49045
Ckunmas =
0.74038
Chem =
0.68750
>>
Download
Random flashcards
hardi

0 Cards oauth2_google_0810629b-edb6-401f-b28c-674c45d34d87

Rekening Agen Resmi De Nature Indonesia

9 Cards denaturerumahsehat

sport and healty

2 Cards Nova Aulia Rahman

Create flashcards