This topic contains a solution. Click here to go to the answer

Author Question: Since you cannot take the square root of a negative number, you might use which of the following ... (Read 45 times)

sdfghj

  • Hero Member
  • *****
  • Posts: 552

Question 1

Of the following types, which one cannot store a numeric value?
◦ int
◦ byte
◦ float
◦ char
◦ all of these can store numeric values

Question 2

Since you cannot take the square root of a negative number, you might use which of the following instructions to find the square root of the variable x?
◦ Math.sqrt(x*x);
◦ Math.sqrt((int) x);
◦ Math.sqrt(Math.abs(x));
◦ Math.abs(Math.sqrt(x));
◦ Math.sqrt(-x);


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by sdfghj on Aug 30, 2020

moormoney

  • Sr. Member
  • ****
  • Posts: 326
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 50% of students answer this correctly




sdfghj

  • Member
  • Posts: 552
Reply 2 on: Aug 30, 2020
Wow, this really help


Hdosisshsbshs

  • Member
  • Posts: 315
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Pink eye is a term that refers to conjunctivitis, which is inflammation of the thin, clear membrane (conjunctiva) over the white part of the eye (sclera). It may be triggered by a virus, bacteria, or foreign body in the eye. Antibiotic eye drops alleviate bacterial conjunctivitis, and antihistamine allergy pills or eye drops help control allergic conjunctivitis symptoms.

Did you know?

The largest baby ever born weighed more than 23 pounds but died just 11 hours after his birth in 1879. The largest surviving baby was born in October 2009 in Sumatra, Indonesia, and weighed an astounding 19.2 pounds at birth.

Did you know?

As many as 20% of Americans have been infected by the fungus known as Histoplasmosis. While most people are asymptomatic or only have slight symptoms, infection can progress to a rapid and potentially fatal superinfection.

Did you know?

Vaccines prevent between 2.5 and 4 million deaths every year.

Did you know?

Your chance of developing a kidney stone is 1 in 10. In recent years, approximately 3.7 million people in the United States were diagnosed with a kidney disease.

For a complete list of videos, visit our video library