Graph of a Sine Function Increased on One Side
Plot[ x (1  Sin[x]), {x, 1, 45}, GridLines > Automatic]
You can adjust the slope $m$ of envelope, time period etc as:
$$ y= m x \;(1 \sin \dfrac{2 \pi x }{\lambda})$$
To reflect about xaxis making it go down, equation can be changed as:
Plot[ x (1 + Sin[x]), {x, 1, 45}, GridLines > Automatic]
Related videos on Youtube
Nursultan Tulyakbay
Guy continuously looking for a way to achieve perfection academically.
Updated on August 01, 2022Comments

Nursultan Tulyakbay over 1 year
If we want something looks like this sine wave, what is a function that will satisfy this:
Further, how can we make this go both ways, meaning either 1) a sine wave staying the same at the bottom but going upwards linearly as it progresses (as shown) or 2) a sine wave staying the same at the bottom but going downwards linearly as it progresses?
I have tried, for example, $x/2(\sin x)$, which gives us a linear increase, but I want it to increase on the top while staying the same on the bottom.
Thanks!

Admin over 9 yearsYour link doesn't work, but try $f(x)(1+\sin x)$ where $f(x)$ is an increasing positive function like say $\exp(x/20)$.


Nursultan Tulyakbay over 9 yearsI have, and it works for increase. now how do I do decrease on the positive xaxis? In other words, I need a positive diminuting function. I used x for increasing, now I need decreasing.

geodude over 9 yearsI'd say something like $(10x)(1+\sin x)$. Replace $10$ with the length you want...