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 44 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
Gracias!


okolip

  • Member
  • Posts: 362
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

HIV testing reach is still limited. An estimated 40% of people with HIV (more than 14 million) remain undiagnosed and do not know their infection status.

Did you know?

Women are two-thirds more likely than men to develop irritable bowel syndrome. This may be attributable to hormonal changes related to their menstrual cycles.

Did you know?

The first monoclonal antibodies were made exclusively from mouse cells. Some are now fully human, which means they are likely to be safer and may be more effective than older monoclonal antibodies.

Did you know?

A cataract is a clouding of the eyes' natural lens. As we age, some clouding of the lens may occur. The first sign of a cataract is usually blurry vision. Although glasses and other visual aids may at first help a person with cataracts, surgery may become inevitable. Cataract surgery is very successful in restoring vision, and it is the most frequently performed surgery in the United States.

Did you know?

Each year in the United States, there are approximately six million pregnancies. This means that at any one time, about 4% of women in the United States are pregnant.

For a complete list of videos, visit our video library