SP8449 PLOT1 - Plotting functions (variation)
Description
Given a function y=f(x) in RPN-notation plot it with stars (\*) and then (!) its derivation with crosses (+) for 0 1). The function and its derivation are continuous between 0 and 20.
The function definition uses only the following characters: 0123456789x.+-\*/^
'^' means 'power of'. Items are separated by space.
Input Format
In the first line the number N of functions, then N lines with one function.
Output Format
The plot of each function and its derivation in 21 lines.