Question: Java programming [H3-1] (PIdentities.java) { Enter an angle of 90 degrees, then run again entering 180 degrees } Same as [L3-8], but do non-identity expressions
Java programming
![Java programming [H3-1] (PIdentities.java) { Enter an angle of 90 degrees, then](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f32a56a99fb_11766f32a55ebb1c.jpg)
[H3-1] (PIdentities.java) { Enter an angle of 90 degrees, then run again entering 180 degrees } Same as [L3-8], but do non-identity expressions for any five of the identities involving only Math.sin(), Math.cos(), and Math.tan(), found in any of the first three rows of the table within the Pythagorean Identities section of the Wikipedia article: https://en.wikipedia.org/wiki/List of trigonometric identities - cite ref-3 public class pldentities { public static void main(String[] args) { // the following is from [L3-8]'s Trig solution: // use it as a template by replacing with Pythagorean identity // formulas StdOut.print("Enter theta: "); double theta = Stdlo.readDouble(); Stdout.printf("The formula is: sin(%f) = cos(Math.PI/2.0 - %f) ", theta, theta); Stdout.printf("The left side is: % ", Math.sin(theta)); Stdout.printf("The right side is: %f ", Math.cos(Math.PI/2.0 - theta)); } } [H3-2] (PP3_1.java) { First, last names of 'Moxie', 'Berner' } Do Programming Project PP 3.1 at the end of JF 3. Use stdlib's Stdin.readLine() to read each name, one per line (press Enter at the end of each line). Don't forget to import the java.util.Random class, so you can use the Random's nextInt() method to generate the random int between 10 and 99, inclusive. [H3-3] (TestDate.java). { long value of 1 billion: 1000000000 } Create two java.util.Date objects. Use the no- argument constructor Date() for the first, and the Date(long Idate) for the second, reading a long value Idate from the user to use as its argument. Print out each of your Date objects on a separate line using Stdout.println(). Finally, print out a description of what the second output represents, including the specific value of Idate. Hint: read the Javadoc for java.util.Date. [H3-4] (PP3_6.java) { a==3, b==5, c==7 }Do Programming Project PP 3.6 at the end of JF 3. Read the sides ab.c as double values using Stdin.readDouble() - one double per input line. Extra Credit (1 point) Also compute and print out the area of the equilateral triangle (all sides of equal length) having the same perimeter (a+b+c) as the original. Add your code to your submission for H3-4, and add a submission comment requesting this EC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
