For this program you will be calculating the efficiency of an inclined plane
INPUTS:
A user will click a button to generate a problem and show an inclined plane.
The user will calculate the answer and enter into an answer box and click a "Check" button.
OUTPUTS:
An inclined plane with the correct angle will be drawn.
A random µ from 0.10-0.80, to the hundredths place and a random θ from 10˚- 45˚, to the nearest whole number will be displayed in the chart title.
Whether the answer, to the tenths place, is correct or not will be displayed.
CRITERIA & CONSTRAINTS:
Your program should have an impressive interface. (colors and graphics)
Modify the title of the chart to put the new angle and coefficient when the New Problem button is pressed.
Modify the title again to say Correct if the user gets it right when they click the Check button.
Modify the title again to say Incorrect and the current angle and coefficient if the user gets it wrong when they click the Check button.
Change the background of the chart to green or red if they get it correct or incorrect. You could also just keep the background of the chart transparent and change the colors of the cells behind it green or red.
The chart is an Area Chart with points (0,0) and (1,tanθ). You should have an x-axis pointing to your x-values and a series pointing to your y-values. Use your x-values as labels.
Under Series, change Area color to brown and change area opacity to 100%.
Under Vertical Axis make the minimum be 0 and the maximum be 1.