×
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

Curve by equation

Curve by equation

Curve by equation

(OP)
I am trying to create a curve of a trochoid which has the parametric equation

x = [ a * THETA ] -  [ b * sin(THETA) ]
y = a - [ b * cos(THETA) ]

where a & b are real numbers and THETA is the angle in radians.

This is what I used to define the equation in pro, however I dont get the correct shape.

x = ( 0.63662 * ( t * 2000 ) * 0.01745 ) - ( 8.9 *  sin ( t * 2000 ) * 0.01745 )
y = 0.63662  - ( 8.9 *  cos ( ( t * 2000 ) *  0.01745 ) )
z = 0

Because I require the angle to be in radians I have multiplied the 't' function by Pi/180 which is approx 0.01745

Has anyone any idea what I could be doing wrong

Thanks in advance

RE: Curve by equation

GB433054,

Please check your math:

sin(theta)*PI/180 IS NOT EQUAL WITH sin(theta*PI/180)

Good luck,

-Hora

RE: Curve by equation

(OP)
good spot, but correct math but still doesnt work :-(

RE: Curve by equation

Your THETA = 2000 is in radians or degrees?

-Hora

RE: Curve by equation

You're going to kick yourself for this later.

You want to convert the angle inside of the parentheses with your angle. That way you will get the sign of the correct angle and not the sign of the angle multiplied by your PI conversion.

Michael

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