Rectangle - sides


#0  xxx() called at [/LinSys.php:671]
#1  LinSys::tryIntegerEquations(Array ([0] => D,[1] => F,[2] => a,[3] => c,[4] => d,[5] => e,[6] => f,[7] => m,[8] => o,[9] => p,[10] => q,[11] => r,[12] => t,[13] => x), Array ([0] => a^2 +5a -266 =0,[1] => p=1,[2] => q=5,[3] => r=-266,[4] => D = q^2 - 4pr = 5^2 - 4** 1 ** (-266) = 1089,[5] => ax{1.2} = frac{ -q pm sqrt{ D } }{ 2p } = frac{ -5 pm sqrt{ 1089 } }{ 2 },[6] => ax{1.2} = frac{ -5 pm 33 }{ 2 },[7] => ax{1.2} = -2.5 pm 16.5,[8] => ax{1} = 14,[9] => ax{2} = -19,[10] => (a -14) (a +19) = 0), 1) called at [/LinSys.php:344]
#2  LinSys::SolveInner(a^2 +5a -266 =0
p=1; q=5; r=-266
D = q^2 - 4pr = 5^2 - 4** 1 ** (-266) = 1089
D>0

ax{1.2} = frac{ -q pm sqrt{ D } }{ 2p } = frac{ -5 pm sqrt{  1089 } }{ 2 } 
ax{1.2} = frac{ -5 pm 33 }{ 2 }
ax{1.2}  = -2.5 pm 16.5
ax{1}  = 14
                ax{2}  = -19

text{ Factored form: }
		 (a -14) (a +19) = 0, , 1, linsys, 1, , 1, 1) called at [/LinSys.php:220]
#3  LinSys::Solve(a^2 +5a -266 =0
p=1; q=5; r=-266
D = q^2 - 4pr = 5^2 - 4** 1 ** (-266) = 1089
D>0

a_{1,2} = \frac{ -q \pm \sqrt{ D } }{ 2p } = \frac{ -5 \pm \sqrt{  1089 } }{ 2 } 
a_{1,2} = \frac{ -5 \pm 33 }{ 2 }
a_{1,2}  = -2.5 \pm 16.5
a_{1}  = 14
                a_{2}  = -19

\text{ Factored form: }
		 (a -14) (a +19) = 0, , 1, linsys, 1, , 1) called at [/Example_Generic.php:87]
#4  Example_Generic->GenerateSolveVector(stdClass Object ([example_id] => 1036,[title_sk] => Obĺžnik - strany,[title_en] => Rectangle - sides,[title_cz] => Obdélník - strany,[add_date] => 2014-05-11 15:06:44,[img] => colored_squares.jpg,[visible] => 1,[text_sk] => Aký je obvod obdĺžnika, ktorého obsah je $S cm^2 a dĺžka kratšej strany je o $dx cm kratšia ako dĺžka dlhšej strany?,[text_en] => What is the perimeter of a rectangle with area  $S cm^2 if  length of the shorter side is $dx cm shorter than the length of the longer side?,[text_cz] => Jaký je obvod obdélníku, jehož obsah je $S cm^2 a délka kratší strany je o $dx cm kratší než délka delší strany?,[input_vector] => do
{
$a = rand(10,40);
$b = rand(10,40);
}while($a== $b);
$dx = abs($a-$b);
$S = $a*$b;,[output_vector] => $o = new StdClass();
$o->in="x=#cm";
$o->val = "2*($a+$b)";
$eq = QTex(1,$dx, -$S, 'a', true);
$o->tex = "ab = $S
b = a + $dx
a(a+$dx) = $S
a^2 + $dx a - $S =0

$eq

a = $a
b=  $b
o = 2(a+b) = RES";,[user_id] => 12,[approved] => 1,[cnt_views] => 12006,[cnt_solved] => 413,[cnt_solved_ok] => 20,[focus] => 1,[preview_sk] => Aký je obvod obdĺžnika, ktorého obsah je 266 cm^2 a dĺžka kratšej strany je o 5 cm kratšia ako dĺžka dlhšej strany?,[preview_en] => What is the perimeter of a rectangle with area  266 cm^2 if  length of the shorter side is 5 cm shorter than the length of the longer side?,[preview_cz] => Jaký je obvod obdélníku, jehož obsah je 266 cm^2 a délka kratší strany je o 5 cm kratší než délka delší strany?,[preview_vector_sk] => O:8:"stdClass":4:{s:1:"a";i:14;s:1:"b";i:19;s:2:"dx";i:5;s:1:"S";i:266;},[preview_vector_en] => O:8:"stdClass":4:{s:1:"a";i:14;s:1:"b";i:19;s:2:"dx";i:5;s:1:"S";i:266;},[preview_vector_cz] => O:8:"stdClass":4:{s:1:"a";i:14;s:1:"b";i:19;s:2:"dx";i:5;s:1:"S";i:266;},[last_regenerate] => 2019-07-09 16:16:26,[external_url] => http://forum.matematika.cz/viewtopic.php?id=73651,[suggestion_id] => 0,[fulltext_sk] => ~ oblznik strany aky je obvod obdlznika ktoreho obsah 266 cm^2 a dlzka kratsej o 5 cm kratsia ako dlhsej kvadraticka rovnica algebra planimetria obdlznik 9 rocnik stredna skola 1036 ~,[fulltext_en] => ~ rectangle sides what is the perimeter of a rectangle with area 266 cm^2 if length shorter side 5 cm than longer quadratic equation algebra planimetrics shape 9t 9 th grade 14y 4 y high school 1036 ~,[fulltext_cz] => ~ obdelnik strany jaky je obvod obdelniku jehoz obsah 266 cm^2 a delka kratsi o 5 cm nez delsi kvadraticka rovnice algebra planimetrie obdelnik 9 rocnik stredni skola 1036 ~,[english_last_modified] => 0000-00-00 00:00:00,[title] => Rectangle - sides,[text] => What is the perimeter of a rectangle with area  $S cm^2 if  length of the shorter side is $dx cm shorter than the length of the longer side?), stdClass Object ([a] => 14,[b] => 19,[dx] => 5,[S] => 266)) called at [/Example_Generic.php:869]
#5  Example_Generic->Run(stdClass Object ([example_id] => 1036,[title_sk] => Obĺžnik - strany,[title_en] => Rectangle - sides,[title_cz] => Obdélník - strany,[add_date] => 2014-05-11 15:06:44,[img] => colored_squares.jpg,[visible] => 1,[text_sk] => Aký je obvod obdĺžnika, ktorého obsah je $S cm^2 a dĺžka kratšej strany je o $dx cm kratšia ako dĺžka dlhšej strany?,[text_en] => What is the perimeter of a rectangle with area  $S cm^2 if  length of the shorter side is $dx cm shorter than the length of the longer side?,[text_cz] => Jaký je obvod obdélníku, jehož obsah je $S cm^2 a délka kratší strany je o $dx cm kratší než délka delší strany?,[input_vector] => do
{
$a = rand(10,40);
$b = rand(10,40);
}while($a== $b);
$dx = abs($a-$b);
$S = $a*$b;,[output_vector] => $o = new StdClass();
$o->in="x=#cm";
$o->val = "2*($a+$b)";
$eq = QTex(1,$dx, -$S, 'a', true);
$o->tex = "ab = $S
b = a + $dx
a(a+$dx) = $S
a^2 + $dx a - $S =0

$eq

a = $a
b=  $b
o = 2(a+b) = RES";,[user_id] => 12,[approved] => 1,[cnt_views] => 12006,[cnt_solved] => 413,[cnt_solved_ok] => 20,[focus] => 1,[preview_sk] => Aký je obvod obdĺžnika, ktorého obsah je 266 cm^2 a dĺžka kratšej strany je o 5 cm kratšia ako dĺžka dlhšej strany?,[preview_en] => What is the perimeter of a rectangle with area  266 cm^2 if  length of the shorter side is 5 cm shorter than the length of the longer side?,[preview_cz] => Jaký je obvod obdélníku, jehož obsah je 266 cm^2 a délka kratší strany je o 5 cm kratší než délka delší strany?,[preview_vector_sk] => O:8:"stdClass":4:{s:1:"a";i:14;s:1:"b";i:19;s:2:"dx";i:5;s:1:"S";i:266;},[preview_vector_en] => O:8:"stdClass":4:{s:1:"a";i:14;s:1:"b";i:19;s:2:"dx";i:5;s:1:"S";i:266;},[preview_vector_cz] => O:8:"stdClass":4:{s:1:"a";i:14;s:1:"b";i:19;s:2:"dx";i:5;s:1:"S";i:266;},[last_regenerate] => 2019-07-09 16:16:26,[external_url] => http://forum.matematika.cz/viewtopic.php?id=73651,[suggestion_id] => 0,[fulltext_sk] => ~ oblznik strany aky je obvod obdlznika ktoreho obsah 266 cm^2 a dlzka kratsej o 5 cm kratsia ako dlhsej kvadraticka rovnica algebra planimetria obdlznik 9 rocnik stredna skola 1036 ~,[fulltext_en] => ~ rectangle sides what is the perimeter of a rectangle with area 266 cm^2 if length shorter side 5 cm than longer quadratic equation algebra planimetrics shape 9t 9 th grade 14y 4 y high school 1036 ~,[fulltext_cz] => ~ obdelnik strany jaky je obvod obdelniku jehoz obsah 266 cm^2 a delka kratsi o 5 cm nez delsi kvadraticka rovnice algebra planimetrie obdelnik 9 rocnik stredni skola 1036 ~,[english_last_modified] => 0000-00-00 00:00:00,[title] => Rectangle - sides,[text] => What is the perimeter of a rectangle with area  $S cm^2 if  length of the shorter side is $dx cm shorter than the length of the longer side?)) called at [/index_real.php:185]
#6  HackMath->ExampleDetail() called at [/index_real.php:316]
#7  HackMath->ExampleAction() called at [/index_real.php:461]
#8  HackMath->Run() called at [/index_real.php:815]
#9  include(/index_real.php) called at [/index.php:41]