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

  • Context: Undergrad 
  • Thread starter Thread starter preposterous
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
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

  • deBroglie_E.jpg
    deBroglie_E.jpg
    5.9 KB · Views: 502
Mathematics news on Phys.org
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
 
Why not

0.1 * sin(sqrt(10^2 - x^2))