Question: CISC 1115 Topic 2: Assignment #1 Write a complete Java program, includ will compute the values of a formula that expresses y in terms of

 CISC 1115 Topic 2: Assignment #1 Write a complete Java program,

CISC 1115 Topic 2: Assignment #1 Write a complete Java program, includ will compute the values of a formula that expresses y in terms of x. The formula i 9x 272 4 12 value of and (..) means "square root of. (Use the built-in 1. The program should start by printing a message saying this is the output of your first 2. Then, it should evaluate the formula starting withx- -3, going up by 0.5 each time, until where . means "absolute functions for these operations.) program x reaches 4. Therefore, it will use values x: -3, -2.5, .., -0.5, 0, 0.5,.., 3.5, 4. For each value of x, the program should compute the corresponding value of y. It should print these values together with explanations of what the values represent. For example, it could print the string 'X, then the value of x, then the string Y ', then the value of y, and then a message. (It is also possible to use column headings instead if you desire.) The message should say one of three things: a) If the value of y is exactly 0, the message should say Y IS ZERO b) If the value of y is positive, the message should say 'Y IS POSITIVE c) If the value of y is negative, the message should say 'Y IS NEGATIVE A typical line of output would then be: Y-123456 Y IS POSITIVE ?--25 (in actuality, this may not be the value for y). 3. Once you have finished using x 4, the program should print a message (underneath the last line of output) stating that the program is halting. Then, stop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!