How to compose sin(x) with a curved path like a semicircle

  • Level: Undergrad 
  • Thread starter preposterous
  • Start date
  • Tags Tags
    Function
2 replies · 2K views · last reply
preposterous
Messages
3
Reaction score
0
How do I write sin(x) where the x-axis is a function itself. For example, I want to write sin(x) along a half circle. I need to "wrap" the function, similar to "De Broglie wavelength" in image below.

More specifically, I want to write f1 = 0.1*sin(x) the where the x-axis is f2 = sqrt(10^2 - x^2).

I know that this generally will not pass the vertical line test. But for my application it will because the sin(x) has small amplitude compared to the circle radius.
 
Attachments
  • Diagram of a wavy closed curve around a circle with a dashed circle of radius a, labeled wavelength λ along the outer edge, and radius a marked from the center.
    deBroglie_E.jpg
    5.9 KB · Views: 516
Hey preposterous.

One example like the diagram in your post would be in polar co-ordinates:

r = 1 + 0.5*cos(theta)

where in cartesian co-ordinates you use the relationship:

r^2 = x^2 + y^2 and

tan(theta) = y/x