EDSAC is the first computer ever
Answer:
The program to this question can be given as:
Program:
#include <stdio.h> //include header files
#include<math.h>
int main() //main method
{
double treeHeight = 0.0; //declare variables
and assign value
double shadowLength = 0.0;
double angleElevation = 0.11693706;
// (0.11693706 radians = 6.7 degrees) convert number into angle.
shadowLength = 17.5;
treeHeight = shadowLength * tan(angleElevation); //convert number into angle
printf("Tree height: %lf\n", treeHeight); //print value.
return 0;
}
Output:
Tree height: 2.055778
Explanation:
In the above C language program firstly we include the headers. In this header file, we include a (math.h) header file this file helps to use the math function. Then we declare the main method in the main method we declare the variable that is given in the question that are treeHeight, shadowLength , angleElevation. All the variable datatype is double because it stores the floating-point value. Then we apply the formula that is treeHeight = shadowLength * tan(angleElevation). In this formula, the treeHeight variable holds the value. Then we print the variable value for print the double value we use the lf(that is long float).
Scripting languages are unique computer languages because they automate task that could be done by human operator and are easy to use.
<h3>What is a scripting language?</h3>
Scripting languages are programming languages that is interpreted.
They are programming languages that automates the task that will originally be performed by a human operator.
Scripting languages are used to give instruction to other software to run accordingly to how you want it.
The scripting language is different form other language base on the fact that its interpreted . This means the code are translated to machine code when it is run.
The major advantage of scripting languages is that it is human readable and understandable.
Examples of scripting languages are Python and JavaScript.
learn more on scripting here: brainly.com/question/12763341
#SPJ1
Answer: True
Explanation: yes, it is true that egrep can accept multiple filenames as input arguments for example egrep -r "text1/text2", so this will search in all the sub directories . E grep is also known as 'grep -E' which belongs to the group of grep function and we used egrep to separate multiple patterns for OR conditions. This is also very less time consuming if you are going to search multiple input arguments in multiple different logs at the same time.