×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Redefining a term in an equation

Redefining a term in an equation

Redefining a term in an equation

(OP)
Hey guys,

I need to know to redefine a term in an equation.  For instance, I have some equations defined that will yield expressions with sin(t) and cos(t) terms.  I want to redefine these as sin(t)= y/sqrt(x^2+y^2) and cos(t)= x/sqrt(x^2+y^2), respectively.  I am not really sure have to do this since sin(t) and cos(t) aren't variables.

Thanks.

RE: Redefining a term in an equation

An example file showing the expected context before and after would help.

You can use the live symbolics to do a substitute and carry the new equaation forward (often in a new holding variable such as "Eqn2=", then "Eqn3=", etc.)

The other option is a solve block with symbolic find which could take the x^2+y^2=z^2, etc. hence the need for a context to get the best choice.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources