Hi, you haven't provided the programing language in which you need the code, I'll just explain how to do it using Python, and you can apply a similar method for any programming language.
Answer:
1. def pyramid_volume(base_length, base_width, pyramid_height):
2. volume = base_length*base_width*pyramid_height/3
3. return(volume)
Explanation step by step:
- In the first line of code, we define the function pyramid_volume and it's input parameters
- In the second line, we perform operations with the input values to get the volume of the pyramid with a rectangular base, the formula is V = l*w*h/3
- In the last line of code, we return the volume
In the image below you can see the result of calling the function with input 4.5, 2.1, 3.0.
Answer:
For SGID you type this
$ find . -perm /4000
For SUID you type this
$ find . -perm /2000
Explanation:
Auxiliary file permissions, that are commonly referred to as “special permissions” in Linux are needed in order to easily find files which have SUID (Setuid) and SGID (Setgid) set.
After typing
$ find directory -perm /permissions
Then type the commands in the attachment below to obtain a list of these files with SGID and SUID.
Answer:
Going green means increasing one's initiatives toward a concern for the environment.
Explanation:
Going green involves all the knowledge and practices that can lead to more environmentally friendly and ecologically responsible decisions and lifestyles, which would protect and sustain the natural resources present in the environment for both present and future generations.
Answer:
1700kJ/h.K
944.4kJ/h.R
944.4kJ/h.°F
Explanation:
Conversions for different temperature units are below:
1K = 1°C + 273K
1R = T(K) * 1.8
= (1°C + 273) * 1.8
1°F = (1°C * 1.8) + 32
Q/delta T = 1700kJ/h.°C
T (K) = 1700kJ/h.°C
= 1700kJ/K
T (R) = 1700kJ/h.°C
= 1700kJ/h.°C * 1°C/1.8R
= 944.4kJ/h.R
T (°F) = 1700kJ/h.°C
= 1700kJ/h.°C * 1°C/1.8°F
= 944.4kJ/h.°F
Note that arithmetic operations like subtraction and addition of values do not change or affect the value of a change in temperature (delta T) hence, the arithmetic operations are not reflected in the conversion. Illustration: 5°C - 3°C
= 2°C
(273+5) - (273+3)
= 2 K