Understanding and Plotting a Step Function: Expert Guidance and Tips

  • Thread starter Thread starter khurram usman
  • Start date Start date
  • Tags Tags
    Graph Plot
Click For Summary

Homework Help Overview

The discussion revolves around understanding and plotting a step function, specifically a function defined as f(t) = n when n+1 > t > n > 0, and f(t) = 0 elsewhere. Participants are exploring the characteristics of this function and how to represent it graphically.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • The original poster seeks clarification on the definition of the step function and assistance with plotting its graph. Some participants introduce the concept of the Greatest Integer Function (GIF) and provide examples to illustrate it. Others question the presence of vertical lines in the graph and their implications for the function's definition.

Discussion Status

Participants are actively engaging in clarifying the nature of the step function and its graphical representation. There is a recognition of the differences in graphical interpretations, and some guidance has been offered regarding the use of software tools for plotting functions.

Contextual Notes

There is an ongoing discussion about the graphical representation of the function, particularly concerning the vertical lines that appear in the graph and their significance. Participants are also considering how to plot similar functions using various software programs.

khurram usman
Messages
86
Reaction score
0
i have been given a function to plot. but i don't understand the function.
the function is:
f(t)= n when n+1>t>n>0
f(t)= 0 everywhere else

actually its a step function. i don't know how to write it here.
please explain the function to me and also help me to plot its graph
 
Physics news on Phys.org
The attachment shows the graph using Microsoft Maths.Step function is also known as Greatest Integer Function(GIF).In GIF you only take integral part of that number.
Ex. No. is 2.348947 Here GIF of this(also represented as [2.348947]=2 known informally as box function-same as GIF) is 2.
Ex.3.9999
[3.9999]=GIF(3.9999)=3
Ex.4=[4.0000]=GIF(4.0000)=4
 

Attachments

  • Step.png
    Step.png
    5.7 KB · Views: 500
1994Bhaskar said:
The attachment shows the graph using Microsoft Maths.Step function is also known as Greatest Integer Function(GIF).In GIF you only take integral part of that number.
Ex. No. is 2.348947 Here GIF of this(also represented as [2.348947]=2 known informally as box function-same as GIF) is 2.
Ex.3.9999
[3.9999]=GIF(3.9999)=3
Ex.4=[4.0000]=GIF(4.0000)=4

ok i saw the graph.the graph that i had in mind was nearly the same except that i didnt have the vertical lines in mine.where did those come from. i mean the function won't be defined then.

also how can i plot functions as this or any other complex function in programs such as microsoft math or mathematica?
 
Those lines are just drawn for sake of our convenience, to show connection between two very close numbers.You are right they don't exist there.

You will also get such lines for Fractional Part of x ({x}).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
12
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K