Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Periodic, continuous and piecewise smooth function

  1. Aug 12, 2009 #1
    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
     
  2. jcsd
  3. Aug 13, 2009 #2
    sin(x) is a continuous smooth piecewise function.
     
  4. Aug 14, 2009 #3
    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.
     
  5. Aug 14, 2009 #4

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Cos(x) works.

    You just want some continuous, periodic, piecewise function? Okay, what about f(x)= x if [itex]0\le x\le 1[/itex], 2- x if [itex]1\le x\le 2[/itex] 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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook