Poradnik Projektanta poradnik mechanika, poradnik inżyniera, poradnik technika, poradnik spawalnika, publikacje, edukacja, nauczyciel, nauczycieli, publikacje edukacyjne, publikacje elektroniczne, techniczne, technikum, technologiczne, konstrukcyjne, poradnik frezera, poradnik narzędziowca, poradnik, mechanika, mechaników, mechaniczny, mechaniki, części maszyn, badania, pomiary, normatywy hutnicze, normatywy, hydraulika, budownictwo, smarowanie, klejenie, uszczelnianie, konstrukcje, maszyny, urządzenia, spawalnictwo, spawanie, materiałoznawstwo, materiały, obróbki, skrawanie, projektowanie, instalacje, tolerancje, pasowania, wytrzymałość, rysunek techniczny, metrologia, fizyka, matematyka, chemia, tablice, technologie, obróbka cieplna, spawanie, obróbka skrawaniem, obróbek, https://www.softdis.pl/index.php 2016-12-10T22:03:00Z Joomla! 1.5 - Open Source Content Management Zbiornik wagonowy 2006-12-31T12:19:16Z 2006-12-31T12:19:16Z https://www.softdis.pl/index.php?option=com_content&view=article&id=94:zbiornik-wagonowy&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3Cmeta http-equiv%3D%22Content-Type%22 content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%3Cmeta http-equiv%3D%22Content-Language%22 content%3D%22pl%22%3E%0D%0A%3Cmeta name%3D%22GENERATOR%22 content%3D%22Microsoft FrontPage 4.0%22%3E%0D%0A%3Cmeta name%3D%22ProgId%22 content%3D%22FrontPage.Editor.Document%22%3E%0D%0A%3CTITLE%3EZbiornik w kształcie wagonu%3C/TITLE%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%0D%0A%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość materiału w zbiorniku wagonu%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3CP%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.width.value%3D%22%22%3B%0D%0A form.length.value%3D%22%22%3B%0D%0A form.depth.value%3D%22%22%3B%0D%0A form.height.value%3D%22%22%3B%0D%0A form.bottom.value%3D%22%22%3B%0D%0A form.volume.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means there is not enough information%0D%0A// i %3D 8 means we need to calculate Height D%0D%0A// i %3D 9 means we need to calculate volume%0D%0A%0D%0A// i %3D 18 means we need to calculate E%0D%0A// i %3D 19 means we need to calculate C%0D%0A// i %3D 20 means we need to calculate A%0D%0A// i %3D 21 means we need to calculate B%0D%0A%0D%0Aif %28form.volume.value%21%3D%22%22%26%26form.width.value%21%3D%22%22%26%26form.height.value%21%3D%22%22%26%26%0D%0A form.length.value%21%3D%22%22%26%26 form.bottom.value%21%3D%22%22 %29%7B%0D%0A i %3D 18%3B //calculate depth E%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%26%26%0D%0A form.width.value%21%3D%22%22%26%26form.length.value%21%3D%22%22 %26%26 form.height.value %21%3D%22%22%29%7B%0D%0A i %3D 19%3B //calculate bottom C%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.bottom.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%26%26%0D%0A form.height.value%21%3D%22%22 %26%26 form.length.value %21%3D%22%22%29%7B%0D%0A i %3D 20%3B //calculate width A%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.bottom.value%21%3D%22%22%26%26form.width.value%21%3D%22%22%26%26%0D%0A form.height.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%29%7B%0D%0A i %3D 21%3B //calculate length B%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%26%26form.length.value%21%3D%22%22%26%26%0D%0A form.width.value%21%3D%22%22 %26%26 form.bottom.value%21%3D%22%22%29%7B%0D%0A i %3D 8%3B //calculate height D%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.depth.value%21%3D%22%22%26%26form.width.value%21%3D%22%22%26%26form.length.value%21%3D%22%22%26%26%0D%0A form.bottom.value%21%3D%22%22%26%26form.height.value %21%3D %22%22%29%7B%0D%0A i %3D 9%3B //calculate volume%0D%0A return true%3B%0D%0A %7D%0D%0A else%7B%0D%0A i %3D 0%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0Avar a%2Cb%2Cc%2Cd%2Ce%2Cf%2Cv%2Cdif%3B%0D%0Aa %3D Math.abs%28eval%28form.width.value%29%29%3B%0D%0Ab %3D Math.abs%28eval%28form.length.value%29%29%3B%0D%0Ac %3D Math.abs%28eval%28form.bottom.value%29%29%3B%0D%0Ad %3D Math.abs%28eval%28form.height.value%29%29%3B%0D%0Ae %3D Math.abs%28eval%28form.depth.value%29%29%3B%0D%0Av %3D Math.abs%28eval%28form.volume.value%29%29%3B%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D 0%29 %7B %0D%0A alert%28%22%5Cn Niekompletne dane%21 %5Cn%22%29%3B%0D%0A ClearForm%28form%29%3B%0D%0A %7D %0D%0A %0D%0A else if %28i %3D%3D 8%29%7B //calculate D%0D%0A d %3D 6*%28v-a*b*e%29%3B%0D%0A d %3D d/%283*c*a+2*a*%28b-c%29%29%3B%0D%0A form.height.value %3D d%3B %0D%0A %7D%0D%0A %0D%0A else if %28i %3D%3D 9%29%7B //calculate volume%0D%0A v %3D c * d * a/2 + %28b-c%29*a*d/3 + a*b*e%3B%0D%0A form.volume.value %3D v%3B %0D%0A %7D%0D%0A else if %28i %3D%3D 18%29%7B//calculate E%0D%0A e %3D v-a*c*d/2-a*b*d/3+a*d*c/3%3B%0D%0A e %3D e/%28a*b%29%3B%0D%0A form.depth.value %3D e%3B %0D%0A %7D%0D%0A else if %28i %3D%3D 19%29%7B //caculate C%0D%0A c %3Dv-a*b*e-a*b*d/3%3B%0D%0A c %3D 6*c/%28a*d%29%3B%0D%0A form.bottom.value %3D c%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 20%29%7B //calculate A%0D%0A a %3D 3*c*d + 2*d*%28b-c%29+6*b*e%3B%0D%0A a %3D 6*v/a%3B%0D%0A form.width.value %3Da%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 21%29%7B //calculate B%0D%0A b %3D v - a*c*d/2 + a*d*c/3%3B%0D%0A b %3D b/%28a*d/3 + a*e%29%3B%0D%0A form.length.value %3D b%3B%0D%0A %7D%0D%0A %7D%0D%0A%7D%0D%0A%0D%0A %0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%3C/SCRIPT%3E%0D%0A%3C/P%3E%0D%0A%3CCENTER%3E%0D%0A%3CP%3E%3CIMG %0D%0Asrc%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/gravity.jpg%22 %0D%0Aalign%3Dcenter%3E%3C/P%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22 cellspacing%3D%221%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3ESzerokość %28A%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość %28B%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość ssypu %28C%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dwidth%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dlength%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dbottom%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość ssypu %28D%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość zbiornika %28E%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3Ctr%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dheight%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Ddepth%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dvolume%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E %3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DCzyść%3E %0D%0A %3C/TD%3E%3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E %0D%0A%3C/div%3E%0D%0A%3C/FORM%3E%3C/CENTER%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3Cmeta http-equiv%3D%22Content-Type%22 content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%3Cmeta http-equiv%3D%22Content-Language%22 content%3D%22pl%22%3E%0D%0A%3Cmeta name%3D%22GENERATOR%22 content%3D%22Microsoft FrontPage 4.0%22%3E%0D%0A%3Cmeta name%3D%22ProgId%22 content%3D%22FrontPage.Editor.Document%22%3E%0D%0A%3CTITLE%3EZbiornik w kształcie wagonu%3C/TITLE%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%0D%0A%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość materiału w zbiorniku wagonu%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3CP%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.width.value%3D%22%22%3B%0D%0A form.length.value%3D%22%22%3B%0D%0A form.depth.value%3D%22%22%3B%0D%0A form.height.value%3D%22%22%3B%0D%0A form.bottom.value%3D%22%22%3B%0D%0A form.volume.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means there is not enough information%0D%0A// i %3D 8 means we need to calculate Height D%0D%0A// i %3D 9 means we need to calculate volume%0D%0A%0D%0A// i %3D 18 means we need to calculate E%0D%0A// i %3D 19 means we need to calculate C%0D%0A// i %3D 20 means we need to calculate A%0D%0A// i %3D 21 means we need to calculate B%0D%0A%0D%0Aif %28form.volume.value%21%3D%22%22%26%26form.width.value%21%3D%22%22%26%26form.height.value%21%3D%22%22%26%26%0D%0A form.length.value%21%3D%22%22%26%26 form.bottom.value%21%3D%22%22 %29%7B%0D%0A i %3D 18%3B //calculate depth E%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%26%26%0D%0A form.width.value%21%3D%22%22%26%26form.length.value%21%3D%22%22 %26%26 form.height.value %21%3D%22%22%29%7B%0D%0A i %3D 19%3B //calculate bottom C%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.bottom.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%26%26%0D%0A form.height.value%21%3D%22%22 %26%26 form.length.value %21%3D%22%22%29%7B%0D%0A i %3D 20%3B //calculate width A%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.bottom.value%21%3D%22%22%26%26form.width.value%21%3D%22%22%26%26%0D%0A form.height.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%29%7B%0D%0A i %3D 21%3B //calculate length B%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.volume.value%21%3D%22%22%26%26form.depth.value%21%3D%22%22%26%26form.length.value%21%3D%22%22%26%26%0D%0A form.width.value%21%3D%22%22 %26%26 form.bottom.value%21%3D%22%22%29%7B%0D%0A i %3D 8%3B //calculate height D%0D%0A return true%3B%0D%0A %7D%0D%0A %0D%0A else if %28form.depth.value%21%3D%22%22%26%26form.width.value%21%3D%22%22%26%26form.length.value%21%3D%22%22%26%26%0D%0A form.bottom.value%21%3D%22%22%26%26form.height.value %21%3D %22%22%29%7B%0D%0A i %3D 9%3B //calculate volume%0D%0A return true%3B%0D%0A %7D%0D%0A else%7B%0D%0A i %3D 0%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0Avar a%2Cb%2Cc%2Cd%2Ce%2Cf%2Cv%2Cdif%3B%0D%0Aa %3D Math.abs%28eval%28form.width.value%29%29%3B%0D%0Ab %3D Math.abs%28eval%28form.length.value%29%29%3B%0D%0Ac %3D Math.abs%28eval%28form.bottom.value%29%29%3B%0D%0Ad %3D Math.abs%28eval%28form.height.value%29%29%3B%0D%0Ae %3D Math.abs%28eval%28form.depth.value%29%29%3B%0D%0Av %3D Math.abs%28eval%28form.volume.value%29%29%3B%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D 0%29 %7B %0D%0A alert%28%22%5Cn Niekompletne dane%21 %5Cn%22%29%3B%0D%0A ClearForm%28form%29%3B%0D%0A %7D %0D%0A %0D%0A else if %28i %3D%3D 8%29%7B //calculate D%0D%0A d %3D 6*%28v-a*b*e%29%3B%0D%0A d %3D d/%283*c*a+2*a*%28b-c%29%29%3B%0D%0A form.height.value %3D d%3B %0D%0A %7D%0D%0A %0D%0A else if %28i %3D%3D 9%29%7B //calculate volume%0D%0A v %3D c * d * a/2 + %28b-c%29*a*d/3 + a*b*e%3B%0D%0A form.volume.value %3D v%3B %0D%0A %7D%0D%0A else if %28i %3D%3D 18%29%7B//calculate E%0D%0A e %3D v-a*c*d/2-a*b*d/3+a*d*c/3%3B%0D%0A e %3D e/%28a*b%29%3B%0D%0A form.depth.value %3D e%3B %0D%0A %7D%0D%0A else if %28i %3D%3D 19%29%7B //caculate C%0D%0A c %3Dv-a*b*e-a*b*d/3%3B%0D%0A c %3D 6*c/%28a*d%29%3B%0D%0A form.bottom.value %3D c%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 20%29%7B //calculate A%0D%0A a %3D 3*c*d + 2*d*%28b-c%29+6*b*e%3B%0D%0A a %3D 6*v/a%3B%0D%0A form.width.value %3Da%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 21%29%7B //calculate B%0D%0A b %3D v - a*c*d/2 + a*d*c/3%3B%0D%0A b %3D b/%28a*d/3 + a*e%29%3B%0D%0A form.length.value %3D b%3B%0D%0A %7D%0D%0A %7D%0D%0A%7D%0D%0A%0D%0A %0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%3C/SCRIPT%3E%0D%0A%3C/P%3E%0D%0A%3CCENTER%3E%0D%0A%3CP%3E%3CIMG %0D%0Asrc%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/gravity.jpg%22 %0D%0Aalign%3Dcenter%3E%3C/P%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22 cellspacing%3D%221%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3ESzerokość %28A%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość %28B%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość ssypu %28C%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dwidth%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dlength%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dbottom%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość ssypu %28D%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość zbiornika %28E%29%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3Ctr%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dheight%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Ddepth%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT name%3Dvolume%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E %3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DCzyść%3E %0D%0A %3C/TD%3E%3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E %0D%0A%3C/div%3E%0D%0A%3C/FORM%3E%3C/CENTER%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiornik walcowy poziomy z dnami płaskimi 2006-12-31T12:18:18Z 2006-12-31T12:18:18Z https://www.softdis.pl/index.php?option=com_content&view=article&id=93:zbiornik-walcowy-poziomy-z-dnami-psaskimi&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EZbiornik walcowy%3C/TITLE%3E%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%0D%0A%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Zbiornik walcowy%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3CP%3E%3CB%3E%3CCENTER%3E%3CFONT size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/cyltank2.jpg%22%3E%3C/FONT%3E%3C/CENTER%3E%0D%0A%3CP%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3EUWAGA %21 Wartości ujemne wskazują na blednie wprowadzone dane%3Cbr%3E%0D%0A%3C/font%3E%0D%0A%3C/B%3E%0D%0A%3CFORM name%3Dboxes%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A %3Ccenter%3E%0D%0A%3Ctable border%3D%221%22 width%3D%2270%25%22%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPoziom cieczy %3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2275%25%22 align%3D%22center%22 colspan%3D%223%22 bgcolor%3D%22%23C0C0C0%22%3E%3CFONT face%3D%22arial%22 size%3D%222%22%3E%26nbsp%3B%3C/FONT%3E%3CB%3E%0D%0A%3CFONT size%3D2 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber name%3Ds1a%3E%3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A%3C/B%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22 color%3D%22%23FF0000%22%3E%3Cb%3EŚrednica%0D%0A zbiornika%3C/b%3E %3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2275%25%22 align%3D%22center%22 colspan%3D%223%22 bgcolor%3D%22%23C0C0C0%22%3E%3CFONT face%3D%22arial%22 size%3D%222%22%3E%26nbsp%3B%3C/FONT%3E%3CB%3E%0D%0A%3CFONT size%3D2 face%3D%22Arial%22%3E %3CINPUT %0D%0Atype%3Dnumber name%3Ds2a%3E%3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A%3C/B%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22 color%3D%22%23FF0000%22%3E%3Cb%3EDługość%0D%0A zbiornika%3C/b%3E %3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2275%25%22 align%3D%22center%22 colspan%3D%223%22 bgcolor%3D%22%23C0C0C0%22%3E%3CFONT face%3D%22arial%22 size%3D%222%22%3E%26nbsp%3B%3C/FONT%3E%3CB%3E%0D%0A%3CCENTER%3E%3CFONT size%3D2 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber name%3Ds3a%3E%3C/FONT%3E%3C/CENTER%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2250%25%22 colspan%3D%222%22 align%3D%22center%22%3E%0D%0A %3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22sw%3D1%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Stopy%22%3E %0D%0A%3C/FONT%3E%0D%0A%3C/B%3E%0D%0A %3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2250%25%22 align%3D%22center%22 colspan%3D%222%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT onclick%3D%22sw%3D2%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Metry%22%3E%3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EJednostka%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D21 name%3Ds0a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds0b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%25 objętości%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość płynu%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds4a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT %0D%0Atype%3Dnumber size%3D21 name%3Ds4b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 name%3Ds4c%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPusta przestrzeń%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber %0D%0Asize%3D21 name%3Ds5a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds5b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 %0D%0Aname%3Ds5c%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość zbiornika%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D21 name%3Ds6a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds6b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E100%25%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/table%3E%0D%0A %3C/center%3E%0D%0A%3C/div%3E%0D%0A%3C/B%3E%0D%0A%3C/FORM%3E %3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EZbiornik walcowy%3C/TITLE%3E%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%0D%0A%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Zbiornik walcowy%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3CP%3E%3CB%3E%3CCENTER%3E%3CFONT size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/cyltank2.jpg%22%3E%3C/FONT%3E%3C/CENTER%3E%0D%0A%3CP%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3EUWAGA %21 Wartości ujemne wskazują na blednie wprowadzone dane%3Cbr%3E%0D%0A%3C/font%3E%0D%0A%3C/B%3E%0D%0A%3CFORM name%3Dboxes%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A %3Ccenter%3E%0D%0A%3Ctable border%3D%221%22 width%3D%2270%25%22%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPoziom cieczy %3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2275%25%22 align%3D%22center%22 colspan%3D%223%22 bgcolor%3D%22%23C0C0C0%22%3E%3CFONT face%3D%22arial%22 size%3D%222%22%3E%26nbsp%3B%3C/FONT%3E%3CB%3E%0D%0A%3CFONT size%3D2 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber name%3Ds1a%3E%3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A%3C/B%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22 color%3D%22%23FF0000%22%3E%3Cb%3EŚrednica%0D%0A zbiornika%3C/b%3E %3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2275%25%22 align%3D%22center%22 colspan%3D%223%22 bgcolor%3D%22%23C0C0C0%22%3E%3CFONT face%3D%22arial%22 size%3D%222%22%3E%26nbsp%3B%3C/FONT%3E%3CB%3E%0D%0A%3CFONT size%3D2 face%3D%22Arial%22%3E %3CINPUT %0D%0Atype%3Dnumber name%3Ds2a%3E%3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A%3C/B%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22 color%3D%22%23FF0000%22%3E%3Cb%3EDługość%0D%0A zbiornika%3C/b%3E %3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2275%25%22 align%3D%22center%22 colspan%3D%223%22 bgcolor%3D%22%23C0C0C0%22%3E%3CFONT face%3D%22arial%22 size%3D%222%22%3E%26nbsp%3B%3C/FONT%3E%3CB%3E%0D%0A%3CCENTER%3E%3CFONT size%3D2 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber name%3Ds3a%3E%3C/FONT%3E%3C/CENTER%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2250%25%22 colspan%3D%222%22 align%3D%22center%22%3E%0D%0A %3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22sw%3D1%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Stopy%22%3E %0D%0A%3C/FONT%3E%0D%0A%3C/B%3E%0D%0A %3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2250%25%22 align%3D%22center%22 colspan%3D%222%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT onclick%3D%22sw%3D2%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Metry%22%3E%3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EJednostka%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D21 name%3Ds0a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds0b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%25 objętości%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość płynu%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds4a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT %0D%0Atype%3Dnumber size%3D21 name%3Ds4b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 name%3Ds4c%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPusta przestrzeń%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber %0D%0Asize%3D21 name%3Ds5a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds5b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 %0D%0Aname%3Ds5c%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość zbiornika%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D21 name%3Ds6a%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3CB%3E%0D%0A%3CFONT size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D21 name%3Ds6b%3E %3C/FONT%3E%3C/B%3E%3C/td%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E100%25%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A%3C/table%3E%0D%0A %3C/center%3E%0D%0A%3C/div%3E%0D%0A%3C/B%3E%0D%0A%3C/FORM%3E %3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiornik walcowy poziomy z dnem płasim i kulistym 2006-12-31T12:17:33Z 2006-12-31T12:17:33Z https://www.softdis.pl/index.php?option=com_content&view=article&id=92:zbiornik-walcowy-poziomy-z-dnem-psasim-i-kulistym&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku walcowym z dnem płaskim ikulistym%3C/TITLE%3E%0D%0A%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku walcowym z dnem płaskim i kulistym%3C/font%3E%3C/b%3E%0D%0A%3CP%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3EMożliwe parametry do obliczania%3B V%3C/font%3E%0D%0A%3CP%3E%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%3C%21-- HIDE FROM OTHER BROWSERS%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.radius.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction volumeless%28radius%2C height%2C length%29 %7B%0D%0A distance %3Deval%28 radius - height%29%3B%0D%0A stuff %3D eval %28%282*radius*height%29 - %28height*height%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A vol %3D eval%28area * length%29%3B%0D%0A inner %3D eval%28%283*radius%29 - height%29%3B%0D%0A volsphere %3D eval%28Math.PI/3*height*height*inner%29%3B%0D%0A volless %3D eval%28volsphere/2 + vol%29%3B%0D%0A return volless%3B%0D%0A%7D%0D%0Afunction volumeequal%28radius%2C height%2C length%29 %7B%0D%0A vol %3D eval %28%28Math.PI*radius*radius*length%29 / 2%29%3B%0D%0A volsphere %3D eval%282*Math.PI*radius*radius*radius/3%29%3B%0D%0A volequal %3D eval%28vol + volsphere/2%29%3B%0D%0A return volequal%3B%0D%0A%7D%0D%0A%0D%0Afunction volumemore%28radius%2C height%2C length%29 %7B%0D%0A p %3D Math.PI%3B%0D%0A newheight %3D eval %28%282*radius%29 - height%29%3B%0D%0A distance %3Deval%28 radius - newheight%29%3B%0D%0A stuff %3D eval %28%282*radius*newheight%29 - %28newheight*newheight%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A wholearea %3D eval %28p*radius*radius%29%3B%0D%0A newarea %3D eval%28wholearea - area%29%3B%0D%0A vol %3D eval%28newarea * length%29%3B%0D%0A wholesphere %3D eval%284/3*p*radius*radius*radius%29%3B%0D%0A inner %3D eval%28%283*radius%29 - newheight%29%3B%0D%0A segment %3D eval%28p/3*newheight*newheight*inner%29%3B%0D%0A volsphere %3D eval%28wholesphere - segment%29%3B%0D%0A volmore %3D eval%28volsphere/2 + vol%29%3B%0D%0A return volmore%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume when height is less than radius%0D%0A// i %3D 1 means we want to calculate volume when height is equal to radius%0D%0A// i %3D 2 means we want to calculate volume when height is more than radius%0D%0A// i %3D 3 means cannot calculate this variable%0D%0A// i %3D 4 means not enough information%0D%0A%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Cform.radius.value%29%29%7B%0D%0A i %3D 0%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3D%3Dform.radius.value%29%29%7B%0D%0A i %3D 1%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Eform.radius.value%29%29%7B%0D%0A i %3D 2%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A else if %28form.radius.value%3D%3D%22%22%29 %7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A %0D%0A else if %28form.height.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A else if %28form.length.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0Areturn true%3B%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D4%29 %7B%0D%0A alert%28%22%5Cn Nie wprowadzono wszystkich danych%21 %5Cn Proszę wprowadzić dane%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D3%29%7B%0D%0A alert%28%22%5Cn Kalkulator oblicza tylko objętość%21 %5Cn%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29 %7B%0D%0A volmore%3DMath.abs%28volumemore%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolmore%3B%0D%0A form.answer.value%3Dvolumemore%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29 %7B%0D%0A volequal%3DMath.abs%28volumeequal%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolequal%3B%0D%0A form.answer.value%3Dvolequal%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B%0D%0A volless%3DMath.abs%28volumeless%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolless%3B%0D%0A form.answer.value%3Dvolless%3B%0D%0A %7D %0D%0A%0D%0A %7D%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%0D%0A%0D%0A%3C/SCRIPT%3E%3CCENTER%3E%3Cimg border%3D%220%22 src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/walec_8.gif%22%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EPromień r%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWysokość cieczy h%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EDługość części walcowej L%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EObjętość cieczy V%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3CB%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.radius.value%3D%27%27%22 name%3Dradius size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength size%3D%2218%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%3C/TR%3E%0D%0A %3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3CTD colspan%3D%223%22 align%3D%22center%22%3E%0D%0A %3Cp align%3D%22right%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWartość szukanego parametru%3C/font%3E%3C/p%3E%0D%0A %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CB%3E%0D%0A %3CTR%3E%0D%0A %3CTD colspan%3D%222%22 align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E%3C/font%3E%3C/B%3E %3C/TD%3E%0D%0A %3CTD colspan%3D%222%22 align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E%3C/center%3E%0D%0A %3C/div%3E%0D%0A%3C/FORM%3E%3C/B%3E%0D%0A%0D%0A %3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku walcowym z dnem płaskim ikulistym%3C/TITLE%3E%0D%0A%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku walcowym z dnem płaskim i kulistym%3C/font%3E%3C/b%3E%0D%0A%3CP%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3EMożliwe parametry do obliczania%3B V%3C/font%3E%0D%0A%3CP%3E%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%3C%21-- HIDE FROM OTHER BROWSERS%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.radius.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction volumeless%28radius%2C height%2C length%29 %7B%0D%0A distance %3Deval%28 radius - height%29%3B%0D%0A stuff %3D eval %28%282*radius*height%29 - %28height*height%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A vol %3D eval%28area * length%29%3B%0D%0A inner %3D eval%28%283*radius%29 - height%29%3B%0D%0A volsphere %3D eval%28Math.PI/3*height*height*inner%29%3B%0D%0A volless %3D eval%28volsphere/2 + vol%29%3B%0D%0A return volless%3B%0D%0A%7D%0D%0Afunction volumeequal%28radius%2C height%2C length%29 %7B%0D%0A vol %3D eval %28%28Math.PI*radius*radius*length%29 / 2%29%3B%0D%0A volsphere %3D eval%282*Math.PI*radius*radius*radius/3%29%3B%0D%0A volequal %3D eval%28vol + volsphere/2%29%3B%0D%0A return volequal%3B%0D%0A%7D%0D%0A%0D%0Afunction volumemore%28radius%2C height%2C length%29 %7B%0D%0A p %3D Math.PI%3B%0D%0A newheight %3D eval %28%282*radius%29 - height%29%3B%0D%0A distance %3Deval%28 radius - newheight%29%3B%0D%0A stuff %3D eval %28%282*radius*newheight%29 - %28newheight*newheight%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A wholearea %3D eval %28p*radius*radius%29%3B%0D%0A newarea %3D eval%28wholearea - area%29%3B%0D%0A vol %3D eval%28newarea * length%29%3B%0D%0A wholesphere %3D eval%284/3*p*radius*radius*radius%29%3B%0D%0A inner %3D eval%28%283*radius%29 - newheight%29%3B%0D%0A segment %3D eval%28p/3*newheight*newheight*inner%29%3B%0D%0A volsphere %3D eval%28wholesphere - segment%29%3B%0D%0A volmore %3D eval%28volsphere/2 + vol%29%3B%0D%0A return volmore%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume when height is less than radius%0D%0A// i %3D 1 means we want to calculate volume when height is equal to radius%0D%0A// i %3D 2 means we want to calculate volume when height is more than radius%0D%0A// i %3D 3 means cannot calculate this variable%0D%0A// i %3D 4 means not enough information%0D%0A%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Cform.radius.value%29%29%7B%0D%0A i %3D 0%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3D%3Dform.radius.value%29%29%7B%0D%0A i %3D 1%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Eform.radius.value%29%29%7B%0D%0A i %3D 2%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A else if %28form.radius.value%3D%3D%22%22%29 %7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A %0D%0A else if %28form.height.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A else if %28form.length.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0Areturn true%3B%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D4%29 %7B%0D%0A alert%28%22%5Cn Nie wprowadzono wszystkich danych%21 %5Cn Proszę wprowadzić dane%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D3%29%7B%0D%0A alert%28%22%5Cn Kalkulator oblicza tylko objętość%21 %5Cn%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29 %7B%0D%0A volmore%3DMath.abs%28volumemore%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolmore%3B%0D%0A form.answer.value%3Dvolumemore%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29 %7B%0D%0A volequal%3DMath.abs%28volumeequal%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolequal%3B%0D%0A form.answer.value%3Dvolequal%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B%0D%0A volless%3DMath.abs%28volumeless%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolless%3B%0D%0A form.answer.value%3Dvolless%3B%0D%0A %7D %0D%0A%0D%0A %7D%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%0D%0A%0D%0A%3C/SCRIPT%3E%3CCENTER%3E%3Cimg border%3D%220%22 src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/walec_8.gif%22%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EPromień r%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWysokość cieczy h%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EDługość części walcowej L%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EObjętość cieczy V%3C/font%3E%3C/b%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3CB%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.radius.value%3D%27%27%22 name%3Dradius size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength size%3D%2218%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%3C/TR%3E%0D%0A %3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3CTD colspan%3D%223%22 align%3D%22center%22%3E%0D%0A %3Cp align%3D%22right%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWartość szukanego parametru%3C/font%3E%3C/p%3E%0D%0A %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CB%3E%0D%0A %3CTR%3E%0D%0A %3CTD colspan%3D%222%22 align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E%3C/font%3E%3C/B%3E %3C/TD%3E%0D%0A %3CTD colspan%3D%222%22 align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E%3C/center%3E%0D%0A %3C/div%3E%0D%0A%3C/FORM%3E%3C/B%3E%0D%0A%0D%0A %3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiornik elipsoidalny 2006-12-31T12:16:15Z 2006-12-31T12:16:15Z https://www.softdis.pl/index.php?option=com_content&view=article&id=91:zbiornik-elipsoidalny&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku elipsoidalnym o dnachpłaskich%3C/TITLE%3E%0D%0A%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.major.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.minor.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction calcmajor%28form%29%0D%0A%7B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A k %3D v/l%3B%0D%0A hb %3D 1 - h/b%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D 1 - hb2%3B%0D%0A if %28hb2 %3E%3D 0%29%0D%0A hb2 %3D %28b - h%29 * Math.sqrt%28hb2%29%3B%0D%0A else%0D%0A %7B%0D%0A alert%28%22Can%27t do Height %3E minor axis%22%29%3B%0D%0A return 0%3B%0D%0A %7D%0D%0A hb %3D b * Math.acos%28hb%29%3B%0D%0A a %3D k/%28hb - hb2%29%3B%0D%0A return a * 2%3B%0D%0A%7D%0D%0Afunction calcminor%28form%29%0D%0A%7B%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A if %28h %3E%3D eval%28a*2%29%29%0D%0A %7B%0D%0A alert%28%22No can do if height is greater than or equal to major axis%22%29%3B%0D%0A return 0%3B%0D%0A %7D%0D%0A v1 %3D v/l%3B%0D%0A v1 %3D v1/a%3B //v/%28la%29%0D%0A b %3D h%3B //start with b %3D h%0D%0A while %28b %3E%3D h%29%0D%0A %7B%0D%0A bh %3D 1 - h/b%3B%0D%0A if %28bh %3D%3D 0%29%0D%0A %7B%0D%0A k %3D b * Math.PI / 2%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A bh2 %3D bh * bh%3B%0D%0A bh2 %3D Math.sqrt%281 - bh2%29%3B%0D%0A bh2 %3D %28b - h%29 * bh2%3B%0D%0A bh %3D b * Math.acos%28bh%29%3B%0D%0A k %3D bh - bh2%3B%0D%0A %7D%0D%0A v2 %3D v1 - k%3B%0D%0A if%28Math.abs%28v2%29 %3C%3D 0.001%29%0D%0A break%3B //found b%0D%0A else%0D%0A b %3D b + 0.001%3B%0D%0A if %28b %3E a%29%0D%0A break%3B%0D%0A %7D%0D%0A if%28eval%28h/b%29 %3C 1%29%0D%0A return %28b * 2%29%3B%0D%0A else%0D%0A return %28b%29%3B%0D%0A%7D%0D%0Afunction calcheight%28form%29%0D%0A%7B%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A vt %3D l * Math.PI * a * b%3B //total volume%0D%0A v1 %3D v/l%3B%0D%0A v1 %3D v1/a%3B%0D%0A %0D%0A h %3D 2*b%3B //less than half full section%2C work our way down%0D%0A while %28 h %3E 0%29%0D%0A %7B%0D%0A bh %3D 1 - h/b%3B%0D%0A if %28 bh %3D%3D 0%29%0D%0A %7B%0D%0A k %3D b/2 * Math.PI%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A bh2 %3D bh * bh%3B%0D%0A bh2 %3D Math.sqrt%281-bh2%29%3B%0D%0A bh2 %3D %28b - h%29 * bh2%3B%0D%0A bh %3D b * Math.acos%28bh%29%3B%0D%0A k %3D bh - bh2%3B%0D%0A %7D%0D%0A k %3D v1 - k%3B%0D%0A if %28Math.abs%28k%29 %3C%3D 0.001%29%0D%0A %7B%0D%0A break%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A h %3D h - 0.001%3B%0D%0A %7D%0D%0A %0D%0A %7D%0D%0A if%28h %3E 0%29%0D%0A %7B%0D%0A return%28h%29%3B%0D%0A %7D%0D%0A //more than half full section%0D%0A h %3D b%3B%0D%0A%0D%0A while %28 h %3E 0%29%0D%0A %7B%0D%0A bh %3D 1 - h/b%3B%0D%0A if %28 bh %3D%3D 0%29%0D%0A %7B%0D%0A k %3D b/2 * Math.PI%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A bh2 %3D bh * bh%3B%0D%0A bh2 %3D Math.sqrt%281-bh2%29%3B%0D%0A bh2 %3D %28b - h%29 * bh2%3B%0D%0A bh %3D b * Math.acos%28bh%29%3B%0D%0A k %3D %28bh - bh2%29%3B%0D%0A %7D%0D%0A k %3D v1 - k%3B%0D%0A if %28Math.abs%28k%29 %3C%3D 0.01%29%0D%0A %7B%0D%0A break%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A h %3D h - 0.001%3B%0D%0A %7D%0D%0A %0D%0A %7D%0D%0A%0D%0A return %28h+b%29%3B%0D%0A%0D%0A%7D%0D%0Afunction calcvol%28form%29 %7B//calculate volume given r%2C h and l%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A if%28h %3E eval%28b + b%29%29%0D%0A %7B%0D%0A alert%28%22Can%27t do Height %3E minor axis%22%29%3B%0D%0A ClearForm%28form%29%3B%0D%0A return 0%3B%0D%0A %7D%0D%0A if%28h %3C b%29 //less than half%0D%0A %7B%0D%0A hb %3D eval%281 - h/b%29%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D Math.sqrt%281 - hb2%29%3B%0D%0A hb2 %3D a * %28b - h%29 * hb2%3B%0D%0A hb %3D a * b * Math.acos%28hb%29%3B %0D%0A spvol%3Deval%28%28hb - hb2%29 * l%29%3B%0D%0A return spvol%3B%0D%0A %7D%0D%0A else if %28h %3D%3D eval%28b%29 %7C%7C h %3D%3D b%29 //full or exactly half%0D%0A %7B%0D%0A spvol%3Deval%28l * Math.PI * a * b%29%3B //full cylinder%0D%0A if %28h %3D%3D b%29%0D%0A %7B%0D%0A return spvol/2%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A return spvol%3B%0D%0A %7D%0D%0A%0D%0A %7D%0D%0A else // more than half h %3E b/2%0D%0A %7B%0D%0A spvol%3Deval%28l * Math.PI * a * b%29%3B //full cylinder%0D%0A h %3D b + b - h%3B //calculate the top portion segment%0D%0A hb %3D eval%281 - h/b%29%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D Math.sqrt%281 - hb2%29%3B%0D%0A hb2 %3D a * %28b - h%29 * hb2%3B%0D%0A hb %3D a * b * Math.acos%28hb%29%3B %0D%0A spvol %3D spvol - eval%28%28hb - hb2%29 * l%29%3B%0D%0A return spvol%3B%0D%0A %7D%0D%0A%7D%0D%0A%0D%0Afunction calclength%28form%29%0D%0A%7B //calculate length from r%2Ch and v%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A hb %3D eval%281 - h/b%29%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D Math.sqrt%281 - hb2%29%3B%0D%0A hb2 %3D a * %28b - h%29 * hb2 %3B%0D%0A hb %3D a * b * Math.acos%28hb%29%3B %0D%0A spvol%3Deval%28hb - hb2%29%3B //area%0D%0A return %28v/spvol%29%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume given a%2C b%2C L%2C and h%0D%0A// i %3D 1 means we want to calculate length%0D%0A// i %3D 2 means we want to calculate height%0D%0A// i %3D 3 means we want to calculate a %28major%29%0D%0A// i %3D 4%2C we want to calculate b %28minor%29%0D%0A// i %3D 5 means not enough information%0D%0A%0D%0Ai %3D 5%3B //assume we can%27t do it%0D%0Aif %28form.vol.value %3D%3D %22%22%29 //might be calculating vol%0D%0A%7B%0D%0A if%28form.length.value %21%3D %22%22 %26%26 form.major.value %21%3D %22%22 %26%26 form.height.value %21%3D %22%22 %26%26 form.minor.value %21%3D %22%22%29%0D%0A i %3D 0%3B //we want to compute volablh%0D%0A%7D%0D%0Aelse if %28form.major.value %3D%3D %22%22 %26%26 form.length.value %21%3D %22%22%29 //calculating major%3F%0D%0A%7B%0D%0A if %28form.vol.value %21%3D%22%22 %26%26 form.height.value %21%3D%22%22 %26%26 form.minor.value %21%3D %22%22 %29%0D%0A i %3D 3%3B%0D%0A%7D%0D%0Aelse if %28form.height.value %3D%3D%22%22 %26%26 form.length.value %21%3D %22%22%29 //calculating height%3F%0D%0A%7B%0D%0A if %28form.vol.value %21%3D %22%22 %26%26 form.major.value %21%3D%22%22 %26%26 form.minor.value %21%3D %22%22%29%0D%0A i %3D 2%3B%0D%0A%7D%0D%0Aelse if %28form.length.value %3D%3D %22%22%29 //calculating length%0D%0A%7B%0D%0A if%28form.vol.value %21%3D%22%22 %26%26 form.height.value %21%3D %22%22 %26%26 form.major.value %21%3D%22%22 %26%26 form.minor.value %21%3D %22%22%29%0D%0A i %3D 1%3B //calculate length from a%2Cb and h%0D%0A%7D%0D%0Aelse if %28form.minor.value %3D%3D %22%22 %26%26 form.length.value %21%3D %22%22%29 //calculating minor%3F%0D%0A%7B%0D%0A if %28form.vol.value %21%3D%22%22 %26%26 form.height.value %21%3D%22%22 %26%26 form.major.value %21%3D %22%22 %29%0D%0A i %3D 4%3B%0D%0A%7D%0D%0Areturn true%3B%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D5%29 %7B%0D%0A alert%28%22%5Cn Niekompletne dane%21 %5Cn Proszę wprowadzić dane%22%29%3B%0D%0A %7D%0D%0A else if %28 i %3D%3D 4%29 %7B //calculate minor%0D%0A form.minor.value %3D calcminor%28form%29%3B%0D%0A form.answer.value %3D form.minor.value%3B%0D%0A %7D%0D%0A else if %28i %3D%3D3%29%7B //calculate major%0D%0A form.major.value %3D calcmajor%28form%29%3B%0D%0A form.answer.value %3D form.major.value%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29 %7B //calculate height%0D%0A volmore%3Dcalcheight%28form%29%3B%0D%0A form.height.value%3Dvolmore%3B%0D%0A form.answer.value %3D volmore%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29 %7B //calculate length%0D%0A volequal%3Dcalclength%28form%29%3B%0D%0A form.length.value%3Dvolequal%3B%0D%0A form.answer.value%3Dvolequal%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B //calculate volume%0D%0A volless%3Dcalcvol%28form%29%3B%0D%0A form.vol.value%3Dvolless%3B%0D%0A form.answer.value%3Dvolless%3B%0D%0A %7D %0D%0A %7D%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%0D%0A%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku elipsoidalnym o dnach płaskich%3C/font%3E%3C/b%3E%0D%0A%0D%0A %3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A %3Cp%3E%3Cfont face%3D%22Arial%22 ms%3F sans %3Fcomic size%3D%222%22%3EMożliwe parametry do obliczania%3A%0D%0A większa oś%2C mniejsza oś%2C wysokość cieczy%2C długość L%2C Objętość V%3C/font%3E%0D%0A%3CCENTER%3E%0D%0A%3CP%3E%3Cimg border%3D%220%22 src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/walec_7.gif%22%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWiększa oś 2*a%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EMniejsza oś 2*b%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość cieczy h%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.major.value%3D%27%27%22 name%3Dmajor%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.minor.value%3D%27%27%22 name%3Dminor%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość L%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość V%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%26nbsp%3B%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%26nbsp%3B%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3Ctr%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22right%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3BWartość szukanego%0D%0A parametru%3C/font%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E %3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E %0D%0A %3C/TD%3E%0D%0A %3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E %0D%0A%3C/div%3E%0D%0A%3C/FORM%3E%3C/CENTER%3E%0D%0A%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku elipsoidalnym o dnachpłaskich%3C/TITLE%3E%0D%0A%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.major.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.minor.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction calcmajor%28form%29%0D%0A%7B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A k %3D v/l%3B%0D%0A hb %3D 1 - h/b%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D 1 - hb2%3B%0D%0A if %28hb2 %3E%3D 0%29%0D%0A hb2 %3D %28b - h%29 * Math.sqrt%28hb2%29%3B%0D%0A else%0D%0A %7B%0D%0A alert%28%22Can%27t do Height %3E minor axis%22%29%3B%0D%0A return 0%3B%0D%0A %7D%0D%0A hb %3D b * Math.acos%28hb%29%3B%0D%0A a %3D k/%28hb - hb2%29%3B%0D%0A return a * 2%3B%0D%0A%7D%0D%0Afunction calcminor%28form%29%0D%0A%7B%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A if %28h %3E%3D eval%28a*2%29%29%0D%0A %7B%0D%0A alert%28%22No can do if height is greater than or equal to major axis%22%29%3B%0D%0A return 0%3B%0D%0A %7D%0D%0A v1 %3D v/l%3B%0D%0A v1 %3D v1/a%3B //v/%28la%29%0D%0A b %3D h%3B //start with b %3D h%0D%0A while %28b %3E%3D h%29%0D%0A %7B%0D%0A bh %3D 1 - h/b%3B%0D%0A if %28bh %3D%3D 0%29%0D%0A %7B%0D%0A k %3D b * Math.PI / 2%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A bh2 %3D bh * bh%3B%0D%0A bh2 %3D Math.sqrt%281 - bh2%29%3B%0D%0A bh2 %3D %28b - h%29 * bh2%3B%0D%0A bh %3D b * Math.acos%28bh%29%3B%0D%0A k %3D bh - bh2%3B%0D%0A %7D%0D%0A v2 %3D v1 - k%3B%0D%0A if%28Math.abs%28v2%29 %3C%3D 0.001%29%0D%0A break%3B //found b%0D%0A else%0D%0A b %3D b + 0.001%3B%0D%0A if %28b %3E a%29%0D%0A break%3B%0D%0A %7D%0D%0A if%28eval%28h/b%29 %3C 1%29%0D%0A return %28b * 2%29%3B%0D%0A else%0D%0A return %28b%29%3B%0D%0A%7D%0D%0Afunction calcheight%28form%29%0D%0A%7B%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A vt %3D l * Math.PI * a * b%3B //total volume%0D%0A v1 %3D v/l%3B%0D%0A v1 %3D v1/a%3B%0D%0A %0D%0A h %3D 2*b%3B //less than half full section%2C work our way down%0D%0A while %28 h %3E 0%29%0D%0A %7B%0D%0A bh %3D 1 - h/b%3B%0D%0A if %28 bh %3D%3D 0%29%0D%0A %7B%0D%0A k %3D b/2 * Math.PI%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A bh2 %3D bh * bh%3B%0D%0A bh2 %3D Math.sqrt%281-bh2%29%3B%0D%0A bh2 %3D %28b - h%29 * bh2%3B%0D%0A bh %3D b * Math.acos%28bh%29%3B%0D%0A k %3D bh - bh2%3B%0D%0A %7D%0D%0A k %3D v1 - k%3B%0D%0A if %28Math.abs%28k%29 %3C%3D 0.001%29%0D%0A %7B%0D%0A break%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A h %3D h - 0.001%3B%0D%0A %7D%0D%0A %0D%0A %7D%0D%0A if%28h %3E 0%29%0D%0A %7B%0D%0A return%28h%29%3B%0D%0A %7D%0D%0A //more than half full section%0D%0A h %3D b%3B%0D%0A%0D%0A while %28 h %3E 0%29%0D%0A %7B%0D%0A bh %3D 1 - h/b%3B%0D%0A if %28 bh %3D%3D 0%29%0D%0A %7B%0D%0A k %3D b/2 * Math.PI%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A bh2 %3D bh * bh%3B%0D%0A bh2 %3D Math.sqrt%281-bh2%29%3B%0D%0A bh2 %3D %28b - h%29 * bh2%3B%0D%0A bh %3D b * Math.acos%28bh%29%3B%0D%0A k %3D %28bh - bh2%29%3B%0D%0A %7D%0D%0A k %3D v1 - k%3B%0D%0A if %28Math.abs%28k%29 %3C%3D 0.01%29%0D%0A %7B%0D%0A break%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A h %3D h - 0.001%3B%0D%0A %7D%0D%0A %0D%0A %7D%0D%0A%0D%0A return %28h+b%29%3B%0D%0A%0D%0A%7D%0D%0Afunction calcvol%28form%29 %7B//calculate volume given r%2C h and l%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A l %3D Math.abs%28form.length.value%29%3B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A if%28h %3E eval%28b + b%29%29%0D%0A %7B%0D%0A alert%28%22Can%27t do Height %3E minor axis%22%29%3B%0D%0A ClearForm%28form%29%3B%0D%0A return 0%3B%0D%0A %7D%0D%0A if%28h %3C b%29 //less than half%0D%0A %7B%0D%0A hb %3D eval%281 - h/b%29%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D Math.sqrt%281 - hb2%29%3B%0D%0A hb2 %3D a * %28b - h%29 * hb2%3B%0D%0A hb %3D a * b * Math.acos%28hb%29%3B %0D%0A spvol%3Deval%28%28hb - hb2%29 * l%29%3B%0D%0A return spvol%3B%0D%0A %7D%0D%0A else if %28h %3D%3D eval%28b%29 %7C%7C h %3D%3D b%29 //full or exactly half%0D%0A %7B%0D%0A spvol%3Deval%28l * Math.PI * a * b%29%3B //full cylinder%0D%0A if %28h %3D%3D b%29%0D%0A %7B%0D%0A return spvol/2%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A return spvol%3B%0D%0A %7D%0D%0A%0D%0A %7D%0D%0A else // more than half h %3E b/2%0D%0A %7B%0D%0A spvol%3Deval%28l * Math.PI * a * b%29%3B //full cylinder%0D%0A h %3D b + b - h%3B //calculate the top portion segment%0D%0A hb %3D eval%281 - h/b%29%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D Math.sqrt%281 - hb2%29%3B%0D%0A hb2 %3D a * %28b - h%29 * hb2%3B%0D%0A hb %3D a * b * Math.acos%28hb%29%3B %0D%0A spvol %3D spvol - eval%28%28hb - hb2%29 * l%29%3B%0D%0A return spvol%3B%0D%0A %7D%0D%0A%7D%0D%0A%0D%0Afunction calclength%28form%29%0D%0A%7B //calculate length from r%2Ch and v%0D%0A v %3D Math.abs%28form.vol.value%29%3B%0D%0A a %3D Math.abs%28form.major.value%29/2%3B%0D%0A h %3D Math.abs%28form.height.value%29%3B%0D%0A b %3D Math.abs%28form.minor.value%29/2%3B%0D%0A hb %3D eval%281 - h/b%29%3B%0D%0A hb2 %3D hb * hb%3B%0D%0A hb2 %3D Math.sqrt%281 - hb2%29%3B%0D%0A hb2 %3D a * %28b - h%29 * hb2 %3B%0D%0A hb %3D a * b * Math.acos%28hb%29%3B %0D%0A spvol%3Deval%28hb - hb2%29%3B //area%0D%0A return %28v/spvol%29%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume given a%2C b%2C L%2C and h%0D%0A// i %3D 1 means we want to calculate length%0D%0A// i %3D 2 means we want to calculate height%0D%0A// i %3D 3 means we want to calculate a %28major%29%0D%0A// i %3D 4%2C we want to calculate b %28minor%29%0D%0A// i %3D 5 means not enough information%0D%0A%0D%0Ai %3D 5%3B //assume we can%27t do it%0D%0Aif %28form.vol.value %3D%3D %22%22%29 //might be calculating vol%0D%0A%7B%0D%0A if%28form.length.value %21%3D %22%22 %26%26 form.major.value %21%3D %22%22 %26%26 form.height.value %21%3D %22%22 %26%26 form.minor.value %21%3D %22%22%29%0D%0A i %3D 0%3B //we want to compute volablh%0D%0A%7D%0D%0Aelse if %28form.major.value %3D%3D %22%22 %26%26 form.length.value %21%3D %22%22%29 //calculating major%3F%0D%0A%7B%0D%0A if %28form.vol.value %21%3D%22%22 %26%26 form.height.value %21%3D%22%22 %26%26 form.minor.value %21%3D %22%22 %29%0D%0A i %3D 3%3B%0D%0A%7D%0D%0Aelse if %28form.height.value %3D%3D%22%22 %26%26 form.length.value %21%3D %22%22%29 //calculating height%3F%0D%0A%7B%0D%0A if %28form.vol.value %21%3D %22%22 %26%26 form.major.value %21%3D%22%22 %26%26 form.minor.value %21%3D %22%22%29%0D%0A i %3D 2%3B%0D%0A%7D%0D%0Aelse if %28form.length.value %3D%3D %22%22%29 //calculating length%0D%0A%7B%0D%0A if%28form.vol.value %21%3D%22%22 %26%26 form.height.value %21%3D %22%22 %26%26 form.major.value %21%3D%22%22 %26%26 form.minor.value %21%3D %22%22%29%0D%0A i %3D 1%3B //calculate length from a%2Cb and h%0D%0A%7D%0D%0Aelse if %28form.minor.value %3D%3D %22%22 %26%26 form.length.value %21%3D %22%22%29 //calculating minor%3F%0D%0A%7B%0D%0A if %28form.vol.value %21%3D%22%22 %26%26 form.height.value %21%3D%22%22 %26%26 form.major.value %21%3D %22%22 %29%0D%0A i %3D 4%3B%0D%0A%7D%0D%0Areturn true%3B%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D5%29 %7B%0D%0A alert%28%22%5Cn Niekompletne dane%21 %5Cn Proszę wprowadzić dane%22%29%3B%0D%0A %7D%0D%0A else if %28 i %3D%3D 4%29 %7B //calculate minor%0D%0A form.minor.value %3D calcminor%28form%29%3B%0D%0A form.answer.value %3D form.minor.value%3B%0D%0A %7D%0D%0A else if %28i %3D%3D3%29%7B //calculate major%0D%0A form.major.value %3D calcmajor%28form%29%3B%0D%0A form.answer.value %3D form.major.value%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29 %7B //calculate height%0D%0A volmore%3Dcalcheight%28form%29%3B%0D%0A form.height.value%3Dvolmore%3B%0D%0A form.answer.value %3D volmore%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29 %7B //calculate length%0D%0A volequal%3Dcalclength%28form%29%3B%0D%0A form.length.value%3Dvolequal%3B%0D%0A form.answer.value%3Dvolequal%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B //calculate volume%0D%0A volless%3Dcalcvol%28form%29%3B%0D%0A form.vol.value%3Dvolless%3B%0D%0A form.answer.value%3Dvolless%3B%0D%0A %7D %0D%0A %7D%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%0D%0A%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku elipsoidalnym o dnach płaskich%3C/font%3E%3C/b%3E%0D%0A%0D%0A %3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A %3Cp%3E%3Cfont face%3D%22Arial%22 ms%3F sans %3Fcomic size%3D%222%22%3EMożliwe parametry do obliczania%3A%0D%0A większa oś%2C mniejsza oś%2C wysokość cieczy%2C długość L%2C Objętość V%3C/font%3E%0D%0A%3CCENTER%3E%0D%0A%3CP%3E%3Cimg border%3D%220%22 src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/walec_7.gif%22%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWiększa oś 2*a%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EMniejsza oś 2*b%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość cieczy h%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.major.value%3D%27%27%22 name%3Dmajor%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.minor.value%3D%27%27%22 name%3Dminor%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość L%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość V%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%26nbsp%3B%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%26nbsp%3B%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3Ctr%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22right%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3BWartość szukanego%0D%0A parametru%3C/font%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E %3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E %0D%0A %3C/TD%3E%0D%0A %3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E %0D%0A%3C/div%3E%0D%0A%3C/FORM%3E%3C/CENTER%3E%0D%0A%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiornik walcowy poziomy z dnami kulistymi 2006-12-31T12:15:19Z 2006-12-31T12:15:19Z https://www.softdis.pl/index.php?option=com_content&view=article&id=90:zbiornik-walcowy-poziomy-z-dnami-kulistymi&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku walcowym z dnami kulistymi%3C/TITLE%3E%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku walcowym z dnami kulistymi%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3EMożliwe parametry do obliczania%3A V%3C/font%3E%0D%0A%0D%0A%3CFONT size%3D1%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%3C%21-- HIDE FROM OTHER BROWSERS%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.radius.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction volumeless%28radius%2C height%2C length%29 %7B%0D%0A distance %3Deval%28 radius - height%29%3B%0D%0A stuff %3D eval %28%282*radius*height%29 - %28height*height%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A vol %3D eval%28area * length%29%3B%0D%0A inner %3D eval%28%283*radius%29 - height%29%3B%0D%0A volsphere %3D eval%28Math.PI/3*height*height*inner%29%3B%0D%0A volless %3D eval%28volsphere + vol%29%3B%0D%0A return volless%3B%0D%0A%7D%0D%0Afunction volumeequal%28radius%2C height%2C length%29 %7B%0D%0A vol %3D eval %28%28Math.PI*radius*radius*length%29 / 2%29%3B%0D%0A volsphere %3D eval%282*Math.PI*radius*radius*radius/3%29%3B%0D%0A volequal %3D eval%28vol + volsphere%29%3B%0D%0A return volequal%3B%0D%0A%7D%0D%0A%0D%0Afunction volumemore%28radius%2C height%2C length%29 %7B%0D%0A p %3D Math.PI%3B%0D%0A newheight %3D eval %28%282*radius%29 - height%29%3B%0D%0A distance %3Deval%28 radius - newheight%29%3B%0D%0A stuff %3D eval %28%282*radius*newheight%29 - %28newheight*newheight%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A wholearea %3D eval %28p*radius*radius%29%3B%0D%0A newarea %3D eval%28wholearea - area%29%3B%0D%0A vol %3D eval%28newarea * length%29%3B%0D%0A wholesphere %3D eval%284/3*p*radius*radius*radius%29%3B%0D%0A inner %3D eval%28%283*radius%29 - newheight%29%3B%0D%0A segment %3D eval%28p/3*newheight*newheight*inner%29%3B%0D%0A volsphere %3D eval%28wholesphere - segment%29%3B%0D%0A volmore %3D eval%28volsphere + vol%29%3B%0D%0A return volmore%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume when height is less than radius%0D%0A// i %3D 1 means we want to calculate volume when height is equal to radius%0D%0A// i %3D 2 means we want to calculate volume when height is more than radius%0D%0A// i %3D 3 means cannot calculate this variable%0D%0A// i %3D 4 means not enough information%0D%0A%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Cform.radius.value%29%29%7B%0D%0A i %3D 0%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3D%3Dform.radius.value%29%29%7B%0D%0A i %3D 1%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Eform.radius.value%29%29%7B%0D%0A i %3D 2%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A else if %28form.radius.value%3D%3D%22%22%29 %7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A %0D%0A else if %28form.height.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A else if %28form.length.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0Areturn true%3B%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D4%29 %7B%0D%0A alert%28%22%5Cn Brak danych%21 %5Cn Proszę je wprowadzić%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D3%29%7B%0D%0A alert%28%22%5Cn Kalkulator oblicza jedynie objętość%21 %5Cn%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29 %7B%0D%0A volmore%3DMath.abs%28volumemore%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolmore%3B%0D%0A form.answer.value%3Dvolumemore%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29 %7B%0D%0A volequal%3DMath.abs%28volumeequal%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolequal%3B%0D%0A form.answer.value%3Dvolequal%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B%0D%0A volless%3DMath.abs%28volumeless%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolless%3B%0D%0A form.answer.value%3Dvolless%3B%0D%0A %7D %0D%0A%0D%0A %7D%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%0D%0A%0D%0A%3C/SCRIPT%3E%3C/FONT%3E%3CCENTER%3E%3Cimg border%3D%220%22 src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/walec_6.gif%22%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%22450%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPromień walca R%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość cieczy H%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość części walcowej L%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość cieczy V%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3CB%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.radius.value%3D%27%27%22 name%3Dradius size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight size%3D%2216%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%3C/TR%3E%0D%0A %3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3CTD colspan%3D%223%22 align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWartość%0D%0A szukanego parametru%3C/font%3E %3C/TD%3E%0D%0A %3CB%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%3C/B%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E%3C/font%3E%3C/B%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E%3C/font%3E%3C/B%3E %3C/TD%3E%0D%0A %3C/TR%3E%0D%0A%0D%0A%3CFONT size%3D1%3E%0D%0A%0D%0A%3CB%3E%3C/TBODY%3E%3C/TABLE%3E%3C/center%3E%0D%0A %3C/div%3E%0D%0A %3C/FORM%3E%3C/B%3E%3C/FONT%3E%0D%0A%0D%0A %3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku walcowym z dnami kulistymi%3C/TITLE%3E%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku walcowym z dnami kulistymi%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3EMożliwe parametry do obliczania%3A V%3C/font%3E%0D%0A%0D%0A%3CFONT size%3D1%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%3C%21-- HIDE FROM OTHER BROWSERS%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.radius.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0A%0D%0Afunction volumeless%28radius%2C height%2C length%29 %7B%0D%0A distance %3Deval%28 radius - height%29%3B%0D%0A stuff %3D eval %28%282*radius*height%29 - %28height*height%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A vol %3D eval%28area * length%29%3B%0D%0A inner %3D eval%28%283*radius%29 - height%29%3B%0D%0A volsphere %3D eval%28Math.PI/3*height*height*inner%29%3B%0D%0A volless %3D eval%28volsphere + vol%29%3B%0D%0A return volless%3B%0D%0A%7D%0D%0Afunction volumeequal%28radius%2C height%2C length%29 %7B%0D%0A vol %3D eval %28%28Math.PI*radius*radius*length%29 / 2%29%3B%0D%0A volsphere %3D eval%282*Math.PI*radius*radius*radius/3%29%3B%0D%0A volequal %3D eval%28vol + volsphere%29%3B%0D%0A return volequal%3B%0D%0A%7D%0D%0A%0D%0Afunction volumemore%28radius%2C height%2C length%29 %7B%0D%0A p %3D Math.PI%3B%0D%0A newheight %3D eval %28%282*radius%29 - height%29%3B%0D%0A distance %3Deval%28 radius - newheight%29%3B%0D%0A stuff %3D eval %28%282*radius*newheight%29 - %28newheight*newheight%29%29%3B%0D%0A inside %3D Math.pow%28stuff%2C .5%29%3B%0D%0A division %3D eval %28distance/radius%29%3B%0D%0A arc %3D Math.acos%28division%29%3B%0D%0A area %3D eval%28%28radius*radius*arc%29 - %28distance * inside%29%29%3B%0D%0A wholearea %3D eval %28p*radius*radius%29%3B%0D%0A newarea %3D eval%28wholearea - area%29%3B%0D%0A vol %3D eval%28newarea * length%29%3B%0D%0A wholesphere %3D eval%284/3*p*radius*radius*radius%29%3B%0D%0A inner %3D eval%28%283*radius%29 - newheight%29%3B%0D%0A segment %3D eval%28p/3*newheight*newheight*inner%29%3B%0D%0A volsphere %3D eval%28wholesphere - segment%29%3B%0D%0A volmore %3D eval%28volsphere + vol%29%3B%0D%0A return volmore%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume when height is less than radius%0D%0A// i %3D 1 means we want to calculate volume when height is equal to radius%0D%0A// i %3D 2 means we want to calculate volume when height is more than radius%0D%0A// i %3D 3 means cannot calculate this variable%0D%0A// i %3D 4 means not enough information%0D%0A%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.radius.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 4%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Cform.radius.value%29%29%7B%0D%0A i %3D 0%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3D%3Dform.radius.value%29%29%7B%0D%0A i %3D 1%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%26%26%28form.height.value%3Eform.radius.value%29%29%7B%0D%0A i %3D 2%3B %0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0A else if %28form.radius.value%3D%3D%22%22%29 %7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A %0D%0A else if %28form.height.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0A else if %28form.length.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A%0D%0A%0D%0Areturn true%3B%0D%0A%7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D4%29 %7B%0D%0A alert%28%22%5Cn Brak danych%21 %5Cn Proszę je wprowadzić%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D3%29%7B%0D%0A alert%28%22%5Cn Kalkulator oblicza jedynie objętość%21 %5Cn%22%29%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29 %7B%0D%0A volmore%3DMath.abs%28volumemore%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolmore%3B%0D%0A form.answer.value%3Dvolumemore%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29 %7B%0D%0A volequal%3DMath.abs%28volumeequal%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolequal%3B%0D%0A form.answer.value%3Dvolequal%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B%0D%0A volless%3DMath.abs%28volumeless%28form.radius.value%2C form.height.value%2C form.length.value%29%29%3B%0D%0A form.vol.value%3Dvolless%3B%0D%0A form.answer.value%3Dvolless%3B%0D%0A %7D %0D%0A%0D%0A %7D%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%0D%0A%0D%0A%3C/SCRIPT%3E%3C/FONT%3E%3CCENTER%3E%3Cimg border%3D%220%22 src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/walec_6.gif%22%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%22450%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPromień walca R%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość cieczy H%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość części walcowej L%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość cieczy V%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3CB%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.radius.value%3D%27%27%22 name%3Dradius size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight size%3D%2216%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%3C/TR%3E%0D%0A %3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3CTD colspan%3D%223%22 align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWartość%0D%0A szukanego parametru%3C/font%3E %3C/TD%3E%0D%0A %3CB%3E%0D%0A %3CTD align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer size%3D%2217%22%3E%3C/font%3E%3C/TD%3E%3C/B%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E%3C/font%3E%3C/B%3E %3C/TD%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E%3C/font%3E%3C/B%3E %3C/TD%3E%0D%0A %3C/TR%3E%0D%0A%0D%0A%3CFONT size%3D1%3E%0D%0A%0D%0A%3CB%3E%3C/TBODY%3E%3C/TABLE%3E%3C/center%3E%0D%0A %3C/div%3E%0D%0A %3C/FORM%3E%3C/B%3E%3C/FONT%3E%0D%0A%0D%0A %3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiornik w kształcie trapezoidu 2006-12-31T12:14:23Z 2006-12-31T12:14:23Z https://www.softdis.pl/index.php?option=com_content&view=article&id=89:zbiornik-w-ksztascie-trapezoidu&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku w kształcie trapezoidu%3C/TITLE%3E%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%0D%0A%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku w kształcie trapezoidu%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cfont face%3D%22Arial%22%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%3C/font%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EParametry możliwe do obliczania%3A b1%2C b2%2C h%2C h1%2C L%2C%0D%0AV. Proszę wprowadzić odpowiednie dane.%3C/font%3E%0D%0A%3C/p%3E%0D%0A%0D%0A%3CFONT size%3D6%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%3C%21--HIDE FROM OTHER BROWSERS%0D%0A%0D%0A%0D%0A// LULU%0D%0A%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.base1.value %3D %22%22%3B%0D%0A form.base2.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.height1.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0Afunction base1%28b2%2C h%2Ch1%2Cl%2C v%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff1 %3D eval%28h1 * h1 * b2 /h%29%3B%0D%0A stuff1%3Deval%28v/l - stuff1/2%29* eval%282 * h /%282 * h1 * h - h1 * h1%29%29%3B%0D%0A return stuff1%3B%0D%0A%7D%0D%0A%0D%0Afunction base2%28b1%2C h%2C h1%2Cl%2C v%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff2 %3D eval%28h1 * h1 * b1 / h%29/2%3B%0D%0A stuff2 %3D eval%28v/l - h1 * b1 + 1*stuff2%29%3B%0D%0A stuff2 %3D stuff2 * eval%282 * h /%28h1 * h1%29%29%3B%0D%0A%0D%0A return stuff2%3B%0D%0A %0D%0A%7D%0D%0A%0D%0Afunction height%28b1%2C b2%2C h1%2C l%2Cv%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%282 * %28v/l - b1 * h1%29%29%3B%0D%0A if %28stuff %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22I can%27t do it when Vol/length %3D B1 * H1%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%28h1 * h1 * %28b2 - b1%29/stuff%29%3B%0D%0A%0D%0A return stuff%3B%0D%0A%7D%0D%0Afunction height1%28b1%2C b2%2C h%2C l%2Cv%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%28 8 * %28b2 - b1%29 * h * v / l%29%3B%0D%0A stuff %3D eval%28 4 * b1 * b1 * h*h + 1*stuff%29%3B%0D%0A stuff %3D Math.sqrt%28stuff%29%3B%0D%0A stuff1 %3D eval%28 2 * h * b1%29%3B%0D%0A if %28stuff %3E%3D stuff1%29%0D%0A %7B%0D%0A stuff %3D %28stuff - stuff1%29/%282*%28b2-b1%29%29%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A alert%28%22No good answer%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A return stuff%3B%0D%0A%7D%0D%0Afunction length%28b1%2C b2%2C h%2C h1%2Cv%29 %7B%0D%0A if%28h %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do H %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%28 h1 * h1 * b1 /%28h * 2%29%29%3B%0D%0A stuff %3D eval%28 h1 * h1 * b2 /%282 * h%29 - stuff%29%3B%0D%0A stuff %3D eval%28h1 * b1 + 1*stuff%29%3B%0D%0A stuff %3D v /stuff%3B%0D%0A%0D%0A return stuff%3B%0D%0A%7D%0D%0A%0D%0Afunction vol%28b1%2C b2%2C h%2Ch1%2Cl%29 %7B%0D%0A if%28h %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do H %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A x %3D b2 - b1%3B%0D%0A x%3D x * h1/h%3B%0D%0A x %3D eval%281*x + 1*b1%29%3B%0D%0A a %3D eval%28%281*b1 +1* x%29 * h1/2%29%3B%0D%0A convol%3Deval%28a * l%29%3B%0D%0A return convol%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume%0D%0A// i %3D 1 means we want to calculate base1%0D%0A// i %3D 2 means we want to calculate base2%0D%0A// i %3D 3 means we want to calculate height%0D%0A// i %3D 4 means we want to calculate height1%0D%0A// i %3D 5 means we want to calculate length%0D%0A// i %3D 6 means illegal situation%0D%0A%0D%0A%0D%0A//any time we have more than two empty cells%2C we can%27t compute%0D%0Aif%28form.base1.value %3D%3D %22%22 %26%26 form.base2.value %3D%3D %22%22%29%0D%0A%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.height1.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.base2.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif%28form.base2.value %3D%3D %22%22 %26%26 form.length.value %3D%3D %22%22%29%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base2.value%3D%3D%22%22%26%26form.height1.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base2.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif%28form.height.value %3D%3D %22%22 %26%26 form.length.value %3D%3D %22%22%29%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.height1.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif%28form.height1.value %3D%3D %22%22 %26%26 form.length.value %3D%3D %22%22%29%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height1.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.length.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%29%7B%0D%0A i %3D 0%3B %0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A else if %28form.base1.value%3D%3D%22%22%29%7B%0D%0A i %3D 1%3B%0D%0A %7D%0D%0A else if %28form.base2.value%3D%3D%22%22%29%7B%0D%0A i %3D 2%3B%0D%0A %7D%0D%0A else if %28form.height.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A else if%28form.height1.value %3D%3D%22%22%29%0D%0A %7B%0D%0A i %3D 4%3B%0D%0A %7D%0D%0A else if%28form.length.value %3D%3D %22%22%29%0D%0A %7B%0D%0A i %3D 5%3B%0D%0A %7D%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D6%29 %7B%0D%0A alert%28%22%5Cn Nie wprowadzono wszystkich danych%21 %5Cn Proszę wprowadzić odpowiednie dane%22%29%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29%7B%0D%0A conr1%3DMath.abs%28base1%28form.base2.value%2C form.height.value%2C form.height1.value%2C form.length.value%2Cform.vol.value%29%29%3B%0D%0A form.base1.value%3Dconr1%3B %0D%0A form.answer.value%3Dconr1%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29%7B%0D%0A conr2%3DMath.abs%28base2%28form.base1.value%2C form.height.value%2C form.height1.value%2Cform.length.value%2Cform.vol.value%29%29%3B%0D%0A form.base2.value%3Dconr2%3B%0D%0A form.answer.value%3Dconr2%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D3%29%7B%0D%0A conht%3DMath.abs%28height%28form.base1.value%2C form.base2.value%2C form.height1.value%2C form.length.value%2Cform.vol.value%29%29%3B%0D%0A form.height.value%3Dconht%3B%0D%0A form.answer.value%3Dconht%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 4%29%0D%0A %7B%0D%0A conht%3DMath.abs%28height1%28form.base1.value%2C form.base2.value%2C form.height.value%2C form.length.value%2Cform.vol.value%29%29%3B%0D%0A form.height1.value%3Dconht%3B%0D%0A form.answer.value%3Dconht%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 5%29%0D%0A %7B%0D%0A conht %3D Math.abs%28length%28form.base1.value%2Cform.base2.value%2Cform.height.value%2Cform.height1.value%2Cform.vol.value%29%29%3B%0D%0A form.length.value %3D conht%3B%0D%0A form.answer.value %3D conht%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B%0D%0A convolume%3DMath.abs%28vol%28form.base1.value%2C form.base2.value%2Cform.height.value%2Cform.height1.value%2Cform.length.value%29%29%3B%0D%0A form.vol.value%3Dconvolume%3B%0D%0A form.answer.value%3Dconvolume%3B%0D%0A %7D %0D%0A %7D%0D%0A%7D%0D%0A%0D%0A %0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%3C/SCRIPT%3E%3C/FONT%3E%3CCENTER%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/trapezoid.gif%22 align%3Dcenter%3E%0D%0A%3C/font%3E%0D%0A%3C/P%3E%0D%0A%3C/B%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPodstawa 1%3CBR%3Eb1%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPodstawa 2%3CBR%3Eb2%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3ECałkowita wysokość%3CBR%3Eh%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CFONT size%3D6%3E%3C/TR%3E%0D%0A %3C/FONT%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.base1.value%3D%27%27%22 name%3Dbase1%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.base2.value%3D%27%27%22 name%3Dbase2%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość cieczy%3CBR%3Eh1%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość%3Cbr%3E%0D%0A %26nbsp%3BL%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość V%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.height1.value%3D%27%27%22 name%3Dheight1%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol%3E%3C/b%3E%3C/font%3E%3C/TD%3E%3C/TR%3E%0D%0A %3Ctr%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22 height%3D%2223%22%3E%0D%0A %3Cp align%3D%22right%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWartość obliczanego%0D%0A parametru%3C/font%3E %3C/TD%3E%0D%0A %3CB%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2225%22%3E%3CB%3E%3Cfont size%3D%221%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2225%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2225%22%3E%3CB%3E%3Cfont size%3D%221%22%3E%3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3Cfont size%3D%221%22%3E%3C/TR%3E%0D%0A %3C/font%3E%3C/TBODY%3E%3C/TABLE%3E%0D%0A %3C/div%3E%0D%0A %3Cfont size%3D%221%22%3E%3C/FORM%3E%3C/font%3E%3C/CENTER%3E%0D%0A%3C/B%3E%0D%0A%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3CTITLE%3EObjętość cieczy w zbiorniku w kształcie trapezoidu%3C/TITLE%3E%3CMETA http-equiv%3DContent-Type content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar diam%3D0%3B%0D%0Avar lev%3D0%3B%0D%0Avar len%3D0%3B%0D%0Avar rad%3D0%3B%0D%0A%3C%21-- Height of the triangle --%3E%0D%0Avar hgt%3D0%3B%0D%0A%3C%21-- Length of half the chord of the triangle --%3E%0D%0Avar leg%3D0%3B%0D%0A%3C%21-- Central Angle --%3E%0D%0Acentang%3D0%3B%0D%0A%3C%21-- Circle%2C Sector%2C Inverse Sector%2C AirArea%2C Segment and Triangle Area --%3E%0D%0A%3C%21-- Inverese Sector Is That Area Of The Circle That Is NOT A Sector --%3E%0D%0Avar circ%3D0%3B%0D%0Avar sec%3D0%3B%0D%0Avar invsec%3D0%3B%0D%0Avar tri%3D0%3B%0D%0Avar seg%3D0%3B%0D%0Avar circprt%3D0%3B%0D%0A%0D%0A%3C%21-- Volume Variables --%3E%0D%0Avar voltotal%3D0%3B%0D%0Avar volhalf%3D0%3B%0D%0Avar volliq%3D0%3B%0D%0Avar volair%3D0%3B%0D%0A%3C%21--These mean %22percent liquid%22 and %22percent air%22--%3E%0D%0Avar pcliq%3D0%3B%0D%0Avar pcair%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Adiam%3D0%3Blev%3D0%3Blen%3D0%3Brad%3D0%3Bhgt%3D0%3Bchord%3D0%3Bseg%3D0%3Btri%3D0%3Bcirc%3D0%3Bcentang%3D0%3Binvsec%3D0%3B%0D%0A%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0Alev%3Deval%28document.boxes.s1a.value%29%3B%0D%0Adiam%3Deval%28document.boxes.s2a.value%29%3B%0D%0Alen%3Deval%28document.boxes.s3a.value%29%3B%0D%0Arad%3Ddiam/2%3B%0D%0Acirc%3DMath.PI*%28rad%29*%28rad%29%3B%0D%0Ahgt%3Drad-lev%3B leg%3D%28Math.sqrt%28rad*rad-%28hgt*hgt%29%29%29%3B tri%3Dhgt*leg%3B%0D%0Acentang%3D2*%28180/Math.PI%29*Math.atan%28leg/hgt%29%3B%0D%0Aif%28centang%3C%3D0%29%7Bcentang%3D360+centang%3Btri%3Dtri*-1%7D%3B%0D%0Ainvsec%3D%28%28360-centang%29/360%29*circ%3B%0D%0Aseg%3D%28circ-tri-invsec%29%3B%0D%0A%0D%0Avoltotal%3DMath.PI*%28rad%29*%28rad%29*len%3B%0D%0Adocument.boxes.s6a.value%3D%22 %22+ voltotal%3B%0D%0Adocument.boxes.s6b.value%3D%22 %22+ voltotal*conv%3B%0D%0A%0D%0A%0D%0Avolliq%3Dseg*len%3B%0D%0Aif %28lev/diam%3E.5%29%7Binvsec%3D%28centang/360%29*circ%3Bvolliq%3D%28invsec+tri%29*len%7D%3B%0D%0Avolair%3Dvoltotal-volliq%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volliq%3B%0D%0Adocument.boxes.s4b.value%3D%22 %22+ volliq*conv%3B%0D%0A%0D%0Adocument.boxes.s5a.value%3D%22 %22+ volair%3B%0D%0Adocument.boxes.s5b.value%3D%22 %22+ volair*conv%3B%0D%0A%0D%0Apcliq%3D100*%28volliq/voltotal%29%3Bpcliq%3Dpcliq*10000%3Bpcliq%3DMath.floor%28pcliq%29%3Bpcliq%3Dpcliq/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcliq%3B %0D%0Apcair%3D100-pcliq%3Bpcair%3Dpcair*10000%3Bpcair%3DMath.floor%28pcair%29%3Bpcair%3Dpcair/10000%3B%0D%0Adocument.boxes.s5c.value%3D%22 %22+pcair%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CMETA content%3D%22Microsoft FrontPage 4.0%22 name%3DGENERATOR%3E%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A %3Cp align%3D%22center%22%3E%0D%0A%3Cb%3E%3Cfont size%3D%223%22 color%3D%22%23FF0000%22 face%3D%22Arial%22 ms%3F sans %3Fcomic%3E Objętość cieczy w zbiorniku w kształcie trapezoidu%3C/font%3E%3C/b%3E%0D%0A%0D%0A%3Cfont face%3D%22Arial%22%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%3C/font%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EParametry możliwe do obliczania%3A b1%2C b2%2C h%2C h1%2C L%2C%0D%0AV. Proszę wprowadzić odpowiednie dane.%3C/font%3E%0D%0A%3C/p%3E%0D%0A%0D%0A%3CFONT size%3D6%3E%0D%0A%0D%0A%3CP%3E%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%3C%21--HIDE FROM OTHER BROWSERS%0D%0A%0D%0A%0D%0A// LULU%0D%0A%0D%0A%0D%0Avar i%3D%22%22%3B%0D%0A%0D%0Afunction ClearForm%28form%29%7B%0D%0A form.base1.value %3D %22%22%3B%0D%0A form.base2.value %3D %22%22%3B%0D%0A form.height.value %3D %22%22%3B%0D%0A form.height1.value %3D %22%22%3B%0D%0A form.length.value %3D %22%22%3B%0D%0A form.vol.value%3D%22%22%3B%0D%0A form.answer.value%3D%22%22%3B%0D%0A%7D%0D%0Afunction base1%28b2%2C h%2Ch1%2Cl%2C v%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff1 %3D eval%28h1 * h1 * b2 /h%29%3B%0D%0A stuff1%3Deval%28v/l - stuff1/2%29* eval%282 * h /%282 * h1 * h - h1 * h1%29%29%3B%0D%0A return stuff1%3B%0D%0A%7D%0D%0A%0D%0Afunction base2%28b1%2C h%2C h1%2Cl%2C v%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff2 %3D eval%28h1 * h1 * b1 / h%29/2%3B%0D%0A stuff2 %3D eval%28v/l - h1 * b1 + 1*stuff2%29%3B%0D%0A stuff2 %3D stuff2 * eval%282 * h /%28h1 * h1%29%29%3B%0D%0A%0D%0A return stuff2%3B%0D%0A %0D%0A%7D%0D%0A%0D%0Afunction height%28b1%2C b2%2C h1%2C l%2Cv%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%282 * %28v/l - b1 * h1%29%29%3B%0D%0A if %28stuff %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22I can%27t do it when Vol/length %3D B1 * H1%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%28h1 * h1 * %28b2 - b1%29/stuff%29%3B%0D%0A%0D%0A return stuff%3B%0D%0A%7D%0D%0Afunction height1%28b1%2C b2%2C h%2C l%2Cv%29 %7B%0D%0A if%28l %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do L %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%28 8 * %28b2 - b1%29 * h * v / l%29%3B%0D%0A stuff %3D eval%28 4 * b1 * b1 * h*h + 1*stuff%29%3B%0D%0A stuff %3D Math.sqrt%28stuff%29%3B%0D%0A stuff1 %3D eval%28 2 * h * b1%29%3B%0D%0A if %28stuff %3E%3D stuff1%29%0D%0A %7B%0D%0A stuff %3D %28stuff - stuff1%29/%282*%28b2-b1%29%29%3B%0D%0A %7D%0D%0A else%0D%0A %7B%0D%0A alert%28%22No good answer%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A return stuff%3B%0D%0A%7D%0D%0Afunction length%28b1%2C b2%2C h%2C h1%2Cv%29 %7B%0D%0A if%28h %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do H %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A stuff %3D eval%28 h1 * h1 * b1 /%28h * 2%29%29%3B%0D%0A stuff %3D eval%28 h1 * h1 * b2 /%282 * h%29 - stuff%29%3B%0D%0A stuff %3D eval%28h1 * b1 + 1*stuff%29%3B%0D%0A stuff %3D v /stuff%3B%0D%0A%0D%0A return stuff%3B%0D%0A%7D%0D%0A%0D%0Afunction vol%28b1%2C b2%2C h%2Ch1%2Cl%29 %7B%0D%0A if%28h %3D%3D 0%29%0D%0A %7B%0D%0A alert%28%22can%27t do H %3D 0%22%29%3B%0D%0A return true%3B%0D%0A %7D%0D%0A x %3D b2 - b1%3B%0D%0A x%3D x * h1/h%3B%0D%0A x %3D eval%281*x + 1*b1%29%3B%0D%0A a %3D eval%28%281*b1 +1* x%29 * h1/2%29%3B%0D%0A convol%3Deval%28a * l%29%3B%0D%0A return convol%3B%0D%0A%7D%0D%0A%0D%0Afunction checkform%28form%29 %7B%0D%0A%0D%0A// i %3D 0 means we want to calculate volume%0D%0A// i %3D 1 means we want to calculate base1%0D%0A// i %3D 2 means we want to calculate base2%0D%0A// i %3D 3 means we want to calculate height%0D%0A// i %3D 4 means we want to calculate height1%0D%0A// i %3D 5 means we want to calculate length%0D%0A// i %3D 6 means illegal situation%0D%0A%0D%0A%0D%0A//any time we have more than two empty cells%2C we can%27t compute%0D%0Aif%28form.base1.value %3D%3D %22%22 %26%26 form.base2.value %3D%3D %22%22%29%0D%0A%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.height1.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.length.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base1.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.base2.value%3D%3D%22%22%26%26form.height.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif%28form.base2.value %3D%3D %22%22 %26%26 form.length.value %3D%3D %22%22%29%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base2.value%3D%3D%22%22%26%26form.height1.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.base2.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif%28form.height.value %3D%3D %22%22 %26%26 form.length.value %3D%3D %22%22%29%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.height1.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif%28form.height1.value %3D%3D %22%22 %26%26 form.length.value %3D%3D %22%22%29%7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.height1.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0Aif %28form.length.value%3D%3D%22%22%26%26form.vol.value%3D%3D%22%22%29 %7B%0D%0A i %3D 6%3B%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Aif %28form.vol.value%3D%3D%22%22%29%7B%0D%0A i %3D 0%3B %0D%0A return true%3B%0D%0A%7D%0D%0A%0D%0A else if %28form.base1.value%3D%3D%22%22%29%7B%0D%0A i %3D 1%3B%0D%0A %7D%0D%0A else if %28form.base2.value%3D%3D%22%22%29%7B%0D%0A i %3D 2%3B%0D%0A %7D%0D%0A else if %28form.height.value%3D%3D%22%22%29%7B%0D%0A i %3D 3%3B%0D%0A %7D%0D%0A else if%28form.height1.value %3D%3D%22%22%29%0D%0A %7B%0D%0A i %3D 4%3B%0D%0A %7D%0D%0A else if%28form.length.value %3D%3D %22%22%29%0D%0A %7B%0D%0A i %3D 5%3B%0D%0A %7D%0D%0A return true%3B%0D%0A %7D%0D%0A%0D%0Afunction computeform%28form%29 %7B%0D%0A%0D%0A if %28checkform%28form%29%29%7B%0D%0A%0D%0A if %28i %3D%3D6%29 %7B%0D%0A alert%28%22%5Cn Nie wprowadzono wszystkich danych%21 %5Cn Proszę wprowadzić odpowiednie dane%22%29%3B%0D%0A %7D%0D%0A else if %28i %3D%3D1%29%7B%0D%0A conr1%3DMath.abs%28base1%28form.base2.value%2C form.height.value%2C form.height1.value%2C form.length.value%2Cform.vol.value%29%29%3B%0D%0A form.base1.value%3Dconr1%3B %0D%0A form.answer.value%3Dconr1%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D2%29%7B%0D%0A conr2%3DMath.abs%28base2%28form.base1.value%2C form.height.value%2C form.height1.value%2Cform.length.value%2Cform.vol.value%29%29%3B%0D%0A form.base2.value%3Dconr2%3B%0D%0A form.answer.value%3Dconr2%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D3%29%7B%0D%0A conht%3DMath.abs%28height%28form.base1.value%2C form.base2.value%2C form.height1.value%2C form.length.value%2Cform.vol.value%29%29%3B%0D%0A form.height.value%3Dconht%3B%0D%0A form.answer.value%3Dconht%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 4%29%0D%0A %7B%0D%0A conht%3DMath.abs%28height1%28form.base1.value%2C form.base2.value%2C form.height.value%2C form.length.value%2Cform.vol.value%29%29%3B%0D%0A form.height1.value%3Dconht%3B%0D%0A form.answer.value%3Dconht%3B%0D%0A %7D%0D%0A else if %28i %3D%3D 5%29%0D%0A %7B%0D%0A conht %3D Math.abs%28length%28form.base1.value%2Cform.base2.value%2Cform.height.value%2Cform.height1.value%2Cform.vol.value%29%29%3B%0D%0A form.length.value %3D conht%3B%0D%0A form.answer.value %3D conht%3B%0D%0A %7D%0D%0A%0D%0A else if %28i %3D%3D0%29 %7B%0D%0A convolume%3DMath.abs%28vol%28form.base1.value%2C form.base2.value%2Cform.height.value%2Cform.height1.value%2Cform.length.value%29%29%3B%0D%0A form.vol.value%3Dconvolume%3B%0D%0A form.answer.value%3Dconvolume%3B%0D%0A %7D %0D%0A %7D%0D%0A%7D%0D%0A%0D%0A %0D%0A//STOP HIDING FROM OTHER BROWSERS --%3E%3C/SCRIPT%3E%3C/FONT%3E%3CCENTER%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/trapezoid.gif%22 align%3Dcenter%3E%0D%0A%3C/font%3E%0D%0A%3C/P%3E%0D%0A%3C/B%3E%0D%0A%3CFORM name%3DVOL method%3Dpost%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A%3CTABLE border%3D1 width%3D%2270%25%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPodstawa 1%3CBR%3Eb1%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EPodstawa 2%3CBR%3Eb2%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3ECałkowita wysokość%3CBR%3Eh%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CFONT size%3D6%3E%3C/TR%3E%0D%0A %3C/FONT%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.base1.value%3D%27%27%22 name%3Dbase1%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.base2.value%3D%27%27%22 name%3Dbase2%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.height.value%3D%27%27%22 name%3Dheight%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EWysokość cieczy%3CBR%3Eh1%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EDługość%3Cbr%3E%0D%0A %26nbsp%3BL%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22%3E%0D%0A %3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość V%3C/b%3E%3C/font%3E%3C/P%3E%3C/TD%3E%3C/TR%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.height1.value%3D%27%27%22 name%3Dheight1%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.length.value%3D%27%27%22 name%3Dlength%3E%3C/b%3E%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22 bgcolor%3D%22%23C0C0C0%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3E%3CINPUT onfocus%3D%22this.form.vol.value%3D%27%27%22 name%3Dvol%3E%3C/b%3E%3C/font%3E%3C/TD%3E%3C/TR%3E%0D%0A %3Ctr%3E%0D%0A %3CTD align%3D%22center%22 colspan%3D%222%22 height%3D%2223%22%3E%0D%0A %3Cp align%3D%22right%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWartość obliczanego%0D%0A parametru%3C/font%3E %3C/TD%3E%0D%0A %3CB%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2223%22%3E%3CB%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT name%3Danswer%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3C/tr%3E%0D%0A %3CTR%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2225%22%3E%3CB%3E%3Cfont size%3D%221%22%3E%3CINPUT onclick%3Dcomputeform%28this.form%29 type%3Dbutton value%3DOblicz%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2225%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/TD%3E%0D%0A %3CTD align%3D%22center%22 height%3D%2225%22%3E%3CB%3E%3Cfont size%3D%221%22%3E%3CINPUT onclick%3DClearForm%28this.form%29 type%3Dbutton value%3DWyczyść%3E%3C/font%3E%3C/B%3E%3C/TD%3E%0D%0A %3Cfont size%3D%221%22%3E%3C/TR%3E%0D%0A %3C/font%3E%3C/TBODY%3E%3C/TABLE%3E%0D%0A %3C/div%3E%0D%0A %3Cfont size%3D%221%22%3E%3C/FORM%3E%3C/font%3E%3C/CENTER%3E%0D%0A%3C/B%3E%0D%0A%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiornik kulisty 2006-12-31T12:13:03Z 2006-12-31T12:13:03Z https://www.softdis.pl/index.php?option=com_content&view=article&id=88:zbiornik-kulisty&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3Cmeta http-equiv%3D%22Content-Type%22 content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%3Cmeta http-equiv%3D%22Content-Language%22 content%3D%22pl%22%3E%0D%0A%3Cmeta name%3D%22Description%22 content%3D%22Spherical Tank Calculator%2C partially-filled sphere%0D%0Acalculator%2C spherical tank volume%22%3E%0D%0A%3Cmeta name%3D%22keywords%22 content%3D%22Spherical Tank Calculator%2C partially-filled sphere%0D%0Acalculator%2C spherical tank volume%22%3E%0D%0A%3Cmeta name%3D%22GENERATOR%22 content%3D%22Microsoft FrontPage 4.0%22%3E%0D%0A%3Cmeta name%3D%22ProgId%22 content%3D%22FrontPage.Editor.Document%22%3E%0D%0A%3CTITLE%3EKalkulator zbiorników - Zbiornik kulisty%3C/TITLE%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar size%3D0%3B%0D%0Avar caphgt%3D0%3B%0D%0Avar capvol%3D0%3B%0D%0Avar caparea%3D0%3B%0D%0Avar capradius%3D0%3B%0D%0Avar voltotal %3D 0%3B%0D%0Avar volbottom%3D0%3B%0D%0Avar areabottom%3D0%3B%0D%0Avar areatotal%3D0%3B%0D%0Avar pcempty%3D0%3B%0D%0Avar pcfull%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0Adocument.boxes.s7a.value%3D%22%22%3B%0D%0Adocument.boxes.s8a.value%3D%22%22%3B%0D%0Adocument.boxes.s9a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0A%0D%0A%0D%0A%0D%0Avar caphgt%3Deval%28document.boxes.s1a.value%29%3B%0D%0Avar size%3Deval %28document.boxes.s2a.value%29/2%3B%0D%0Acapvol%3DMath.PI*caphgt*caphgt*%283*size-%28caphgt%29%29/3%3B%0D%0Adocument.boxes.s3a.value%3D%22 %22+ capvol%3Bdocument.boxes.s3b.value%3D%22 %22+ capvol*conv%3B%0D%0Avoltotal%3D%284/3%29*Math.PI*size*size*size%3B%0D%0Adocument.boxes.s5a.value%3D%22 %22+ voltotal%3Bdocument.boxes.s5b.value%3D%22 %22+ voltotal*conv%3B%0D%0Avolbottom%3Dvoltotal-capvol%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volbottom%3Bdocument.boxes.s4b.value%3D%22 %22+ volbottom*conv%3B%0D%0Apcfull%3D100*%28capvol/voltotal%29%3Bpcfull%3Dpcfull*10000%3Bpcfull%3DMath.floor%28pcfull%29%3Bpcfull%3Dpcfull/10000%3B%0D%0Adocument.boxes.s3c.value%3D%22 %22+pcfull%3B %0D%0Apcempty%3D100-pcfull%3Bpcempty%3Dpcempty*10000%3Bpcempty%3DMath.floor%28pcempty%29%3Bpcempty%3Dpcempty/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcempty%3B%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A%3Cp align%3D%22center%22%3E%3Cfont size%3D%223%22 face%3D%22Arial%22%3E%3Cb%3E%3Cfont color%3D%22%23FF0000%22%3EKalkulator%0D%0Azbiorników %3C/font%3E- %3Cfont color%3D%22%23ff0000%22 size%3D%223%22 face%3D%22Arial%22%3EZbiornik%0D%0Akulisty%3C/font%3E%3C/b%3E%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cfont face%3D%22Arial%22%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3C/font%3E%0D%0A%0D%0A%3CB%3E%0D%0A%3CP%3E%0D%0A%3CCENTER%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/sphetank4.jpg%22 width%3D%22420%22 height%3D%22325%22%3E%3C/font%3E%3C/CENTER%3E%0D%0A%3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EUWAGA%21 Wartości ujemne wskazują%2C że dane%0D%0Awprowadzono nieprawidłowo%3Cbr%3E%0D%0A%3C/font%3E%3C/B%3E%0D%0A%3CFORM name%3Dboxes%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A %3Ccenter%3E%0D%0A%3Ctable border%3D%221%22 width%3D%2270%25%22 cellspacing%3D%221%22%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A %3Cp%3E%3Cfont face%3D%22arial%22 size%3D%222%22%3E%3Cb%3EPoziom cieczy %3C/b%3E%28liquid level%29 %3Cb%3EH%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A%3Ctd width%3D%2275%25%22 bgcolor%3D%22%23C0C0C0%22 colspan%3D%223%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber name%3Ds1a%3E%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3C/tr%3E%0D%0A %3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A %3Cp%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3E%3Cb%3EŚrednica kuli %3C/b%3E%28Diameter%29 %3Cb%3ED%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A%3Ctd width%3D%2275%25%22 bgcolor%3D%22%23C0C0C0%22 colspan%3D%223%22%3E%0D%0A %3Cp align%3D%22left%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT type%3Dnumber name%3Ds2a%3E%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3C/tr%3E%0D%0A%3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3EWybierz rodzaj jednostek%26nbsp%3B%3C/font%3E%3C/td%3E%0D%0A %3Ctd width%3D%2230%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22sw%3D1%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Stopy %28U.S.%29%22%3E%26nbsp%3B%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22sw%3D2%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Metry%22%3E %0D%0A %26nbsp%3B %0D%0A%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22 align%3D%22center%22%3E%0D%0A%3CFONT size%3D2 face%3D%22arial%22%3E%0D%0A%26nbsp%3B%0D%0A %3C/FONT%3E%0D%0A%3C/td%3E%0D%0A%3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EJednostki%3C/font%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D20 name%3Ds0a%3E%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT type%3Dnumber size%3D20 name%3Ds0b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3E%25 Obj.%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EObjętość%0D%0A cieczy%3C/font%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D20 name%3Ds3a%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT %0D%0Atype%3Dnumber size%3D20 name%3Ds3b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 name%3Ds3c%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EPusta%0D%0A przestrzeń%3C/font%3E%3C/B%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E %28Air space%29%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber %0D%0Asize%3D20 name%3Ds4a%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D20 name%3Ds4b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 %0D%0Aname%3Ds4c%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3ECałkowita objętość kuli%3C/font%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D20 name%3Ds5a%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D20 name%3Ds5b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3E100%25%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3C/table%3E%0D%0A %3C/center%3E%0D%0A %3C/div%3E%0D%0A%3CCENTER%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/CENTER%3E%3C/FORM%3E%3C/B%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3Cmeta http-equiv%3D%22Content-Type%22 content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%3Cmeta http-equiv%3D%22Content-Language%22 content%3D%22pl%22%3E%0D%0A%3Cmeta name%3D%22Description%22 content%3D%22Spherical Tank Calculator%2C partially-filled sphere%0D%0Acalculator%2C spherical tank volume%22%3E%0D%0A%3Cmeta name%3D%22keywords%22 content%3D%22Spherical Tank Calculator%2C partially-filled sphere%0D%0Acalculator%2C spherical tank volume%22%3E%0D%0A%3Cmeta name%3D%22GENERATOR%22 content%3D%22Microsoft FrontPage 4.0%22%3E%0D%0A%3Cmeta name%3D%22ProgId%22 content%3D%22FrontPage.Editor.Document%22%3E%0D%0A%3CTITLE%3EKalkulator zbiorników - Zbiornik kulisty%3C/TITLE%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0A%3C%21--%0D%0Aif %28parent.frames.length %3E 0%29 %7B%0D%0Aparent.location.href %3D location.href%3B%0D%0A%7D%0D%0A// --%3E%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Avar sw%3D0%3B%0D%0Avar size%3D0%3B%0D%0Avar caphgt%3D0%3B%0D%0Avar capvol%3D0%3B%0D%0Avar caparea%3D0%3B%0D%0Avar capradius%3D0%3B%0D%0Avar voltotal %3D 0%3B%0D%0Avar volbottom%3D0%3B%0D%0Avar areabottom%3D0%3B%0D%0Avar areatotal%3D0%3B%0D%0Avar pcempty%3D0%3B%0D%0Avar pcfull%3D0%3B%0D%0A%3C%21-- Conversion Factor --%3E%0D%0Avar conv%3D0%3B%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction erase%28%29%7B%0D%0Adocument.boxes.s1a.value%3D%22%22%3B%0D%0Adocument.boxes.s2a.value%3D%22%22%3B%0D%0Adocument.boxes.s3a.value%3D%22%22%3B%0D%0Adocument.boxes.s4a.value%3D%22%22%3B%0D%0Adocument.boxes.s5a.value%3D%22%22%3B%0D%0Adocument.boxes.s6a.value%3D%22%22%3B%0D%0Adocument.boxes.s7a.value%3D%22%22%3B%0D%0Adocument.boxes.s8a.value%3D%22%22%3B%0D%0Adocument.boxes.s9a.value%3D%22%22%3B%0D%0A%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0Afunction calc%28boxes%29%0D%0A%7B%0D%0Aif%28sw%3D%3D1%29%7Bdocument.boxes.s0a.value%3D%22 Stopy sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Galony%22%3Bconv%3D7.480518863962546%7D%3B%0D%0Aif%28sw%3D%3D2%29%7Bdocument.boxes.s0a.value%3D%22 Metry sześć.%22%3Bdocument.boxes.s0b.value%3D%22 Litry%22%3Bconv%3D1000%7D%3B%0D%0A%0D%0A%0D%0A%0D%0Avar caphgt%3Deval%28document.boxes.s1a.value%29%3B%0D%0Avar size%3Deval %28document.boxes.s2a.value%29/2%3B%0D%0Acapvol%3DMath.PI*caphgt*caphgt*%283*size-%28caphgt%29%29/3%3B%0D%0Adocument.boxes.s3a.value%3D%22 %22+ capvol%3Bdocument.boxes.s3b.value%3D%22 %22+ capvol*conv%3B%0D%0Avoltotal%3D%284/3%29*Math.PI*size*size*size%3B%0D%0Adocument.boxes.s5a.value%3D%22 %22+ voltotal%3Bdocument.boxes.s5b.value%3D%22 %22+ voltotal*conv%3B%0D%0Avolbottom%3Dvoltotal-capvol%3B%0D%0Adocument.boxes.s4a.value%3D%22 %22+ volbottom%3Bdocument.boxes.s4b.value%3D%22 %22+ volbottom*conv%3B%0D%0Apcfull%3D100*%28capvol/voltotal%29%3Bpcfull%3Dpcfull*10000%3Bpcfull%3DMath.floor%28pcfull%29%3Bpcfull%3Dpcfull/10000%3B%0D%0Adocument.boxes.s3c.value%3D%22 %22+pcfull%3B %0D%0Apcempty%3D100-pcfull%3Bpcempty%3Dpcempty*10000%3Bpcempty%3DMath.floor%28pcempty%29%3Bpcempty%3Dpcempty/10000%3B%0D%0Adocument.boxes.s4c.value%3D%22 %22+pcempty%3B%0D%0A%7D%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A%3Cp align%3D%22center%22%3E%3Cfont size%3D%223%22 face%3D%22Arial%22%3E%3Cb%3E%3Cfont color%3D%22%23FF0000%22%3EKalkulator%0D%0Azbiorników %3C/font%3E- %3Cfont color%3D%22%23ff0000%22 size%3D%223%22 face%3D%22Arial%22%3EZbiornik%0D%0Akulisty%3C/font%3E%3C/b%3E%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cfont face%3D%22Arial%22%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3C/font%3E%0D%0A%0D%0A%3CB%3E%0D%0A%3CP%3E%0D%0A%3CCENTER%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/sphetank4.jpg%22 width%3D%22420%22 height%3D%22325%22%3E%3C/font%3E%3C/CENTER%3E%0D%0A%3CP%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EUWAGA%21 Wartości ujemne wskazują%2C że dane%0D%0Awprowadzono nieprawidłowo%3Cbr%3E%0D%0A%3C/font%3E%3C/B%3E%0D%0A%3CFORM name%3Dboxes%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A %3Ccenter%3E%0D%0A%3Ctable border%3D%221%22 width%3D%2270%25%22 cellspacing%3D%221%22%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A %3Cp%3E%3Cfont face%3D%22arial%22 size%3D%222%22%3E%3Cb%3EPoziom cieczy %3C/b%3E%28liquid level%29 %3Cb%3EH%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A%3Ctd width%3D%2275%25%22 bgcolor%3D%22%23C0C0C0%22 colspan%3D%223%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber name%3Ds1a%3E%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3C/tr%3E%0D%0A %3C/B%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22 align%3D%22left%22%3E%0D%0A %3Cp%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3E%3Cb%3EŚrednica kuli %3C/b%3E%28Diameter%29 %3Cb%3ED%3C/b%3E%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A%3Ctd width%3D%2275%25%22 bgcolor%3D%22%23C0C0C0%22 colspan%3D%223%22%3E%0D%0A %3Cp align%3D%22left%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT type%3Dnumber name%3Ds2a%3E%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3C/tr%3E%0D%0A%3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3EWybierz rodzaj jednostek%26nbsp%3B%3C/font%3E%3C/td%3E%0D%0A %3Ctd width%3D%2230%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22sw%3D1%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Stopy %28U.S.%29%22%3E%26nbsp%3B%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22sw%3D2%3B calc%28boxes%29%22 type%3Dbutton size%3D25 value%3D%22Metry%22%3E %0D%0A %26nbsp%3B %0D%0A%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22 align%3D%22center%22%3E%0D%0A%3CFONT size%3D2 face%3D%22arial%22%3E%0D%0A%26nbsp%3B%0D%0A %3C/FONT%3E%0D%0A%3C/td%3E%0D%0A%3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EJednostki%3C/font%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D20 name%3Ds0a%3E%3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT type%3Dnumber size%3D20 name%3Ds0b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3E%25 Obj.%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EObjętość%0D%0A cieczy%3C/font%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D20 name%3Ds3a%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT %0D%0Atype%3Dnumber size%3D20 name%3Ds3b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 name%3Ds3c%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EPusta%0D%0A przestrzeń%3C/font%3E%3C/B%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E %28Air space%29%3C/font%3E%3C/td%3E%0D%0A %3CB%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber %0D%0Asize%3D20 name%3Ds4a%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D20 name%3Ds4b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D8 %0D%0Aname%3Ds4c%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3Ctr%3E%0D%0A %3Ctd width%3D%2225%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3ECałkowita objętość kuli%3C/font%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %0D%0A%3CINPUT type%3Dnumber size%3D20 name%3Ds5a%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2230%25%22%3E%3CB%3E%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT type%3Dnumber size%3D20 name%3Ds5b%3E %3C/font%3E%3C/B%3E%3C/td%3E%0D%0A%3Ctd width%3D%2215%25%22%3E%3Cfont face%3D%22Arial%22 size%3D%222%22%3E100%25%3C/font%3E%3C/td%3E%0D%0A %3C/tr%3E%0D%0A %3C/table%3E%0D%0A %3C/center%3E%0D%0A %3C/div%3E%0D%0A%3CCENTER%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%26nbsp%3B%3C/font%3E%3C/CENTER%3E%3C/FORM%3E%3C/B%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> Zbiorniki zakończone dnami 2006-12-31T12:12:18Z 2006-12-31T12:12:18Z https://www.softdis.pl/index.php?option=com_content&view=article&id=87:zbiorniki-zakone-dnami&catid=62:kalkulatory-zbiornik&Itemid=53 pub_sf ferenc@pt.onet.pl <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3Cmeta http-equiv%3D%22Content-Type%22 content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%3Cmeta http-equiv%3D%22Content-Language%22 content%3D%22pl%22%3E%0D%0A%3Cmeta name%3D%22GENERATOR%22 content%3D%22Microsoft FrontPage 4.0%22%3E%0D%0A%3Cmeta name%3D%22ProgId%22 content%3D%22FrontPage.Editor.Document%22%3E%0D%0A%3CTITLE%3EZbiorniki zakończone dnami%3C/TITLE%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Afunction tankVolume %28form%29 %7B%0D%0A%0D%0Avar angle %3D form.angle.value%0D%0Avar tankdia %3D form.tankdia.value%0D%0Avar head %3D form.head.options%5Bform.head.selectedIndex%5D.text%0D%0Avar level %3D form.level.value%0D%0A%0D%0A%0D%0Atankdia %3D parseFloat%28tankdia%29%0D%0Alevel %3D parseFloat%28level%29%0D%0Aangle %3D parseFloat%28angle%29%0D%0A%0D%0Aswitch %28head%29 %7B%0D%0A case %22Dno płaskie%22%3A %0D%0A %0D%0A //determine volume drained out%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A break%0D%0A%0D%0A case %22Dno hemisfreoidalne%22%3A%0D%0A var ellipticalHeadDepth %3D tankdia/2%0D%0A %0D%0A if%28level %3C ellipticalHeadDepth%29%7B %0D%0A var volume %3D 3.14*%28tankdia/2%29*%28 %28Math.pow%28level%2C2%29-Math.pow%280%2C2%29%29 - %28 %282/%283*tankdia%29%29 * %28Math.pow%28level%2C3%29-Math.pow%280%2C3%29%29 %29%29 %0D%0A %7Delse%7B%0D%0A if%28level %3E ellipticalHeadDepth %26%26 0 %3E ellipticalHeadDepth%29%7B%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A %7Delse%7B%0D%0A var volumeCylinder %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-ellipticalHeadDepth%29%0D%0A var volumeHead %3D 3.14*%28tankdia/2%29*%28 %28Math.pow%28ellipticalHeadDepth%2C2%29-Math.pow%280%2C2%29%29 - %28 %282/%283*tankdia%29%29 * %28Math.pow%28ellipticalHeadDepth%2C3%29-Math.pow%280%2C3%29%29 %29%29%0D%0A var volume %3D volumeCylinder + volumeHead %0D%0A %7D%0D%0A %7D%0D%0A break%0D%0A%0D%0A case %22Dno eliptyczne 2%3A1%22%3A%0D%0A var ellipticalHeadDepth %3D tankdia/4%0D%0A%0D%0A if%28level %3C ellipticalHeadDepth%29%7B %0D%0A var volume %3D 3.14*tankdia*%28 %28Math.pow%28level%2C2%29-Math.pow%280%2C2%29%29 - %28 %284/%283*tankdia%29%29 * %28Math.pow%28level%2C3%29-Math.pow%280%2C3%29%29 %29%29%0D%0A %7Delse%7B%0D%0A if%28level %3E ellipticalHeadDepth %26%26 0 %3E ellipticalHeadDepth%29%7B%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A %7Delse%7B%0D%0A var volumeCylinder %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-ellipticalHeadDepth%29%0D%0A var volumeHead %3D 3.14*tankdia*%28 %28Math.pow%28ellipticalHeadDepth%2C2%29-Math.pow%280%2C2%29%29 - %28 %284/%283*tankdia%29%29 * %28Math.pow%28ellipticalHeadDepth%2C3%29-Math.pow%280%2C3%29%29 %29%29%0D%0A var volume %3D volumeCylinder + volumeHead%0D%0A %7D%0D%0A %7D%0D%0A break%0D%0A %0D%0A%0D%0A case %22Dno stożkowe%22%3A%0D%0A var alphaAngle %3D 90-angle%0D%0A var angleRadians %3D %283.14/180%29*alphaAngle%0D%0A var coneDepth %3D %28tankdia/2%29/Math.tan%28angleRadians%29 %0D%0A%0D%0A if%28level %3C coneDepth%29%7B %0D%0A var volume %3D %283.14/3%29*%28Math.pow%28Math.tan%28angleRadians%29%2C2%29%29 * %28Math.pow%28level%2C3%29 - Math.pow%280%2C3%29%29%0D%0A %7Delse%7B%0D%0A if%28level %3E coneDepth %26%26 0 %3E coneDepth%29%7B%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A %7Delse%7B%0D%0A var volumeCylinder %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-coneDepth%29%0D%0A var volumeHead %3D %283.14/3%29*%28Math.pow%28Math.tan%28angleRadians%29%2C2%29%29 * %28Math.pow%28coneDepth%2C3%29 - Math.pow%280%2C3%29%29%0D%0A var volume %3D volumeCylinder + volumeHead%0D%0A %7D%0D%0A %7D%0D%0A break%0D%0A%7D%0D%0A%0D%0A// var volumeGallons %3D volume*7.48%0D%0A%0D%0Avar volumeGallons %3D volume%0D%0A%0D%0AvolumeGallons %3D volumeGallons*100%0D%0AvolumeGallons %3D Math.round%28volumeGallons%29%0D%0AvolumeGallons %3D volumeGallons/100%0D%0A%0D%0A%0D%0Aform.vesselVolume.value %3D volumeGallons%0D%0A%0D%0A if %28head %3D%3D %22Dno stożkowe%22%29%7B%0D%0A form.conicalAngle.value %3D angle%0D%0A %7Delse%7B%0D%0A form.conicalAngle.value %3D %22NA%22%0D%0A %7D%0D%0A%7D%0D%0A%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Afunction headSelectConical %28form1%29 %7B%0D%0A var headType %3D form1.head.options%5Bform1.head.selectedIndex%5D.text %0D%0A if %28headType %3D%3D %22Dno stożkowe%22%29 %7B%0D%0A var coneAngle %3D prompt%28%22Wprowadź kąt stożka%22%2C 30%29%0D%0A coneAngle %3D parseFloat%28coneAngle%29%0D%0A form1.angle.value %3D coneAngle%0D%0A %7D%0D%0A%7D%0D%0A%0D%0Afunction ConicalPic%28form1%29 %7B%0D%0A var coneAngle %3D prompt%28%22Wprowadź kąt stożka%22%2C 30%29%0D%0A coneAngle %3D parseFloat%28coneAngle%29%0D%0A form1.angle.value %3D coneAngle%0D%0A%7D%0D%0A%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A%3Cp align%3D%22center%22%3E%3Cfont size%3D%223%22 face%3D%22Arial%22%3E%3Cb%3E %3Cfont color%3D%22%23ff0000%22 size%3D%223%22 face%3D%22Arial%22%3EZbiorniki zakończone%0D%0Adnami%3C/font%3E%3C/b%3E%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cfont face%3D%22Arial%22%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cp align%3D%22center%22%3E%3Cfont size%3D%222%22%3E%28obliczenia mają charakter przybliżony%29%3C/font%3E%3C/p%3E%0D%0A%0D%0A%3C/font%3E%0D%0A%0D%0A%3CFORM name%3DinputData%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A %3Ccenter%3E%0D%0A%3CTABLE width%3D%2280%25%22 border%3D%221%22 cellspacing%3D%221%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z1.jpg%22 border%3D0 width%3D%2296%22 height%3D%22114%22%3E %0D%0A %3C/font%3E %0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z2.jpg%22 border%3D0 width%3D%22110%22 height%3D%22103%22%3E%3C/font%3E%0D%0A %3CTR%3E%0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z3.jpg%22 border%3D0 width%3D%2272%22 height%3D%22100%22%3E%3C/font%3E%0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z4.jpg%22 border%3D0 width%3D%2272%22 height%3D%22100%22%3E%3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD class%3Dheader align%3Dleft colSpan%3D2 width%3D%2250%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EDane zbiornika%3C/font%3E%3C/b%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3EŚrednica zbiornika %5Bjednostka%5D%3A%3C/b%3E%3C/i%3E%3C/font%3E %0D%0A %3CTD align%3Dleft bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D5 value%3D3 name%3Dtankdia%3E %0D%0A %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3ETyp den zbiornika%3C/b%3E%3C/i%3E%3C/font%3E %0D%0A %3CTD bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CSELECT onchange%3D%22headSelectConical %28inputData%29%22 name%3Dhead size%3D%221%22%3E %0D%0A %3COPTION selected%3EDno eliptyczne 2%3A1%3COPTION%3EDno płaskie%3COPTION%3EDno%0D%0A hemisfreoidalne%3COPTION%3EDno stożkowe%3C/OPTION%3E%3C/SELECT%3E%3C/font%3E%0D%0A %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3EPoziom cieczy w zbiorniku %5Bjednostka%5D%3A%3C/b%3E%3C/i%3E%3C/font%3E %0D%0A %3CTD align%3Dleft bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D5 value%3D3 name%3Dlevel%3E %0D%0A %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3EWprowadzony kąt stożka%3A%3C/b%3E%3C/i%3E %3C/font%3E %0D%0A %3CTD bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT class%3Dangle size%3D4 name%3Dangle%3E %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22tankVolume %28this.form%29%22 type%3Dbutton value%3D%22Oblicz pojemność zbiornika%22%3E %0D%0A%0D%0A %3C/font%3E %0D%0A%0D%0A %3CTR%3E%0D%0A %3CTD colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWyniki obliczeń%3C/font%3E%3C/b%3E %0D%0A%0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość zbiornika %5Bjednostka%5D%3Csup%3E3%3C/sup%3E%3A%3C/b%3E%3C/font%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D10 name%3DvesselVolume%3E %0D%0A %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EKąt stożka%3A%3C/b%3E%3C/font%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D2 name%3DconicalAngle%3E %3C/font%3E %3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E%0D%0A %3C/center%3E%0D%0A%3C/div%3E%0D%0A %3C/FORM%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script> <noscript>You need to have JavaScript enabled in order to view this page correctly!</noscript> <script><!-- document.write(unescape("%3Cscript%20type%3D%22text/JavaScript%22%3E%0D%0A%3C%21--%0D%0Avar%20message%3D%22%22%3Bfunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E")); //--></script> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <script type="text/javascript"><!-- document.write(unescape("%3CHTML%3E%3CHEAD%3E%3CMETA HTTP-EQUIV%3D%22pragma%22 CONTENT%3D%22No-Cache%22%3E%3CMETA NAME%3D%22MSSmartTagsPreventParsing%22 CONTENT%3D%22True%22%3E%3CMETA HTTP-EQUIV%3D%22ImageToolbar%22 CONTENT%3D%22No%22%3E%3Cmeta http-equiv%3D%22Content-Type%22 content%3D%22text/html%3B charset%3Dwindows-1250%22%3E%0D%0A%3Cmeta http-equiv%3D%22Content-Language%22 content%3D%22pl%22%3E%0D%0A%3Cmeta name%3D%22GENERATOR%22 content%3D%22Microsoft FrontPage 4.0%22%3E%0D%0A%3Cmeta name%3D%22ProgId%22 content%3D%22FrontPage.Editor.Document%22%3E%0D%0A%3CTITLE%3EZbiorniki zakończone dnami%3C/TITLE%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Afunction tankVolume %28form%29 %7B%0D%0A%0D%0Avar angle %3D form.angle.value%0D%0Avar tankdia %3D form.tankdia.value%0D%0Avar head %3D form.head.options%5Bform.head.selectedIndex%5D.text%0D%0Avar level %3D form.level.value%0D%0A%0D%0A%0D%0Atankdia %3D parseFloat%28tankdia%29%0D%0Alevel %3D parseFloat%28level%29%0D%0Aangle %3D parseFloat%28angle%29%0D%0A%0D%0Aswitch %28head%29 %7B%0D%0A case %22Dno płaskie%22%3A %0D%0A %0D%0A //determine volume drained out%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A break%0D%0A%0D%0A case %22Dno hemisfreoidalne%22%3A%0D%0A var ellipticalHeadDepth %3D tankdia/2%0D%0A %0D%0A if%28level %3C ellipticalHeadDepth%29%7B %0D%0A var volume %3D 3.14*%28tankdia/2%29*%28 %28Math.pow%28level%2C2%29-Math.pow%280%2C2%29%29 - %28 %282/%283*tankdia%29%29 * %28Math.pow%28level%2C3%29-Math.pow%280%2C3%29%29 %29%29 %0D%0A %7Delse%7B%0D%0A if%28level %3E ellipticalHeadDepth %26%26 0 %3E ellipticalHeadDepth%29%7B%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A %7Delse%7B%0D%0A var volumeCylinder %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-ellipticalHeadDepth%29%0D%0A var volumeHead %3D 3.14*%28tankdia/2%29*%28 %28Math.pow%28ellipticalHeadDepth%2C2%29-Math.pow%280%2C2%29%29 - %28 %282/%283*tankdia%29%29 * %28Math.pow%28ellipticalHeadDepth%2C3%29-Math.pow%280%2C3%29%29 %29%29%0D%0A var volume %3D volumeCylinder + volumeHead %0D%0A %7D%0D%0A %7D%0D%0A break%0D%0A%0D%0A case %22Dno eliptyczne 2%3A1%22%3A%0D%0A var ellipticalHeadDepth %3D tankdia/4%0D%0A%0D%0A if%28level %3C ellipticalHeadDepth%29%7B %0D%0A var volume %3D 3.14*tankdia*%28 %28Math.pow%28level%2C2%29-Math.pow%280%2C2%29%29 - %28 %284/%283*tankdia%29%29 * %28Math.pow%28level%2C3%29-Math.pow%280%2C3%29%29 %29%29%0D%0A %7Delse%7B%0D%0A if%28level %3E ellipticalHeadDepth %26%26 0 %3E ellipticalHeadDepth%29%7B%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A %7Delse%7B%0D%0A var volumeCylinder %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-ellipticalHeadDepth%29%0D%0A var volumeHead %3D 3.14*tankdia*%28 %28Math.pow%28ellipticalHeadDepth%2C2%29-Math.pow%280%2C2%29%29 - %28 %284/%283*tankdia%29%29 * %28Math.pow%28ellipticalHeadDepth%2C3%29-Math.pow%280%2C3%29%29 %29%29%0D%0A var volume %3D volumeCylinder + volumeHead%0D%0A %7D%0D%0A %7D%0D%0A break%0D%0A %0D%0A%0D%0A case %22Dno stożkowe%22%3A%0D%0A var alphaAngle %3D 90-angle%0D%0A var angleRadians %3D %283.14/180%29*alphaAngle%0D%0A var coneDepth %3D %28tankdia/2%29/Math.tan%28angleRadians%29 %0D%0A%0D%0A if%28level %3C coneDepth%29%7B %0D%0A var volume %3D %283.14/3%29*%28Math.pow%28Math.tan%28angleRadians%29%2C2%29%29 * %28Math.pow%28level%2C3%29 - Math.pow%280%2C3%29%29%0D%0A %7Delse%7B%0D%0A if%28level %3E coneDepth %26%26 0 %3E coneDepth%29%7B%0D%0A var volume %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-0%29%0D%0A %7Delse%7B%0D%0A var volumeCylinder %3D 0.25*3.14*Math.pow%28tankdia%2C2%29*%28level-coneDepth%29%0D%0A var volumeHead %3D %283.14/3%29*%28Math.pow%28Math.tan%28angleRadians%29%2C2%29%29 * %28Math.pow%28coneDepth%2C3%29 - Math.pow%280%2C3%29%29%0D%0A var volume %3D volumeCylinder + volumeHead%0D%0A %7D%0D%0A %7D%0D%0A break%0D%0A%7D%0D%0A%0D%0A// var volumeGallons %3D volume*7.48%0D%0A%0D%0Avar volumeGallons %3D volume%0D%0A%0D%0AvolumeGallons %3D volumeGallons*100%0D%0AvolumeGallons %3D Math.round%28volumeGallons%29%0D%0AvolumeGallons %3D volumeGallons/100%0D%0A%0D%0A%0D%0Aform.vesselVolume.value %3D volumeGallons%0D%0A%0D%0A if %28head %3D%3D %22Dno stożkowe%22%29%7B%0D%0A form.conicalAngle.value %3D angle%0D%0A %7Delse%7B%0D%0A form.conicalAngle.value %3D %22NA%22%0D%0A %7D%0D%0A%7D%0D%0A%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3CSCRIPT language%3DJavaScript%3E%0D%0A%0D%0Afunction headSelectConical %28form1%29 %7B%0D%0A var headType %3D form1.head.options%5Bform1.head.selectedIndex%5D.text %0D%0A if %28headType %3D%3D %22Dno stożkowe%22%29 %7B%0D%0A var coneAngle %3D prompt%28%22Wprowadź kąt stożka%22%2C 30%29%0D%0A coneAngle %3D parseFloat%28coneAngle%29%0D%0A form1.angle.value %3D coneAngle%0D%0A %7D%0D%0A%7D%0D%0A%0D%0Afunction ConicalPic%28form1%29 %7B%0D%0A var coneAngle %3D prompt%28%22Wprowadź kąt stożka%22%2C 30%29%0D%0A coneAngle %3D parseFloat%28coneAngle%29%0D%0A form1.angle.value %3D coneAngle%0D%0A%7D%0D%0A%0D%0A%3C/SCRIPT%3E%0D%0A%0D%0A%3Cmeta name%3D%22Microsoft Border%22 content%3D%22none%22%3E%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%3E%0D%0A%0D%0A%3Cp align%3D%22center%22%3E%3Cfont size%3D%223%22 face%3D%22Arial%22%3E%3Cb%3E %3Cfont color%3D%22%23ff0000%22 size%3D%223%22 face%3D%22Arial%22%3EZbiorniki zakończone%0D%0Adnami%3C/font%3E%3C/b%3E%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cfont face%3D%22Arial%22%3E%0D%0A%0D%0A%3Cp align%3D%22left%22%3E%0D%0A%0D%0A%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EUwaga%21%3C/b%3E Proszę stosować kropkę %26quot%3B.%26quot%3B jako znak rozdzielający%0D%0Adziesiętne i liczby całkowite.%3C/font%3E%0D%0A%0D%0A%3C/p%3E%0D%0A%0D%0A%3Cp align%3D%22center%22%3E%3Cfont size%3D%222%22%3E%28obliczenia mają charakter przybliżony%29%3C/font%3E%3C/p%3E%0D%0A%0D%0A%3C/font%3E%0D%0A%0D%0A%3CFORM name%3DinputData%3E%0D%0A%3Cdiv align%3D%22center%22%3E%0D%0A %3Ccenter%3E%0D%0A%3CTABLE width%3D%2280%25%22 border%3D%221%22 cellspacing%3D%221%22%3E%0D%0A %3CTBODY%3E%0D%0A %3CTR%3E%0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z1.jpg%22 border%3D0 width%3D%2296%22 height%3D%22114%22%3E %0D%0A %3C/font%3E %0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z2.jpg%22 border%3D0 width%3D%22110%22 height%3D%22103%22%3E%3C/font%3E%0D%0A %3CTR%3E%0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z3.jpg%22 border%3D0 width%3D%2272%22 height%3D%22100%22%3E%3C/font%3E%0D%0A %3CTD class%3Dheader align%3Dcenter width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CIMG src%3D%22http%3A//www.softdis.pl/images/stories/ppm_narzedzia/kalk_z4.jpg%22 border%3D0 width%3D%2272%22 height%3D%22100%22%3E%3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD class%3Dheader align%3Dleft colSpan%3D2 width%3D%2250%25%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EDane zbiornika%3C/font%3E%3C/b%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3EŚrednica zbiornika %5Bjednostka%5D%3A%3C/b%3E%3C/i%3E%3C/font%3E %0D%0A %3CTD align%3Dleft bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D5 value%3D3 name%3Dtankdia%3E %0D%0A %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3ETyp den zbiornika%3C/b%3E%3C/i%3E%3C/font%3E %0D%0A %3CTD bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CSELECT onchange%3D%22headSelectConical %28inputData%29%22 name%3Dhead size%3D%221%22%3E %0D%0A %3COPTION selected%3EDno eliptyczne 2%3A1%3COPTION%3EDno płaskie%3COPTION%3EDno%0D%0A hemisfreoidalne%3COPTION%3EDno stożkowe%3C/OPTION%3E%3C/SELECT%3E%3C/font%3E%0D%0A %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3EPoziom cieczy w zbiorniku %5Bjednostka%5D%3A%3C/b%3E%3C/i%3E%3C/font%3E %0D%0A %3CTD align%3Dleft bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D5 value%3D3 name%3Dlevel%3E %0D%0A %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Ci%3E%3Cb%3EWprowadzony kąt stożka%3A%3C/b%3E%3C/i%3E %3C/font%3E %0D%0A %3CTD bgcolor%3D%22%23C0C0C0%22 width%3D%2250%25%22%3E%0D%0A %3Cfont size%3D%222%22 face%3D%22Arial%22%3E %3CINPUT class%3Dangle size%3D4 name%3Dangle%3E %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT onclick%3D%22tankVolume %28this.form%29%22 type%3Dbutton value%3D%22Oblicz pojemność zbiornika%22%3E %0D%0A%0D%0A %3C/font%3E %0D%0A%0D%0A %3CTR%3E%0D%0A %3CTD colspan%3D%222%22%3E%0D%0A %3Cp align%3D%22center%22%3E%3Cb%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3EWyniki obliczeń%3C/font%3E%3C/b%3E %0D%0A%0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EObjętość zbiornika %5Bjednostka%5D%3Csup%3E3%3C/sup%3E%3A%3C/b%3E%3C/font%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D10 name%3DvesselVolume%3E %0D%0A %3C/font%3E %0D%0A %3CTR%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3Cb%3EKąt stożka%3A%3C/b%3E%3C/font%3E%0D%0A %3CTD width%3D%2250%25%22%3E%3Cfont size%3D%222%22 face%3D%22Arial%22%3E%3CINPUT size%3D2 name%3DconicalAngle%3E %3C/font%3E %3C/TR%3E%3C/TBODY%3E%3C/TABLE%3E%0D%0A %3C/center%3E%0D%0A%3C/div%3E%0D%0A %3C/FORM%3E%0D%0A%3C/BODY%3E%3C/HTML%3E%0D%0A")); //--></script>