I don't think I understand the question. Are we supposed to create an applet that plots any function. The function will be value in the parameter element in the HTML page. Is this correct?
I created the applet to plot a function but how do I create the function. I am confused. If the function is the parameter from the html, how do I create the function in code? If I use the getParameter() method it returns a string. Am I supposed to look at each character in the string and then try and interpret what to do?
Yes, from my understanding what you've said is all correct. The parameter will be passed in from the HTML page via the parameter tag. Once you have the function (represented in string format) in the applet, you have to interpret the function and plot its values. I'm not sure if I am correct here but just starting this question and this is the (current) path I'm taking.
I am going to try and convert it to post fix notation and then parse the string. In COS211 assignment 2 there was a question to convert from prefix to postfix. Convert that code from c++ to java. Not sure if this will work. I am going to try it this weekend.