subject

The following program is suppose to use the sin() function in the math library and write out an input's absolute value over an interval. So for example if sine(0.6) is 0.564 then its absolute value is the same (0.564). But if sine(2.4) is -0.675 then its absolute value is 0.675. #include #include /* has sin(), abs(), and fabs() */ int main(void) { double interval; int i; for(i = 0; i <30; i++) { interval = i/10.0; printf("sin( %lf ) = %lf \t", interval, abs(sin(interval))); } printf("\n\n"); return 0; }

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
You know the right answer?
The following program is suppose to use the sin() function in the math library and write out an inpu...
Questions
question
Mathematics, 29.07.2021 07:20
question
Mathematics, 29.07.2021 07:20
Questions on the website: 13722363