Periodic, continuous and piecewise smooth function

Click For Summary
The discussion centers on finding an initial condition function that is periodic, continuous, and piecewise smooth for numerical solutions to initial-boundary value problems. The user has already used sin(x) and cos(x) but seeks additional functions for comparison in MATLAB simulations. Suggestions include a specific piecewise function defined on intervals and repeated periodically. There is also a challenge posed regarding the understanding of the definitions of continuous, periodic, and piecewise functions, implying that many examples could be generated. The conversation emphasizes the need for diverse function options in applied mathematics research.
fractional
Messages
2
Reaction score
0
Dear friends,

I am a new member of physics forums, so this is may new message.
Already thanks to you for your helps to my question. I research some
applied mathematician problem's numerical solutions. There are initial-boundary value problems. I need an initial condition function which must be a periodic, continuous and
piecewise smooth type. Please vaiting for your suggestions.

ocean
 
Physics news on Phys.org
sin(x) is a continuous smooth piecewise function.
 
thanks for your suggestion, but I apply sin(x) to my problem, I need any other one to compare my numerical MATLAB simulation results. ıf you give me any other function, I can use for comparison.
thanks for your help.
 
Cos(x) works.

You just want some continuous, periodic, piecewise function? Okay, what about f(x)= x if 0\le x\le 1, 2- x if 1\le x\le 2 and continued periodically with period 1?

My question is, do you really understand what "continous, periodic, piecewise function" means? If you do, then it should be easy to make up hundreds of examples.
 

Similar threads

Replies
5
Views
6K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K