150 Gnuplotstarter PDF
150 Gnuplotstarter PDF
Activity 1:
Converting terminal window from “windows” to “qt”
First we have to write “show term”. If terminal is qt then we have to write “set term
win enh” and press enter. It's now converted to windows.
PLOTTING FUNCTIONS
Activity 2:
Potting sin(x) and cos(x) with range:
Activity 3:
Writing the code in text file:
Creating a note pad file and writing the code. This code contains
setting title and zero axis too.
OUTPUT:
17th September, 2024
ACTIVITY 1:
Indicating points on a plot: (Maxima and minima)
FACTSHEET EXERCISE 1:
a)
A sin curve is a periodic function. It can be shifted both vertically and horizontally.
For example: y(x) = sin(x) + 5 shifts the sine curve up by five units. Similarly with the
changing x the curve gets translated upwards.
b)
c)
d)
e)
FACTSHEET EXERCISE 2:
a)
b)
c)
The values for x for which k(x) = 4 are 3.26397,4.85704 and 5.93294
respectively. (from the plot)
e)