question in linear equation

I have a bar that the radius varies linearly from 10mm to its left end to 5mm at the right end,
The length of the bar is 150mm
I am trying to build the r(x) linear equation.

can i do

r(x) = ra + ( rb-ra) X/L  = 0.01 - 0.005 *  X/L

is this correct ?

Who is Participating?
ozoConnect With a Mentor Commented:
then assuming that x is the same as X, your equation is correct.
what is r(x)? what is x?  what is X?  what is ra? what is rb?  Is L the length of the bar = 150mm
c_hocklandAuthor Commented:
r(x) is the radious equation of x
ra = the radious at the left side = 10mm
rb = radious at right side = 5 mm
L = lengh
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

is r(x) the radius of the bar in meters at x mm from the left end?
c_hocklandAuthor Commented:
c_hocklandAuthor Commented:
thanks Ozo.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.