Question: Plot Sine and Cosecant - 0 X Hints: The above scene is 800 pixels wide and 600 pixels tall. On the x-axis, -21 is at

Plot Sine and Cosecant - 0 X Hints: The above scene is 800 pixels wide and 600 pixels tall. On the x-axis, -21 is at pixel (200, 300), the center of the axis is at (400, 300), and 2n is at (600, 300). Draw your text for these points near (but not directly on) these coordi- nates. The Unicode for at is \u03c0. To display -21, use Text(x, y, -2\u03cO). My program used Font.font("Georgia", 25) as the font for each of the Text objects. (Recall that you use the setFont(...) on a Text object to set its font. For a trigonometric function like Math.sin(x), x is in radians. You can use the fol- lowing loop to add the points to a polyline for the sine curve: Polyline sineCurve = new Polyline(); ObservableList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
