1. During the writing and compiling of a program, what two steps must be taken to make use of a library? 2. Answer the following question. 6. The following formula can be used to describe the...


Assignments provided in the picture.


Thanks


1. During the writing and compiling of a program, what two steps must be taken to<br>make use of a library?<br>2. Answer the following question.<br>6. The following formula can be used to describe the dimensions of a loading ramp:<br>h<br>sin(0) =7<br>where e is the incline angle of the ramp, h is the height of the ramp, and I is the<br>length of the ramp. Write a program that calculates the needed length of a ramp<br>given a desired incline and height. For example, given an incline of 9.5 degrees<br>and a height of 0.5 m, a ramp needs to be 3.03 m in length. The program should<br>prompt the user for the needed values and calculate and report the required<br>length. The program should make use of the math library for the sin() function,<br>and should use the macro M_PI for the value of z to convert degrees to radians<br>(radians = degrees × ).<br>3. What is the primary goal in using a scripting language for programming work?<br>4.Write a shell program that counts the number of files in a given directory. The<br>directory should be specified as a command line argument. The program does<br>not need to count files recursively in subdirectories; instead, it should not count<br>subdirectories at all.<br>

Extracted text: 1. During the writing and compiling of a program, what two steps must be taken to make use of a library? 2. Answer the following question. 6. The following formula can be used to describe the dimensions of a loading ramp: h sin(0) =7 where e is the incline angle of the ramp, h is the height of the ramp, and I is the length of the ramp. Write a program that calculates the needed length of a ramp given a desired incline and height. For example, given an incline of 9.5 degrees and a height of 0.5 m, a ramp needs to be 3.03 m in length. The program should prompt the user for the needed values and calculate and report the required length. The program should make use of the math library for the sin() function, and should use the macro M_PI for the value of z to convert degrees to radians (radians = degrees × ). 3. What is the primary goal in using a scripting language for programming work? 4.Write a shell program that counts the number of files in a given directory. The directory should be specified as a command line argument. The program does not need to count files recursively in subdirectories; instead, it should not count subdirectories at all.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here