The Geek Forum

Main Forums => Flamer's Corner => Topic started by: Evonus on February 16, 2007, 02:33:33 AM

Title: Algebra
Post by: Evonus on February 16, 2007, 02:33:33 AM
No I don't mean the class, I mean the actual doing of algebra. I didn't mind it so much when I was in Algebra I and II and the examples were designed to work, but now that I have to do it in the real world, solving for tens of variables I find it very aggravating, especially on nights like tonight, where I work through a problem for 45 minutes, only to find that I have a negative concentration of something, or a product stream rate equal to zero, or the same constant equaling two different values. I wish there was some magical program that would solve my systems of equations for me so I wouldn't have to spend my time tears and blood solving something so painful and tedious.  :|
Title: Re: Algebra
Post by: Min on February 16, 2007, 08:23:00 AM
I think he's just trying to get me to post.
Title: Re: Algebra
Post by: 12AX7 on February 16, 2007, 08:36:36 AM
Seems to have worked. A little bit.
Title: Re: Algebra
Post by: BizB on February 16, 2007, 09:25:10 AM
komputars are dum lol
Title: Re: Algebra
Post by: hackess on February 16, 2007, 12:45:35 PM
For someone who says he's good with logic and debate, you'd think you'd be able to handle some algebra.
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 12:53:17 PM
For someone who says he's good with logic and debate, you'd think you'd be able to handle some algebra.

Oh this isn't just "some" algebra. These kinds of problems usually involve over 10 variables and take up about 1.5-2.5 pages per problem. It took me 8 hours to do my 6 problem homework assignment last night. This is the devil's algebra. Seriously, this algebra makes the multi variable calculus problems I had to do last semester look concise.
Title: Re: Algebra
Post by: ivan on February 16, 2007, 12:55:45 PM
I thought you said this was the "real world".

It's still homework, and solutions exist.

You just have to vault to the next level and solve them.

GO!
Title: Re: Algebra
Post by: ivan on February 16, 2007, 12:56:38 PM
And go ahead and post a problem. Even if this turns into a "Please Do My Homework For Me" thread, I still would like a crack at one.
Title: Re: Algebra
Post by: ivan on February 16, 2007, 12:57:39 PM
Is it anything like Sudokku?
Title: Re: Algebra
Post by: pbsaurus on February 16, 2007, 01:08:06 PM
Use statistical software like SAS.
Title: Re: Algebra
Post by: ivan on February 16, 2007, 01:16:45 PM
Don't you SAS me!

SASSY MOLASSY!

Title: Re: Algebra
Post by: pbsaurus on February 16, 2007, 01:21:47 PM
sjingle jangley moljingle jangley
Title: Re: Algebra
Post by: Anyanka_was_framed on February 16, 2007, 01:26:12 PM
I thought you said this was the "real world".

It's still homework, and solutions exist.

You just have to vault to the next level and solve them.

GO!


I wasn't aware that algebra was good for the RL stuff.  I haven't yet come across any math above simple addition or subtraction... :w:
Title: Re: Algebra
Post by: ivan on February 16, 2007, 01:30:41 PM
Oh, there are tons of RL engineering problems that require more that addition and subtraction. Triangulation, for instance.
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 01:31:03 PM
I wasn't aware that algebra was good for the RL stuff.  I haven't yet come across any math above simple addition or subtraction... :w:

That's because you aren't going to college to be an engineer.  :wink:
Title: Re: Algebra
Post by: ivan on February 16, 2007, 01:33:02 PM
sjingle jangley moljingle jangley

Exactly.

Title: Re: Algebra
Post by: pbsaurus on February 16, 2007, 01:43:46 PM
I use algebra in the real world at work.  Pricing models can get pretty sophisticated.  I also do linear regressions every once in a while.
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 01:44:49 PM
And go ahead and post a problem. Even if this turns into a "Please Do My Homework For Me" thread, I still would like a crack at one.


Well the homework was already due, but just to humor you I'll post the problem I couldn't figure out.

"The fresh feed to an ammonia production process contains nitrogen and hydrogen in stoichiometric proportion, along with an inert gas, I. The feed is combined with a recycle stream containing the same three species, and the combined stream is fed to a reactor in which a low single-pass conversion of nitrogen is achieved. The reactor effluent flows to a condenser. A liquid stream containing essentially all of the ammonia formed in the reactor is and a gas stream containing all the inerts and the unreacted hydrogen and nitrogen leave the condenser. The gas stream is split into two fractions with the same composition: one is removed from the process as a purge stream, and the other is the recycle stream combined with the fresh feed. In every stream containing nitrogen and hydrogen, the two species are in stoichiometric proportion.

a) Let X(I0) be the mole fraction of inerts in the fresh feed, fsp the single pass conversion of nitrogen(and of hydrogen) in the reactor, and yp the fraction of the gas leaving the condenser that is purged(mols purged/mols total). Taking a basis of 1 mol of fresh feed, draw and label a process flowchart incoporating X(IO), Fsp, and yp in the labeling. Then assuming the values for these equations is given write a set of possible equations for the total moles fed to the reactor (nr), moles of ammonia produced (np), and overall nitrogen conversion(fov). Each equation should involve only one unknown variable, which should be circled.

b)Solve the equations in part a is X(I0) = .01 Fsp = .20 and yp =.10"

I got a set of equations for a that should've worked, but upon plugging in the numbers and doing the algebra I wound up getting that no ammonia was produced, which makes the entire system pointless, so I'm assuming I made an error. If you want the equations I'm sure I can rederive them if you don't feel like starting from scratch.
Title: Re: Algebra
Post by: Min on February 16, 2007, 01:46:36 PM
SASSY MOLASSY!

You rang?


A job in which I could do algebra all day long is a dream for me.  Yay, I get to live my dream!!!
Title: Re: Algebra
Post by: ivan on February 16, 2007, 02:16:15 PM
You rang?

IT WORKED!!!

A job in which I could do ivan all day long is a dream for me.  Yay, I get to live my dream!!!

ME TOO!!!
Title: Re: Algebra
Post by: ivan on February 16, 2007, 02:27:23 PM
Well the homework was already due, but just to humor you I'll post the problem I couldn't figure out.

"The fresh feed to an ammonia production process contains nitrogen and hydrogen in stoichiometric proportion, along with an inert gas, I. The feed is combined with a recycle stream containing the same three species, and the combined stream is fed to a reactor in which a low single-pass conversion of nitrogen is achieved. The reactor effluent flows to a condenser. A liquid stream containing essentially all of the ammonia formed in the reactor is and a gas stream containing all the inerts and the unreacted hydrogen and nitrogen leave the condenser. The gas stream is split into two fractions with the same composition: one is removed from the process as a purge stream, and the other is the recycle stream combined with the fresh feed. In every stream containing nitrogen and hydrogen, the two species are in stoichiometric proportion.

a) Let X(I0) be the mole fraction of inerts in the fresh feed, fsp the single pass conversion of nitrogen(and of hydrogen) in the reactor, and yp the fraction of the gas leaving the condenser that is purged(mols purged/mols total). Taking a basis of 1 mol of fresh feed, draw and label a process flowchart incoporating X(IO), Fsp, and yp in the labeling. Then assuming the values for these equations is given write a set of possible equations for the total moles fed to the reactor (nr), moles of ammonia produced (np), and overall nitrogen conversion(fov). Each equation should involve only one unknown variable, which should be circled.

b)Solve the equations in part a is X(I0) = .01 Fsp = .20 and yp =.10"

I got a set of equations for a that should've worked, but upon plugging in the numbers and doing the algebra I wound up getting that no ammonia was produced, which makes the entire system pointless, so I'm assuming I made an error. If you want the equations I'm sure I can rederive them if you don't feel like starting from scratch.

nr = {(X(IO) ^ fsp/(np*fov)) / (1/yp) + (M&M*NWA^1/ELO)} / 3

Substituting in the values in part b), we get

nr = {252 / 2} / 3 = 42

Which we pretty much knew going into it.
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 02:29:49 PM
nr = {(X(IO) ^ fsp/(np*fov)) / (1/yp) + (M&M*NWA^1/ELO)} / 3

Substituting in the values in part b), we get

nr = {252 / 2} / 3 = 42

Which we pretty much knew going into it.


Somehow your logic seems slightly flawed.
Title: Re: Algebra
Post by: pbsaurus on February 16, 2007, 02:36:15 PM
The answer is 42
Title: Re: Algebra
Post by: ivan on February 16, 2007, 02:36:57 PM
Exactly.
Title: Re: Algebra
Post by: ivan on February 16, 2007, 02:38:06 PM
Somehow your logic seems slightly flawed.

Well, at least there's no danger of this becoming a "do my homework for me" thread.

At least not from me!
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 02:46:44 PM
Well, at least there's no danger of this becoming a "do my homework for me" thread.

At least not from me!


That saddens me.  :cry: I have a test on this stuff next Wednesday and I need to know how to do it.
Title: Re: Algebra
Post by: TheJudge on February 16, 2007, 02:51:40 PM
Do you have a blackeberry with web browsing enabled?
Title: Re: Algebra
Post by: ivan on February 16, 2007, 02:59:32 PM
That saddens me.  :cry: I have a test on this stuff next Wednesday and I need to know how to do it.

Look, bub. This is a two-level problem. First, to correctly construct the equations, you have to know what is being required. Since I don't have a background in -- what is this, some kind of chemical engineering? -- I can't make head nor tail of this problem. However, once the equations are constructed, it's only a matter of simple algebra to solve them. I'll lay down cash money I can do the algebra, as can you. The problem is understanding how to construct the equations. In that sense, this is not really an algebra problem, but a chemical engineering problem. If you come up with garbage after doing the algebra, then either you screwed up the engineering bit, or it's not garbage.

Or you may have screwed up the algebra.

Title: Re: Algebra
Post by: Evonus on February 16, 2007, 03:45:58 PM
Look, bub. This is a two-level problem. First, to correctly construct the equations, you have to know what is being required. Since I don't have a background in -- what is this, some kind of chemical engineering? -- I can't make head nor tail of this problem. However, once the equations are constructed, it's only a matter of simple algebra to solve them. I'll lay down cash money I can do the algebra, as can you. The problem is understanding how to construct the equations. In that sense, this is not really an algebra problem, but a chemical engineering problem. If you come up with garbage after doing the algebra, then either you screwed up the engineering bit, or it's not garbage.

Or you may have screwed up the algebra.



I'll give you the equations I got and you can tell me what you get for values. I kept getting y = 0 which makes no sense within the context of the problem.

1 = x + y
.01 = x(1-4z)
.495 = 2xz + y

.1 = x/(r+x)

F = r +1

q = (xz + .2475)/F

n = 2(F)(q)(.20)

c = n/.2475

That should be a little easier to work with, and those should be the equations, unless of course I have no idea what I'm doing which may also be the case.
Title: Re: Algebra
Post by: xolik on February 16, 2007, 04:23:24 PM
Well the homework was already due, but just to humor you I'll post the problem I couldn't figure out.

*what follows is a bunch of stuff that makes my head hurt*

This right here is why I hate math.
Title: Re: Algebra
Post by: ivan on February 16, 2007, 04:36:27 PM
I'll give you the equations I got and you can tell me what you get for values. I kept getting y = 0 which makes no sense within the context of the problem.

1 = x + y
.01 = x(1-4z)
.495 = 2xz + y

.1 = x/(r+x)

F = r +1

q = (xz + .2475)/F

n = 2(F)(q)(.20)

c = n/.2475

That should be a little easier to work with, and those should be the equations, unless of course I have no idea what I'm doing which may also be the case.

All right, I don't understand what you did there.

In the first equation, if x is the fraction of fresh feed, and y is the fraction of purge, and they are both fractions of the total mols fed to the reactor, then x + y = 1 is not true, because the total mols fed to the reactor (r) also includes the fraction of recycled unreacted gases. No?

Also, what are z, q and c?
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 05:00:02 PM
You can isolate the entire thing as a system, and so I can basically set What goes in equal to what goes out. So I set the fresh feed (1) equal to the purge + the product stream.

Also, I know that no Inert is recycled because that would cause a buildup of inert, and none exits in the product stream, so Inert in in the fresh feed = inert out in the purge stream. I wrote the fraction of inert out in terms of z(moles N2). Basically how I figured that out, was the hydrogen + Nitrogen + inert is always equal to 1 because its fractional amounts. And hydrogen is always 3 times Nitrogen because that's how their stoichiometry lines up. So it was 1 = 3z + z + I

Finally, the last thing I did was write a balance for nitrogen atoms. 2 times 0.2475 which is how much nitrogen comes in should equal the nitrogen out in the product feed(in the form of Amonium) + 2 times the nitrogen out in the purge stream in the form of nitrogen gas.

F is the feed to the reactor.

Q is the fraction of nitrogen in the feed to the reactor

n is nr in the problem the amount of NH3 produced per pass.

c is fov.
Title: Re: Algebra
Post by: ivan on February 16, 2007, 05:20:41 PM
I'm speaking from complete ignorance on this, but here is the part that made me think all 3 gases are in the recycle stream:

...and a gas stream containing the inerts and the unreacted  hydrogen and nitrogen leave the condenser. The gas stream is split into two fractions with the same composition: one is removed from the process as a purge stream, and the other is the recycle stream combined with the fresh feed.



Title: Re: Algebra
Post by: Evonus on February 16, 2007, 05:30:45 PM
I'm speaking from complete ignorance on this, but here is the part that made me think all 3 gases are in the recycle stream:





Oh, all 3 gases are in the recycle stream, but the recycle stream is part of the inside of the system. You can ignore it and focus on only inputs and outputs of the system as a whole. These problems would be impossible if you couldn't bisect them.
Title: Re: Algebra
Post by: Demosthenes on February 16, 2007, 06:15:31 PM
Are you sure you aren't trying to pick up on Detta?  Because you're using the oldest lines in the book on her in this thread.
Title: Re: Algebra
Post by: Min on February 16, 2007, 06:57:11 PM
He just said it would be his dream if I did him all day...wait, were you talking to ivan?
Title: Re: Algebra
Post by: ivan on February 16, 2007, 06:57:52 PM
Oh, all 3 gases are in the recycle stream, but the recycle stream is part of the inside of the system. You can ignore it and focus on only inputs and outputs of the system as a whole. These problems would be impossible if you couldn't bisect them.

But you're being asked to build an equation for the total moles fed to the reactor, which is not just what was put into the system. If it was, the answer would be the given 1 mol.

The way I read it was this: The single-pass conversion (Fsp) = .20, which I took to mean that 20% of the gas feed is converted to amonia. The fraction of purge is .10 of the total feed, which meant to me that 10% of the gas fed to the converter ends up being purged. The remaining 70% is recycled, or fed back to the converter. Of that 70% recycled gas, 20% gets converted, 10% gets purged, and 70% gets recycled. And so on, until the recycled stream dwindles to nothing. So I would need a recursion formula for this.

Title: Re: Algebra
Post by: ivan on February 16, 2007, 06:58:27 PM
Are you sure you aren't trying to pick up on Detta?  Because you're using the oldest lines in the book on her in this thread.

Yes.

I know.
Title: Re: Algebra
Post by: jeee on February 16, 2007, 07:33:17 PM
I tried picking up on Detta but there was a distance problem. And then there was Enrique.
Title: Re: Algebra
Post by: Crystalmonkey on February 16, 2007, 09:01:11 PM
I tried picking up on Detta but there was a distance problem. And then there was Enrique.

Was this the distance problem?

    *  A 555-mile, 5-hour plane trip was flown at two speeds. For the first part of the trip, the average speed was 105 mph. Then the tailwind picked up, and the remainder of the trip was flown at an average speed of 115 mph. For how long did the plane fly at each speed?


This was taken from another website, google search distance problem...
Title: Re: Algebra
Post by: pbsaurus on February 16, 2007, 09:50:31 PM
What were you flying, a Helio Courier or something?
Title: Re: Algebra
Post by: Chris on February 16, 2007, 10:01:40 PM
Was this the distance problem?

    *  A 555-mile, 5-hour plane trip was flown at two speeds. For the first part of the trip, the average speed was 105 mph. Then the tailwind picked up, and the remainder of the trip was flown at an average speed of 115 mph. For how long did the plane fly at each speed?


This was taken from another website, google search distance problem...

x = time spent flying at 115mph
y = time spent flying at 105mph

The system of equations looks like the following:
115x + 105y = 555
x + y = 5

When solved, the ordered pair that satisfies both equations is (3, 2).
Title: Re: Algebra
Post by: Evonus on February 16, 2007, 11:28:15 PM
But you're being asked to build an equation for the total moles fed to the reactor, which is not just what was put into the system. If it was, the answer would be the given 1 mol.

The way I read it was this: The single-pass conversion (Fsp) = .20, which I took to mean that 20% of the gas feed is converted to amonia. The fraction of purge is .10 of the total feed, which meant to me that 10% of the gas fed to the converter ends up being purged. The remaining 70% is recycled, or fed back to the converter. Of that 70% recycled gas, 20% gets converted, 10% gets purged, and 70% gets recycled. And so on, until the recycled stream dwindles to nothing. So I would need a recursion formula for this.



It doesn't work like that. 0.10 is the relation of the purge to recycle + purge. Not to mention, as stuff recycles around you have more feed coming in. Stuff is being recycled while new stuff is being fed in. That's why I was trying to ignore the inside of the system, find out the purge, so I could use the 0.10 to find the recycle, then add that to 1 to give me what's fed into the reactor.

It doesn't dwindle to zero, the system is at steady state, which means constant inflows and constant outflows.
Title: Re: Algebra
Post by: TheJudge on February 17, 2007, 12:13:46 AM
I think he's trying to puck me up with all this gas talk  :-o
Title: Re: Algebra
Post by: Evonus on February 17, 2007, 03:55:36 PM
I think he's trying to puck me up with all this gas talk  :-o

puck?
Title: Re: Algebra
Post by: Anyanka_was_framed on February 17, 2007, 10:59:54 PM
Pucking asshat.


Nah, it's not the same.  Fuck has the "f" and "uh" and the "kuh" (as per Dane Cook).