If you have Khoros set up correctly on your machine,
then typing in xprism2 should bring up the
following window (Figure 1). Since we
have not specified a function, xprism2 gives us an
enchanting view of a black square. On the left of the void
there is a button marked . Click
on the Plot button, and you will find a whole new
window (Figure 2)
opening just for you, which includes the methods of inputting
a function.
test2.text
What should be in the text file? Since we are plotting a two-dimensional function, you must write the function in terms of one variable, namely x. For multiplication, use the `*' symbol, for exponentiation, use `**', for division use `/', and for addition and subtraction use `+' and `-'. You may also add the domain and the number of tick marks in the file. For example, if you wish x to range from -¶ to 3.14 with 40 tick marks for the function f(x) = sin(x) · cos(x) + x² , then the text file would read as
f(x) = sin(x)*cos(x) + x**2.
x=(-pi, 3.14,40)
Once this has been done (successfully), you should get a graph that resembles the following:
xprism2
and creating functions while within the program. From
Figure 2, choose the