if ( typeof(WolframAlphaWidget) !== 'object' || WolframAlphaWidget === null ){ var WolframAlphaWidget = {}; } WolframAlphaWidget['5075763dba6ec763f31004272f8aa7fa'] = { 'id' : 24646, 'width' : 360, 'height' : 450, 'title' :'Piecewise Function Widget', 'theme' :'gray', 'output' :'iframe', 'popHeight': 690, 'rowCount' : 5+0, 'podSelectBase' : '\x26showAssumptions\x3D1\x26showWarnings\x3D1', 'podSelect': '', 'initialized' : false }; WolframAlphaWidget.getInput = function( id ){ var txt = jQuery('#wolframAlphaWidgetForm'+id+' input[name="querytemplate"]').val() if ( !txt || txt=='' ){ return ''; } var regex = /\${\w+}/g; var field = txt.match(regex); var param = {}; var i = '#wolframAlphaWidgetForm'+id; var inputs = jQuery(i+' input:text').add(i+' input:checked').add(i+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var name = el.attr('name'); param[name] = el.val(); } var result = txt; if ( field == null ){ return result; } for ( var i = 0 ; i < field.length ; i++ ){//> var f = field[i].slice(2,-1); //get field name minus id var v = param[f]; //get field value if ( typeof v == 'undefined' ){ v = '';} var regex = new RegExp('\\\${'+f+'}','g'); result = result.replace(regex,v); } return result; } WolframAlphaWidget.getAllInputs = function( id ){ var result = '', param = {}, i = '#wolframAlphaWidgetForm'+id, inputs = jQuery(i+' input:text').add(i+' input:checked').add(i+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); result += '&'+encodeURIComponent('input_'+el.attr('name'))+'='+encodeURIComponent(el.val()); } return result; } WolframAlphaWidget.widthConstrained = function( wuid ){ var width = 575; try { width = WolframAlphaWidget[wuid]['width']; } catch(e){} return ( width > document.body.clientWidth ); } WolframAlphaWidget.heightConstrained = function( wuid ){ var height = 450; try { height = WolframAlphaWidget[wuid]['popHeight']; } catch(e){} return ( height > document.documentElement.clientHeight ); } WolframAlphaWidget.serializeById = function(wid){ var i = '#wolframAlphaWidgetForm'+wid; var result = ""; var inputs = jQuery(i+' input:text').add(i+' input:checked').add(i+' input:radio:selected').add(i+' select'); for ( var i = 0 ; i < inputs.length ; i++ ){ //> var el = jQuery(inputs[i]); var id = el.attr('id'); result += '&'+id+'='+encodeURIComponent( el.val() ); } return result; } WolframAlphaWidget.loadResultIFrame = function(wid,wuid,input ){ var podSelect = '', output = ''; try { podSelect = WolframAlphaWidget[wuid]['podSelect']; output = WolframAlphaWidget[wuid]['output']; } catch(e){} var useOpacity = jQuery.browser.msie; var newSrc = "http://www.wolframalpha.com/widget/input/?input="+encodeURIComponent(input)+"&id="+wuid+podSelect; if (window.location.protocol === 'https:'){ newSrc = newSrc.replace('http','https'); } var oldFrame = jQuery("#wolframAlphaWidgetResults"+wid); var newFrame = jQuery(''); newFrame.css( 'height', oldFrame.css('height') ); if ( useOpacity ){ newFrame.css("opacity","0").css('filter:','alpha(opacity=10)'); newFrame.load(function(){ jQuery(this).css("opacity","1").css('filter:','alpha(opacity=100)'); }); } oldFrame.replaceWith(newFrame); newFrame.attr('src',newSrc); jQuery('#widgetFooterInput'+wid+' .input').text(input); //fill in little input field if ( output == 'lightbox' ){ WolframAlphaWidget.sizeLightbox(wid); } } WolframAlphaWidget.popupSubmit = function(wid,wuid,input){ var podSelect = '', popWidth = 575, popHeight = 450, rowCount = 1, title = '', theme = ''; try { podSelect = WolframAlphaWidget[wuid]['podSelect']; popWidth = WolframAlphaWidget[wuid]['width']; popHeight = WolframAlphaWidget[wuid]['popHeight']; rowCount = WolframAlphaWidget[wuid]['rowCount']; title = WolframAlphaWidget[wuid]['title']; theme = WolframAlphaWidget[wuid]['theme']; } catch(e){} var url = "http://www.wolframalpha.com/widget/widgetPopup.jsp?p=v&id="+wuid+"&title="+encodeURIComponent(title)+"&theme="+theme+WolframAlphaWidget.serializeById(wid)+"&podSelect="+podSelect; var h = Math.min(popHeight,2000); var w = Math.min(popWidth, 2000); if (window.navigator.appName == "Microsoft Internet Explorer"){ h += 10; } else if ( 'WebkitAppearance' in document.documentElement.style ){ h += rowCount * 4; } var results = window.open (url,"results","menubar=no,toolbar=no,location=no,scrollbars=yes,resizable=yes,width="+w+",height="+h+""); results.focus(); results.blur(); results.focus(); } WolframAlphaWidget.iFrameSubmit = function(wid,wuid,input){ if ( WolframAlphaWidget.widthConstrained(wuid) ){ WolframAlphaWidget.popupSubmit(wid,wuid,input,podSelect); return; } jQuery('#wolframAlphaWidget'+wid).addClass('expand').removeClass('collapse'); WolframAlphaWidget.loadResultIFrame(wid,wuid,input); } function wolframAlphaWidget_Init24646(){ jQuery("#wolframAlphaWidget24646 .submit").click(function(){ jQuery("#wolframAlphaWidgetForm24646").submit(); }); jQuery("#wolframAlphaWidgetForm24646").submit(function(e){ e.preventDefault(); var input = WolframAlphaWidget.getInput( '24646' ); var popUrl = "https://www.wolframalpha.com/input/?i="+encodeURIComponent(input); window.open(popUrl); }); jQuery("#eq24646").click(function(){ var popUrl = "http://www.wolframalpha.com/input/?i="+encodeURIComponent( jQuery("#widgetFooterInput24646 .input").text()); if (window.location.protocol === 'https:'){ popUlr = popUrl.replace('http','https'); } window.open(popUrl); }).hover( function(){ jQuery("#widgetFooterInput24646").show(); }, function(){ jQuery("#widgetFooterInput24646").hide(); } ); jQuery("#wolframAlphaWidget24646 .close").click(function(){ jQuery("#wolframAlphaWidget24646").addClass('collapse').removeClass('expand'); }); jQuery("#wolframAlphaWidget24646 .wawipl_4").click(function(e) { if (window.location.href.indexOf("http://www.wolframalpha.com/widgets/") != -1) { reportProblem(); return false; } }); var wolframWidgetIE = 5; var wolframWidgetQuirks = true; if (window.navigator.appName == "Microsoft Internet Explorer"){ if (document.documentMode){ wolframWidgetIE = document.documentMode; } else if (document.compatMode){ wolframWidgetIE = ( document.compatMode == "CSS1Compat" ? 7 : 5 ); } } else { wolframWidgetIE = false; } if ( document.compatMode ){ wolframWidgetQuirks = document.compatMode != 'CSS1Compat'; } //adjustments for quirks mode (most browsers need this) if ( wolframWidgetQuirks ){ jQuery("table.WolframAlphaWidget").css('border-collapse','collapse'); if ( jQuery.browser.mozilla ){ jQuery("table.WolframAlphaWidget > tbody > tr:first-child + tr > td.l").css('border-left','2px inset #FFF'); } else if ( !wolframWidgetIE ){ jQuery("table.WolframAlphaWidget > tbody > tr:first-child + tr > td.r").css('border-right','2px inset #FFF'); } if ( wolframWidgetIE ){ //fix popups jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup").css('width','207px'); jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup").css('width','220px').css('right','-45px'); } //fix for :hover selectors jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetInfo").hover( function(){ jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup").show(); }, function(){ jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup").hide(); } ); jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetShare").hover( function(){ jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup").show(); }, function(){ jQuery("#wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup").hide(); } ); } else { if ( wolframWidgetIE == 7 ){ jQuery("table.WolframAlphaWidget").css('border-collapse','collapse'); jQuery("#wolframAlphaWidgetBeta24646").css('top','-12px'); } } if ( wolframWidgetIE !== false && wolframWidgetIE <= 6 ){ //ie6 fixes jQuery(".wolframAlphaWidgetContent").attr('align','center'); jQuery("#wolframAlphaWidgetOverlay24646").css('height','450').css('margin-left','-1px'); } //detect cramped container var wolframWidgetWidth = jQuery("#wolframAlphaWidget24646").width(); var wolframInnerWidth = jQuery("#widget24646 table").eq(0).width() + 2; if ( wolframInnerWidth >= wolframWidgetWidth ){ jQuery("#wolframAlphaWidget24646").width( wolframWidgetWidth + 32 ); } WolframAlphaWidget['5075763dba6ec763f31004272f8aa7fa']['initialized'] = true; try{ wolframAlphaWidget_InitDone24646(); }catch(e){} } WolframAlphaWidget['5075763dba6ec763f31004272f8aa7fa'].loadFunctionId = 0; (function(){ var coreCss24646 = document.createElement('style'); coreCss24646.setAttribute('type','text/css'); if ( coreCss24646.styleSheet ){ //IE coreCss24646.styleSheet.cssText = 'table\x23wolframAlphaWidget24646,\ndiv\x23wolframAlphaWidget24646\x7B\n font-family\x3A verdana, sans-serif\x3B\n font-size\x3A 10px\x3B\n line-height\x3A 12px\x3B\n word-wrap\x3A normal\x3B\n white-space\x3A auto\x3B\n color\x3A \x23000\x3B\n margin\x3A 12px auto 0\x3B\n padding\x3A 0\x3B\n min-width\x3A 140px\x3B\n background\x3A transparent\x3B\n border\x3A 0 none\x3B\n -webkit-text-size-adjust\x3A none\x3B \n width\x3A 360px\x3B \n\x7D\n\n\n\x23wolframAlphaWidgetOverlay24646,\n\x23wolframAlphaWidgetResults24646 \x7B\n height\x3A 450px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget24646 tr,\n\x23wolframAlphaWidget24646 tr th,\n\x23wolframAlphaWidget24646 tr td,\n\x23wolframAlphaWidget24646 form \x7B\n position\x3A static\x3B\n margin\x3A 0\x3B\n padding\x3A 0\x3B\n vertical-align\x3A middle\x3B\n\x7D\n\n\n\x23wolframAlphaWidget24646 tr th \x7B\n color\x3A \x23333\x3B \n\x7D\n\n\x23wolframAlphaWidget24646 table.wolframAlphaWidgetContent td \x7B\n padding-right\x3A 2px\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 table.wolframAlphaWidgetContent table.submit td \x7B\n padding\x3A 0\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 table,\n\x23wolframAlphaWidget24646 form,\n\x23wolframAlphaWidget24646 fieldset,\n\x23wolframAlphaWidget24646 table.wolframAlphaWidgetContent table.submit \x7B\n border\x3A 0 none\x3B\n background\x3A transparent none\x3B\n\x7D\n\n\n\x2F\x2A footer popups \x2F links \x2A\x2F\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfo,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetShare,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfo a,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetShare a \x7B\n font-size\x3A 11px\x3B\n line-height\x3A 17px\x3B\n color\x3A \x23555\x3B \n text-decoration\x3A none\x3B\n outline\x3A none\x3B\n font-family\x3A arial, sans-serif\x3B\n font-weight\x3A bold\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup a\x3Ahover,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup a b,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a b \x7B \n font-weight\x3A normal\x3B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a \x7B\n font-weight\x3A bold\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup .wawfp_share \x7B\n border-bottom\x3A 1px solid \x23dadada\x3B\n padding\x3A 7px 0 11px\x3B\n margin-bottom\x3A 4px\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup .wawfp_share a \x7B\n font-weight\x3A normal\x3B\n font-size\x3A 12px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup .poweredby \x7B\n font-family\x3A arial, sans-serif\x3B\n font-size\x3A 10px\x3B\n color\x3A \x23555\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup .poweredby a \x7B\n display\x3A inline\x3B\n font-size\x3A 10px\x3B\n font-weight\x3A normal\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup .poweredby a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .waWidgetFooter .wawf_rate a, \n\x23wolframAlphaWidget24646 .wawf_getstripe a \x7B\n color\x3A \x23555\x3B\n font-family\x3A arial,sans-serif\x3B\n font-size\x3A 11px\x3B\n font-weight\x3A bold\x3B\n text-decoration\x3A none\x3B\n\x7D'; } else { var text = document.createTextNode('table\x23wolframAlphaWidget24646,\ndiv\x23wolframAlphaWidget24646\x7B\n font-family\x3A verdana, sans-serif\x3B\n font-size\x3A 10px\x3B\n line-height\x3A 12px\x3B\n word-wrap\x3A normal\x3B\n white-space\x3A auto\x3B\n color\x3A \x23000\x3B\n margin\x3A 12px auto 0\x3B\n padding\x3A 0\x3B\n min-width\x3A 140px\x3B\n background\x3A transparent\x3B\n border\x3A 0 none\x3B\n -webkit-text-size-adjust\x3A none\x3B \n width\x3A 360px\x3B \n\x7D\n\n\n\x23wolframAlphaWidgetOverlay24646,\n\x23wolframAlphaWidgetResults24646 \x7B\n height\x3A 450px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget24646 tr,\n\x23wolframAlphaWidget24646 tr th,\n\x23wolframAlphaWidget24646 tr td,\n\x23wolframAlphaWidget24646 form \x7B\n position\x3A static\x3B\n margin\x3A 0\x3B\n padding\x3A 0\x3B\n vertical-align\x3A middle\x3B\n\x7D\n\n\n\x23wolframAlphaWidget24646 tr th \x7B\n color\x3A \x23333\x3B \n\x7D\n\n\x23wolframAlphaWidget24646 table.wolframAlphaWidgetContent td \x7B\n padding-right\x3A 2px\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 table.wolframAlphaWidgetContent table.submit td \x7B\n padding\x3A 0\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 table,\n\x23wolframAlphaWidget24646 form,\n\x23wolframAlphaWidget24646 fieldset,\n\x23wolframAlphaWidget24646 table.wolframAlphaWidgetContent table.submit \x7B\n border\x3A 0 none\x3B\n background\x3A transparent none\x3B\n\x7D\n\n\n\x2F\x2A footer popups \x2F links \x2A\x2F\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfo,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetShare,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfo a,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetShare a \x7B\n font-size\x3A 11px\x3B\n line-height\x3A 17px\x3B\n color\x3A \x23555\x3B \n text-decoration\x3A none\x3B\n outline\x3A none\x3B\n font-family\x3A arial, sans-serif\x3B\n font-weight\x3A bold\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup a\x3Ahover,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup a b,\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a b \x7B \n font-weight\x3A normal\x3B\n color\x3A \x23ed602f\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a \x7B\n font-weight\x3A bold\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup .wawfp_share \x7B\n border-bottom\x3A 1px solid \x23dadada\x3B\n padding\x3A 7px 0 11px\x3B\n margin-bottom\x3A 4px\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetSharePopup .wawfp_share a \x7B\n font-weight\x3A normal\x3B\n font-size\x3A 12px\x3B\n\x7D\n\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup .poweredby \x7B\n font-family\x3A arial, sans-serif\x3B\n font-size\x3A 10px\x3B\n color\x3A \x23555\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup .poweredby a \x7B\n display\x3A inline\x3B\n font-size\x3A 10px\x3B\n font-weight\x3A normal\x3B\n color\x3A \x23fe6518\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .wolframAlphaWidgetInfoPopup .poweredby a\x3Ahover \x7B\n color\x3A \x23db0303\x3B\n\x7D\n\n\x23wolframAlphaWidget24646 .waWidgetFooter .wawf_rate a, \n\x23wolframAlphaWidget24646 .wawf_getstripe a \x7B\n color\x3A \x23555\x3B\n font-family\x3A arial,sans-serif\x3B\n font-size\x3A 11px\x3B\n font-weight\x3A bold\x3B\n text-decoration\x3A none\x3B\n\x7D'); coreCss24646.appendChild(text); } document.getElementsByTagName("head")[0].appendChild( coreCss24646 ); var baseCss = document.getElementById("WolframAlphaBaseStyles"); if ( typeof(baseCss) === 'undefined' || baseCss === null ){ baseCss = document.createElement('link'); baseCss.id = 'WolframAlphaBaseStyles'; baseCss.type = 'text/css'; baseCss.rel = 'stylesheet'; baseCss.href = '//www.wolframalpha.com/css/widget/base.css'; document.getElementsByTagName("head")[0].appendChild( baseCss ); } var grayCss = document.getElementById("WolframAlphaThemeStylesgray"); if ( typeof(grayCss) === 'undefined' || grayCss === null ){ grayCss = document.createElement('link'); grayCss.id = 'WolframAlphaThemeStylesgray'; grayCss.type = 'text/css'; grayCss.rel = 'stylesheet'; grayCss.href = '//www.wolframalpha.com/css/widget/gray.css'; document.getElementsByTagName("head")[0].appendChild( grayCss ); } if ( typeof(jQuery) === 'function' ){ wolframAlphaWidget_Load24646(); } else { if ( typeof(WolframAlphaWidget.loadJQuery) === 'undefined' || WolframAlphaWidget.loadJQuery !== true ){ WolframAlphaWidget.loadJQuery = true; var wawjs = document.createElement('script'); // wawjs.src = '//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'; wawjs.src = '//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'; document.getElementsByTagName('body')[0].appendChild(wawjs); } WolframAlphaWidget['5075763dba6ec763f31004272f8aa7fa'].loadFunctionId = setInterval("wolframAlphaWidget_Load24646()",50); } })(); function wolframAlphaWidget_Load24646(){ if ( typeof(jQuery) === 'function' ){ jQuery("#WolframAlphaScript5075763dba6ec763f31004272f8aa7fa").after( jQuery('\x3Cdiv class\x3D\"WolframAlphaWidgetLarge grayWidgetTheme collapse\" style\x3D\"position\x3A relative\x3B \" id\x3D\"wolframAlphaWidget24646\"\x3E\x3Cdiv class\x3D\"waw_header \"\x3E\x3Cdiv class\x3D\"l\" \x3E\x3C\x2Fdiv\x3E\n Piecewise Function Widget\x3Cdiv class\x3D\"r\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"close\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetBody \"\x3E\x3Cform action\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Finput\x2F\" id\x3D\"wolframAlphaWidgetForm24646\"\x3E\x3Cfieldset\x3E\n \x3Ctable class\x3D\"wolframAlphaWidgetContent\"\x3E \x3Ctr\x3E \x3Ctd\x3EFunction 1\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i0\" name\x3D\"input2\" value\x3D\"x\x5E2\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\x3E \x3Ctd\x3EDomain1\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i1\" name\x3D\"input1\" value\x3D\"0\x26lt\x3Bx\x26lt\x3B1\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\x3E \x3Ctd\x3EFunction 2\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i2\" name\x3D\"input3\" value\x3D\"x\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\x3E \x3Ctd\x3EDomain2\x3C\x2Ftd\x3E \x3Ctd\x3E\x3Cinput type\x3D\"text\" maxlength\x3D\"200\" id\x3D\"i3\" name\x3D\"input4\" value\x3D\"x\x26gt\x3B1\" size\x3D\"12\"\x2F\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3Ctr\x3E \x3Ctd\x3E\x3Ctable class\x3D\"submit\" cellpadding\x3D\"0\" cellspacing\x3D\"0\"\x3E\x3Ctr\x3E\x3Ctd class\x3D\"l\"\x3E\x3C\x2Ftd\x3E\x3Ctd class\x3D\"m\"\x3ESubmit\x3C\x2Ftd\x3E\x3Ctd class\x3D\"r\"\x3E\x3C\x2Ftd\x3E\x3C\x2Ftr\x3E\x3C\x2Ftable\x3E\x3C\x2Ftd\x3E \x3C\x2Ftr\x3E \x3C\x2Ftable\x3E \x3Cinput type\x3D\"hidden\" name\x3D\"i\" id\x3D\"i\" value\x3D\"\" \x2F\x3E\x3Cinput type\x3D\"hidden\" name\x3D\"querytemplate\" id\x3D\"querytemplate\" value\x3D\"piecewise\x5B\x7B\x7B\x5B\x2F\x2Ffunction\x3A\x24\x7Binput2\x7D\x2F\x2F\x5D,\x5B\x2F\x2Frange\x3A\x24\x7Binput1\x7D\x2F\x2F\x5D\x7D, \x7B\x5B\x2F\x2Ffunction\x3A\x24\x7Binput3\x7D\x2F\x2F\x5D,\x5B\x2F\x2Frange\x3A\x24\x7Binput4\x7D\x2F\x2F\x5D\x7D\x7D\x5D\"\x2F\x3E\x3C\x2Ffieldset\x3E\x3C\x2Fform\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetOutput\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetComputingOverlay\" id\x3D\"wolframAlphaWidgetOverlay24646\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetComputingSpinner\"\x3EComputing...\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Ciframe class\x3D\"wolframAlphaWidgetResults\" id\x3D\"wolframAlphaWidgetResults24646\" width\x3D\"100\x25\" frameborder\x3D\"0\" style\x3D\"height\x3A 450px\x3B background\x3A transparent\x3B\" src\x3D\"\"\x3E\x3C\x2Fiframe\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"waWidgetFooter\"\x3E\x3Cdiv class\x3D\"l\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"r\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wawf_rate\"\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D5075763dba6ec763f31004272f8aa7fa\" target\x3D\"_blank\"\x3EGet this widget\x3C\x2Fa\x3E\x3C\x2Fdiv\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\" class\x3D\"logo \" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetInfo\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetInfoPopup\"\x3E\x3Cdiv class\x3D\"wawfp_top\"\x3E\x3C\x2Fdiv\x3E\x3Ca class\x3D\"wawipl_1\" href\x3D\"http\x3A\x2F\x2Fdeveloper.wolframalpha.com\x2Fwidgetbuilder\x2F\" target\x3D\"_blank\"\x3EBuild your own widget\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_2\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2F\" target\x3D\"_blank\"\x3EBrowse widget gallery\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_3\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2F\" target\x3D\"_blank\"\x3ELearn more\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawipl_4\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D5075763dba6ec763f31004272f8aa7fa\x26reportprob\x3D1\" target\x3D\"_blank\"\x3EReport a problem\x26nbsp\x3B\x3Cb\x3E\x26raquo\x3B\x3C\x2Fb\x3E\x3C\x2Fa\x3E\x3Cspan class\x3D\"poweredby\"\x3EPowered by \x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\" target\x3D\"_blank\"\x3EWolfram\x7CAlpha\x3C\x2Fa\x3E\x3Cbr\x2F\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fdeveloper.wolframalpha.com\x2Fwidgetterms.html\" target\x3D\"_blank\"\x3ETerms of use\x3C\x2Fa\x3E\x3C\x2Fspan\x3E\x3Cdiv class\x3D\"wawfp_bot\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetShare\"\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetSharePopup\"\x3E\x3Cdiv class\x3D\"wawfp_top\"\x3E\x3C\x2Fdiv\x3E\x3Cp\x3EShare a link to this widget\x3A\x3C\x2Fp\x3E\x3Cdiv class\x3D\"wawfp_share\"\x3E\x3Ca class\x3D\"wawfp_fb\" href\x3D\"http\x3A\x2F\x2Fwww.facebook.com\x2Fshare.php\x3Fu\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d5075763dba6ec763f31004272f8aa7fa\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_tw\" href\x3D\"http\x3A\x2F\x2Ftwitter.com\x2Fhome\x3Fstatus\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d5075763dba6ec763f31004272f8aa7fa\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_dl\" href\x3D\"http\x3A\x2F\x2Fdel.icio.us\x2Fpost\x3Furl\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d5075763dba6ec763f31004272f8aa7fa\x26title\x3D\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_dg\" href\x3D\"http\x3A\x2F\x2Fdigg.com\x2Fsubmit\x3Furl\x3Dhttp\x253a\x252f\x252fwww.wolframalpha.com\x252fwidgets\x252fgallery\x252fview.jsp\x253fid\x253d5075763dba6ec763f31004272f8aa7fa\x26phase\x3D2\" target\x3D\"_blank\"\x3E\x3C\x2Fa\x3E\x3Ca class\x3D\"wawfp_more\" href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D5075763dba6ec763f31004272f8aa7fa\" target\x3D\"_blank\"\x3EMore\x3C\x2Fa\x3E\x3Cbr style\x3D\"clear\x3A both\x3B\" \x2F\x3E\x3C\x2Fdiv\x3E\x3Ca href\x3D\"http\x3A\x2F\x2Fwww.wolframalpha.com\x2Fwidgets\x2Fgallery\x2Fview.jsp\x3Fid\x3D5075763dba6ec763f31004272f8aa7fa\" target\x3D\"_blank\"\x3EEmbed this widget\x26nbsp\x3B\x26raquo\x3B\x3C\x2Fa\x3E\x3Cdiv class\x3D\"wawfp_bot\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\n\x3Cdiv class\x3D\"alphaInput\" style\x3D\"display\x3A none\x3B\" id\x3D\"widgetFooterInput24646\"\x3E\x3Cdiv class\x3D\"left\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"input\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"right\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv id\x3D\"eq24646\" class\x3D\"equal\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E\x3Cdiv class\x3D\"wolframAlphaWidgetBeta\" id\x3D\"wolframAlphaWidgetBeta24646\"\x3E\x3C\x2Fdiv\x3E\x3C\x2Fdiv\x3E') ); clearInterval( WolframAlphaWidget['5075763dba6ec763f31004272f8aa7fa'].loadFunctionId ); if ( 'WebkitAppearance' in document.documentElement.style ){ //get around webkit document.ready bug var _timer = setInterval(function() { if (/loaded|complete/.test(document.readyState)) { clearInterval(_timer); try{ wolframAlphaWidget_Init24646(); }catch(e){} } }, 10); } else { jQuery(document).ready( function(){ try{wolframAlphaWidget_Init24646();}catch(e){} }); } } }