{"id":681,"date":"2013-07-21T11:46:36","date_gmt":"2013-07-21T11:46:36","guid":{"rendered":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/?p=681"},"modified":"2013-10-30T03:10:51","modified_gmt":"2013-10-30T03:10:51","slug":"perhitungan-momen-dan-lintang-menggunakan-fpc","status":"publish","type":"post","link":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/2013\/07\/21\/perhitungan-momen-dan-lintang-menggunakan-fpc\/","title":{"rendered":"Perhitungan Momen dan Lintang menggunakan Free Pascal (FPC)"},"content":{"rendered":"<p>Diketahui Reaksi perletakan sendi rol sebagai berikut,<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/dosen.unila.ac.id\/wp-content\/uploads\/sites\/21\/2013\/07\/Untitled-1_html_m466dd9fd.gif\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-682\" alt=\"Untitled 1_html_m466dd9fd\" src=\"https:\/\/dosen.unila.ac.id\/wp-content\/uploads\/sites\/21\/2013\/07\/Untitled-1_html_m466dd9fd.gif\" width=\"439\" height=\"130\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Diminta:<\/p>\n<p>1. Buat Program untuk menghitung bidang Momen dan Lintang dengan menggunakan program Pascal.<\/p>\n<p>2. Buat Diagram Alir (Flow Chart) program tersebut.<\/p>\n<p>Jawab:<\/p>\n<p>1. Pascal code adalah sebagai berikut,<\/p>\n<p><strong>uses crt; <\/strong><br \/>\n<strong>type<\/strong><br \/>\n<strong> hasil = array[1..151] of real ;<\/strong><br \/>\n<strong> var<\/strong><br \/>\n<strong> fileout : text ; { ini berisi output program }<\/strong><br \/>\n<strong> i,j : integer ;<\/strong><br \/>\n<strong> P1,P2,Va,x : real ;<\/strong><br \/>\n<strong> DMx,DDx : hasil ;<\/strong><br \/>\n<strong> begin<\/strong><br \/>\n<strong> Assign(fileout, &#8216;mr1.txt&#8217;); { membuka file baru }<\/strong><br \/>\n<strong> rewrite(fileout);<\/strong><br \/>\n<strong> P1 := 2 ;<\/strong><br \/>\n<strong> P2 := 3 ;<\/strong><br \/>\n<strong> Va := P1*(100\/150) + P2*(50\/150); <\/strong><br \/>\n<strong> writeln(&#8216; Va = &#8216;,Va);<\/strong><\/p>\n<p><strong> for i:= 1 to 151 do<\/strong><br \/>\n<strong> begin <\/strong><br \/>\n<strong> x := real(i-1);<\/strong><br \/>\n<strong> if x &lt;= 50 then<\/strong><br \/>\n<strong> begin <\/strong><br \/>\n<strong> DMx[i] := Va*x ;<\/strong><br \/>\n<strong> DDx[i] := Va ; <\/strong><br \/>\n<strong> end;<\/strong><\/p>\n<p><strong>if x &gt;= 50 then<\/strong><br \/>\n<strong> begin<\/strong><br \/>\n<strong> if x &lt;= 100 then<\/strong><br \/>\n<strong> begin<\/strong><br \/>\n<strong> DMx[i] := Va*x &#8211; P1*(x-50) ;<\/strong><br \/>\n<strong> DDx[i] := Va &#8211; P1 ;<\/strong><br \/>\n<strong> end;<\/strong><\/p>\n<p><strong>if x &gt;= 100 then<\/strong><br \/>\n<strong> begin<\/strong><br \/>\n<strong> DMx[i] := Va*x &#8211; P1*(x-50) &#8211; P2*(x-100) ;<\/strong><br \/>\n<strong> DDx[i] := Va &#8211; P1 &#8211; P2 ;<\/strong><br \/>\n<strong> end;<\/strong><\/p>\n<p><strong>end;<\/strong><br \/>\n<strong> end;<\/strong><\/p>\n<p><strong>for j:= 1 to 151 do<\/strong><br \/>\n<strong> begin<\/strong><br \/>\n<strong> writeln(fileout,&#8217; DMx = &#8216;,DMx[j]:10:5 ,&#8217; DDx =&#8217;,DDx[j]:10:5);<\/strong><br \/>\n<strong> writeln(&#8216; DMx = &#8216;,DMx[j]:10:5,&#8217; DDx =&#8217;,DDx[j]:10:5);<\/strong><br \/>\n<strong> end;<\/strong><br \/>\n<strong>close(fileout);<\/strong><br \/>\n<strong>end.<\/strong><\/p>\n<p>Hasil program di atas adalah seperti berikut,<\/p>\n<p><strong>DMx = 0.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 2.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 4.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 7.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 9.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 11.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 14.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 16.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 18.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 21.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 23.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 25.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 28.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 30.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 32.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 35.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 37.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 39.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 42.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 44.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 46.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 49.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 51.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 53.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 56.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 58.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 60.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 63.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 65.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 67.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 70.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 72.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 74.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 77.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 79.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 81.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 84.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 86.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 88.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 91.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 93.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 95.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 98.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 100.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 102.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 105.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 107.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 109.66667 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 112.00000 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 114.33333 DDx = 2.33333<\/strong><br \/>\n<strong> DMx = 116.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 117.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 117.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 117.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 118.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 118.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 118.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 119.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 119.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 119.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 120.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 120.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 120.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 121.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 121.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 121.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 122.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 122.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 122.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 123.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 123.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 123.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 124.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 124.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 124.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 125.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 125.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 125.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 126.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 126.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 126.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 127.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 127.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 127.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 128.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 128.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 128.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 129.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 129.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 129.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 130.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 130.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 130.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 131.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 131.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 131.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 132.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 132.33333 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 132.66667 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 133.00000 DDx = 0.33333<\/strong><br \/>\n<strong> DMx = 133.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 130.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 128.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 125.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 122.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 120.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 117.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 114.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 112.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 109.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 106.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 104.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 101.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 98.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 96.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 93.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 90.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 88.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 85.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 82.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 80.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 77.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 74.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 72.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 69.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 66.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 64.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 61.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 58.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 56.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 53.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 50.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 48.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 45.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 42.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 40.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 37.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 34.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 32.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 29.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 26.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 24.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 21.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 18.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 16.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 13.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 10.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 8.00000 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 5.33333 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 2.66667 DDx = -2.66667<\/strong><br \/>\n<strong> DMx = 0.00000 DDx = -2.66667<\/strong><\/p>\n<p>Code program Pascal di atas di compile dengan menggunakan Program Free Pascal (FPC) under Linux Debian.<\/p>\n<p>Code Program Pascal (FPC) di atas serta execute \u00a0program dapat dilihat pada <a href=\"https:\/\/dosen.unila.ac.id\/wp-content\/uploads\/sites\/21\/2013\/07\/contoh-mr.zip\">file ini.<\/a><\/p>\n<p>2. Diagram Alir (<em>Flow chart<\/em>) dari program di atas adalah sebagai berikut,<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/dosen.unila.ac.id\/wp-content\/uploads\/sites\/21\/2013\/07\/flowchart.gif\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-692\" alt=\"flowchart\" src=\"https:\/\/dosen.unila.ac.id\/wp-content\/uploads\/sites\/21\/2013\/07\/flowchart.gif\" width=\"387\" height=\"778\" \/><\/a><\/p>\n<p style=\"text-align: center\">Gambar Diagram Alir Program untuk menghitung bidang momen dan lintang.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Diketahui Reaksi perletakan sendi rol sebagai berikut, &nbsp; &nbsp; Diminta: 1. Buat Program untuk menghitung bidang Momen dan Lintang dengan menggunakan program Pascal. 2. Buat Diagram Alir (Flow Chart) program &hellip; <a class=\"readmore\" href=\"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/2013\/07\/21\/perhitungan-momen-dan-lintang-menggunakan-fpc\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,6],"tags":[],"class_list":["post-681","post","type-post","status-publish","format-standard","hentry","category-free-pascal","category-pemrograman-komputer"],"_links":{"self":[{"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/posts\/681"}],"collection":[{"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/comments?post=681"}],"version-history":[{"count":0,"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/posts\/681\/revisions"}],"wp:attachment":[{"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/media?parent=681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/categories?post=681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/ahmadzakaria\/wp-json\/wp\/v2\/tags?post=681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}