|-(bobby@Desktop)-(0)-(12:18 AM Fri Dec 23)-> |-(~/Cpp Projects/FactoringTool/bin/Debug)-(1 files, 52Kb)--> ./FactoringTool The polynomial you entered has coefficients: A: 1 B: 8 C: 15 Does this look correct? 1. Yes 2. No 2 Please enter the coefficient for x^2: 1 Please enter the coefficient for x: -2 Please enter the constant term (c): -15 The polynomial you entered has coefficients: A: 1 B: -2 C: -15 Factoring C (-15)...... Format of results: Factor on top Divisor on bottom 15 5 3 1 1 3 5 15 With a total of 4 possible factors to use. Testing these factors....... in (x+a)(x+b) a is -5 and b is 3 So your final form is (x-5)(x+3) |
|-(bobby@Desktop)-(0)-(12:20 AM Fri Dec 23)-> |-(~/Cpp Projects/FactoringTool/bin/Debug)-(1 files, 52Kb)--> ./FactoringTool The polynomial you entered has coefficients: A: 1 B: 8 C: 15 Does this look correct? 1. Yes 2. No 2 Please enter the coefficient for x^2: 1 Please enter the coefficient for x: -4 Please enter the constant term (c): -60 The polynomial you entered has coefficients: A: 1 B: -4 C: -60 Factoring C (-60)...... Format of results: Factor on top Divisor on bottom 15 30 20 15 12 10 6 5 4 1 2 3 4 5 6 10 12 15 With a total of 9 possible factors to use. Testing these factors....... in (x+a)(x+b) a is -10 and b is 6 So your final form is (x-10)(x+6) *** glibc detected *** ./FactoringTool: free(): invalid next size (fast): 0x00000069a6ae2230 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x76115)[0x318c1b54115] /lib64/libc.so.6(cfree+0x6c)[0x318c1b5904c] ./FactoringTool(+0x1504)[0x69a68d4504] ./FactoringTool(main+0x702)[0x69a68d4ce2] /lib64/libc.so.6(__libc_start_main+0xfd)[0x318c1b0020d] ./FactoringTool(+0xbb9)[0x69a68d3bb9] ======= Memory map: ======== 69a68d3000-69a68d6000 r-xp 00000000 08:03 15467796 /home/bobby/Cpp Projects/FactoringTool/bin/Debug/FactoringTool 69a6ad5000-69a6ad6000 r--p 00002000 08:03 15467796 /home/bobby/Cpp Projects/FactoringTool/bin/Debug/FactoringTool 69a6ad6000-69a6ad7000 rw-p 00003000 08:03 15467796 /home/bobby/Cpp Projects/FactoringTool/bin/Debug/FactoringTool 69a6ad7000-69a6b04000 rw-p 00000000 00:00 0 [heap] 318bc000000-318bc021000 rw-p 00000000 00:00 0 318bc021000-318c0000000 ---p 00000000 00:00 0 318c1ade000-318c1c63000 r-xp 00000000 08:03 12871890 /lib64/libc-2.14.1.so 318c1c63000-318c1e62000 ---p 00185000 08:03 12871890 /lib64/libc-2.14.1.so 318c1e62000-318c1e66000 r--p 00184000 08:03 12871890 /lib64/libc-2.14.1.so 318c1e66000-318c1e67000 rw-p 00188000 08:03 12871890 /lib64/libc-2.14.1.so 318c1e67000-318c1e6c000 rw-p 00000000 00:00 0 318c1e6c000-318c1e81000 r-xp 00000000 08:03 8913988 /lib64/libgcc_s.so.1 318c1e81000-318c2080000 ---p 00015000 08:03 8913988 /lib64/libgcc_s.so.1 318c2080000-318c2081000 r--p 00014000 08:03 8913988 /lib64/libgcc_s.so.1 318c2081000-318c2082000 rw-p 00015000 08:03 8913988 /lib64/libgcc_s.so.1 318c2082000-318c2103000 r-xp 00000000 08:03 12865885 /lib64/libm-2.14.1.so 318c2103000-318c2302000 ---p 00081000 08:03 12865885 /lib64/libm-2.14.1.so 318c2302000-318c2303000 r--p 00080000 08:03 12865885 /lib64/libm-2.14.1.so 318c2303000-318c2304000 rw-p 00081000 08:03 12865885 /lib64/libm-2.14.1.so 318c2304000-318c2402000 r-xp 00000000 08:03 11966648 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 318c2402000-318c2602000 ---p 000fe000 08:03 11966648 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 318c2602000-318c260b000 r--p 000fe000 08:03 11966648 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 318c260b000-318c260c000 rw-p 00107000 08:03 11966648 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 318c260c000-318c2620000 rw-p 00000000 00:00 0 318c2620000-318c2641000 r-xp 00000000 08:03 12872301 /lib64/ld-2.14.1.so 318c2808000-318c280d000 rw-p 00000000 00:00 0 318c283a000-318c283e000 rw-p 00000000 00:00 0 318c283e000-318c2840000 r-xp 00000000 00:00 0 [vdso] 318c2840000-318c2841000 r--p 00020000 08:03 12872301 /lib64/ld-2.14.1.so 318c2841000-318c2842000 rw-p 00021000 08:03 12872301 /lib64/ld-2.14.1.so 318c2842000-318c2843000 rw-p 00000000 00:00 0 3a0ffb7f000-3a0ffba1000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r--p 00000000 00:00 0 [vsyscall] Aborted |
|
|
|
|
|
|
|
|
|
|
|-(bobby@Desktop)-(0)-(12:20 AM Fri Dec 23)-> |-(~/Cpp Projects/FactoringTool/bin/Debug)-(1 files, 52Kb)--> ./FactoringTool The polynomial you entered has coefficients: A: 1 B: 8 C: 15 Does this look correct? 1. Yes 2. No 2 Please enter the coefficient for x^2: 1 Please enter the coefficient for x: -4 Please enter the constant term (c): -60 The polynomial you entered has coefficients: A: 1 B: -4 C: -60 Factoring C (-60)...... Format of results: Factor on top Divisor on bottom 60 30 20 15 12 10 6 5 4 1 2 3 4 5 6 10 12 15 With a total of 9 possible factors to use. Testing these factors....... in (x+a)(x+b) a is -10 and b is 6 So your final form is (x-10)(x+6) |