473,396 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

equations

(c+2) +8 =4 i cannot work this out...HELP!!!!!
Oct 11 '07 #1
8 1030
RedSon
5,000 Expert 4TB
(c+2) +8 =4 i cannot work this out...HELP!!!!!
You can't solve for c in this equation?

How do you solve this:

c + 2 + 8 -4 = 0?
Oct 11 '07 #2
MMcCarthy
14,534 Expert Mod 8TB
(c+2) +8 =4 i cannot work this out...HELP!!!!!
As RedSon says you can simply move the 4 to the left and make it negative. The brackets in this case won't have any effect as all the operators are + or - and so precedence has no meaning.
Oct 13 '07 #3
RedSon
5,000 Expert 4TB
As RedSon says you can simply move the 4 to the left and make it negative. The brackets in this case won't have any effect as all the operators are + or - and so precedence has no meaning.
Here is a tough question, how do you solve this?

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2]

zOMG!
Oct 15 '07 #4
mrnn
29
Here is a tough question, how do you solve this?

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2]

zOMG!
4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2]

parenthesis first

4 + [ -3 + 17 ] = 15 - [ 2 + 5 + 2 ]

now the brackets

4 + 14 = 15 - 9

now the basic math

18 = 6

......hmmmm...........that could be a problem.....
Oct 15 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2]

parenthesis first

4 + [ -3 + 17 ] = 15 - [ 2 + 5 + 2 ]

now the brackets

4 + 14 = 15 - 9

now the basic math

18 = 6

......hmmmm...........that could be a problem.....
LOL!

Oops, RedSon can't add ....

and I'm sorry yes, parenthesis do count :)
Oct 15 '07 #6
RedSon
5,000 Expert 4TB
4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2]

parenthesis first

4 + [ -3 + 17 ] = 15 - [ 2 + 5 + 2 ]

now the brackets

4 + 14 = 15 - 9

now the basic math

18 = 6

......hmmmm...........that could be a problem.....
Duh I forgot to add the unknown quantity into my equation ROFL!!

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2] + x

There that should be solveable.
Oct 16 '07 #7
MMcCarthy
14,534 Expert Mod 8TB
Duh I forgot to add the unknown quantity into my equation ROFL!!

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2] + x

There that should be solveable.
If you don't ignore parenthesis

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2] + x

4 + [-3+17] = 15 - [2 + 5 + 2] + x
4 + 14 = 15 - 9 + x
18 = 6 + x
18 - 6 = x
12 = x

However, if you do ignore parenthesis (which is wrong)

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2] + x
4 + 6 - 9 + 8 + 9 = 15 - 2 + 3 - 6 + 8 + 2 + x
18 = 20 + x
18 - 20 = x
-2 = x

My algebra tutor would be horrified :D
Oct 16 '07 #8
RedSon
5,000 Expert 4TB
If you don't ignore parenthesis

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2] + x

4 + [-3+17] = 15 - [2 + 5 + 2] + x
4 + 14 = 15 - 9 + x
18 = 6 + x
18 - 6 = x
12 = x

However, if you do ignore parenthesis (which is wrong)

4 + [( 6 - 9 ) + (8 + 9)] = 15 - [2 + ( 3 - 6 + 8 ) + 2] + x
4 + 6 - 9 + 8 + 9 = 15 - 2 + 3 - 6 + 8 + 2 + x
18 = 20 + x
18 - 20 = x
-2 = x

My algebra tutor would be horrified :D
Don't feel bad Mary, in a simple equation like (2 + 5) - c = 8, parenthesis don't matter, well, they do but they are irrelevant in this case. So I can understand your tendency to say that for an equation where all the operators have the same order of precedence it doesn't matter.
Oct 16 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: smjmitchell | last post by:
Hi All, I need to display some equations on a form in VB (I will print the result in a text box beside the equation). The equations will in some cases be quite complicated and include...
7
by: Paddy McCarthy | last post by:
Hi, I am trying to use eval as little as possible but solve this problem. #If given:two or more lambda equations x=lambda : A < B y=lambda : C+6 >= 7 .... How do I create another lambda...
8
by: vj | last post by:
Hi all, I want to solve the two equations u*tan(u)=w and u^2 + w^2=V^2, where V is a known constant, and u and w are the two unknowns to be determined. Please can someone suggest me how to...
4
by: Thomas | last post by:
Hi, I've to solve a system of linear equations and inequations in C++. Are there (free) librarys for that topic? Regards, Thomas
8
by: Blah | last post by:
Hi, this is a small program to print out three lists of values. One is a simple increment count the others are values from two equations. I've run this without problems before but when I've put in...
1
by: easternshredman | last post by:
I've got a project due tomorrow. I tried to do it in Maple because of the math functions available but it wasn't very user friendly so I switched over to VB. I do need to know how to make equations...
2
by: DaRok28 | last post by:
// Program Description: // This program solves quadratic equations to find their roots. This // program takes values of a, b, and c as input and outputs the root(s). // The user can repeat the...
6
by: omesh | last post by:
hi guys.. i got a problem.. could anyone help me write a program.. the program is as follows:- 2. Solving systems of Linear equations using Iteration: You are required to write a C++ program...
4
by: sdufoo | last post by:
Hallo guys, I have to solve a system of Differential equations: http://picasaweb.google.de/sdufoo/EcuacionesDiferenciales02/photo#5228386949051570594 these are the equations of an induction...
1
by: HypeBeast McStreetwear | last post by:
Hello everyone. I got a assignment that states. The set of linear equations a11X1 = a12X2 = c1 a21X1 = a22X2 = c2 May be solved using Cramer’s rule: X1 = c1a22 – c2a12 a11a22 –...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.