Recent content by JMS1
-
J
Undergrad Procedurally generated polynomial functions
For even polynomials I have ##x## intercepts at ##-1## and ##1##. For odd polynomials I put a double ##x## intercept at ##1## or in other words it's both an ##x## intercept and a zero slope point. . The scalar for the highest order term or ##a_n## is always ##1##. That leaves ##n-2## degrees of...- JMS1
- Post #8
- Forum: General Math
-
J
Undergrad Procedurally generated polynomial functions
It works! It looks simple and robust enough to be applied to a general case, thanks. BTW: for future reference or google searching for help, what would you call this system?- JMS1
- Post #7
- Forum: General Math
-
J
Undergrad Procedurally generated polynomial functions
I could, but how? Taking the example I gave of the function ##f(x)=(x-1)(x+1)(x-.2-.2i)(x-.2+.2i)##, or otherwise written ##f(x)=x^4-.4x^3-.76x^2+.4x-.24##, I get the derrivitive ##f'(x)=4x^3-1.2x^2-1.52x+.4##. taking the value at ##x=.2## I get ##y=.08##. Subtracting this from the derivative I...- JMS1
- Post #3
- Forum: General Math
-
J
Undergrad Procedurally generated polynomial functions
I'm a programmer looking for a way to create polynomial equations from a list of x intercepts and local maxima. For the sake of discussion we can begin with a function of degree 4. The scale and position of the curve is unimportant so for simplicity's sake the curve can always have x intercepts...- JMS1
- Thread
- Functions Polynomial
- Replies: 7
- Forum: General Math
-
J
Calculating Turbine Work Using Ammonia - Reality Check
So Starting with a know T3 and p3 I find the specific entropy going in. Using known T4 and p4 I find the mixture quality factor that corresponds to that ideally unchanged specific entropy. I find the specific enthalpy of the initial gas h3, then the specific enthalpy of the final liquid-gas...- JMS1
- Post #12
- Forum: Mechanical Engineering
-
J
Calculating Turbine Work Using Ammonia - Reality Check
Ok, so I use the the isentropic relation T4/T3 = (p4/p3)^((k-1)/k) to solve for the new T4 and I should be able to use your formulas to find first the mixture quality factor x and then h4.- JMS1
- Post #10
- Forum: Mechanical Engineering
-
J
Calculating Turbine Work Using Ammonia - Reality Check
Sorry about the confusion. We could use this as a diagram: https://upload.wikimedia.org/wikipedia/commons/0/00/Rankine_cycle_layout.png The temperature of the condenser itself should determine the temperature of the condensate T1 as well as making the pressure in the condenser subsystem equal...- JMS1
- Post #8
- Forum: Mechanical Engineering
-
J
Calculating Turbine Work Using Ammonia - Reality Check
So I gather that the p1 and T1 are fixed by the vaporizer. You're sure that the temperature at the condenser fixes T2 and not p2?- JMS1
- Post #6
- Forum: Mechanical Engineering
-
J
Calculating Turbine Work Using Ammonia - Reality Check
Yes it is a Rankine cycle (sorry for not specifying) Like I said this is back of the envelope to see if the theory works. I don't have a prototype model to measure. What I'm interested in is the maximum theoretical output for an idealized system. An upper limit on reality basically. The...- JMS1
- Post #3
- Forum: Mechanical Engineering
-
J
Calculating Turbine Work Using Ammonia - Reality Check
I'm doing some back of the envelope calculations for the potential of a turbine thermal generator using ammonia as a working fluid. I've never done thermodynamics before so I'm looking for a reality check. Isotropic turbine work done by a unit mass is given as h2 - h1 or simply dh between the...- JMS1
- Thread
- Isotropic Turbine Work
- Replies: 12
- Forum: Mechanical Engineering