LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2006, 12:51 AM   #1
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
math expression gives two diffrent answers (by hand and by mathomatic)


hello ...
im using mathomatic in my IT studies.

debian:/home/mha13# apt-cache policy mathomatic
mathomatic:
Installed: 12.5.16-1
Candidate: 12.5.16-1
Version table:
*** 12.5.16-1 0
500 http://mirror.hamakor.org.il testing/main Packages
500 http://mirror.hamakor.org.il unstable/main Packages
100 /var/lib/dpkg/status

i was checking my homework and i found something very odd :

in the equsion (from package mathomatic):

(a^2) | (18 + (2*(a^2))) | 3*a*((a^2) + a + 15)
#9: y = ------- | + | --------------------------- | -| --------------------
(a - 3) | ((a^2) + (3*a) + 9) | ((a^3) - 27)

if run the function simplify ill get y=2 + a

the issue is that if answer this by hand i get other result :



(a^2) (18 + (2*(a^2))) 3*a*((a^2) + a + 15)
#9: y = ------- + -------------------- - ------------------
(a - 3) ((a^2) + (3*a) + 9) ((a^3) - 27)


using the formula a^3 - b^3= (a-b)(a^2 + ab + b^2)


there for a^3 -27 = ((a^2) + (3*a) + 9) * (a - 3)



(a^2) *((a^2) + (3*a) + 9) + (18 + (2*(a^2)))*(a-3) - 3*a*((a^2) + a + 15)
= ----------------------------------------------------------------------
((a^3) - 27)



the strange issue is that upper expression should be
= a^4 - 3a^2 + 9a^2 + 18a + 2a^3 -54 -6a^2 -3a^3 - 3a^2 -45a
= a4 - a^3 +3a^2 - 27a - 54.

but when i put in mathomatic the expression :

(a^2) *(a^2 + 3*a + 9) + (18 + 2*a^2)*(a-3) - 3*a*a^2 + a + 15)

ill get :

#13: y = ((a^2)*((a^2) + (3*a) + 9)) + ((18 + (2*(a^2)))*(a - 3)) - (3*a*((a^2) + a + 15))

13-> simplify

#13: y = (a^4) + (2*(a^3)) - (27*a) - 54


where did the a^3 went away ?

p.s

i know that it is 6 grade issues but still i can't figure it out ..

Yours Truley

Last edited by jabka; 08-09-2006 at 03:21 AM.
 
Old 08-09-2006, 01:00 AM   #2
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Original Poster
Rep: Reputation: 31
i saw that my msh could be messed up couse of font size so :

here is the orignal equsion.




here is what mathomatic gave me for the upper equsion
 
Old 08-09-2006, 01:31 AM   #3
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
Well, my old work horse, the TI-89, tells me that

a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Seems you've got a sign wrong
 
Old 08-09-2006, 03:39 AM   #4
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Original Poster
Rep: Reputation: 31
oops ..

thnx but it was a misstype (you can that i used the correct formule in the pictuers and in )
still it won't answer for me .

found the answer :
Quote:
the strange issue is that upper expression should be
= a^4 - 3a^2 + 9a^2 + 18a + 2a^3 -54 -6a^2 -3a^3 - 3a^2 -45a
= a4 - a^3 +3a^2 - 27a - 54.
its ain't -3a^2 it is 3a^3 ..

god im bad in algebra ..
 
Old 08-09-2006, 07:51 PM   #5
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
It's really easy to make these kind of mistakes, like sign errors or getting a power wrong, so don't worry about it. That's why one has to practice; math is a craft
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
math program that I can enter math functions ... Four General 5 04-19-2006 08:02 PM
How to assign diffrent ip/hostnames to diffrent services koppaspider Linux - General 1 02-10-2006 09:03 PM
LXer: Linux Training and Laptops Go Hand in Hand at LinuxCertified LXer Syndicated Linux News 0 01-31-2006 12:01 PM
Can you tell me some diffrent between LILO and GRUB? Khmer Linux - Newbie 5 10-21-2005 09:39 AM
What is diffrent between LILO and GRUP ? Khmer Linux - Newbie 6 09-08-2005 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration