varying temperature Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » varying temperature « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

YOUNGJIN CHUN (jini)
New member
Username: jini

Post Number: 1
Registered: 02-2006
Posted on Tuesday, February 07, 2006 - 02:31 am:   

I want to describe a varying temperature.
I mean the increasing temperature from 20 oC to 100oC.
How can I describe this?
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 538
Registered: 06-2003
Posted on Monday, February 13, 2006 - 03:29 pm:   

Since you haven't said what coordinate controls the variation, or what range the coordinate takes on, I will make something up:

If the temperature is 20 at time=t0 and varies linearly in time to a value of 100 at time=t1, then
vtemp = 20 + (100-20)*(t-t0)/(t1-t0)
will define a varying temperature, as will any arithmetic rearrangement of that expression.

Alternatively, you can say
vtemp = 20+(100-20)*URAMP(t-t0,t-t1)

If the variation is something other than linear, then you write the algebraic expression for the shape you want.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration