Answer:
Scope.
Explanation:
In programming, the scope could be static, private or public and in those, defines the scope of a specific variable.
Ex.
public int x = 0; // Can be seen when called within a whole class and outside of a class/ function.
private int y = 0; // Can be seen only within the class its defined in.
static pub/priv int z = 0; // Uncangeable variable that can be defined in both class and external class, depending on the two prior scopes defined after.
int aa = 0; // Defaults to private.
Answer:
The program in python is as follows:
import math
def traj ect ory(th e ta,x,y,v):
t = ma th . tan(m ath . radians(theta))
c = math . cos(math . radians(theta))
g = 9 . 8
fx = x * t - (1/(2*v**2)) * ((g*x**2)/(c**2))+y
return round(fx,3)
print("x\t f(x)")
for x in range(0,17):
theta = 50
y= 10
v = 10
print(str(x)+"\t"+str(tr aje ctory (the ta,x,y,v)))
Explanation:
The question is incomplete. However, I have written the program to calculate the trajectory values f(x).
<em>See attachment for complete program where comments were used as explanation</em>
The answer in the blank is HTML or also referred to as
Hypertext Markup Language as this is always included with the World Wide Web
pages for they are always essential and needed. It is because it is a
standardized system that would help the resources of the internet that is to be
displayed on the page.
Answer:
Technology-enhanced
Explanation:
In the past, education was limited to classrooms and laboratories in schools, with teachers providing physical well defined resources to students. Data was also sourced physically through questionnaires and other physical methods.
In recent times and with the advancement of computers and information system, notes are taken and shared, data is mined from databases online through these technology-enhanced method of education and learning.
Answer:
Following are the program in the Python Programming Language.
#set variable for input year by user
y=int(input("Enter year: "))
#set variable and initialize to 0
flag=0
#check condition that year is divisible by 4
if(y%4==0):
#check that the year is divisible by 100
if(y%100==0):
#check that the year is divisible by 400
if(y%400 ==0):
#then initialized flag to 1
flag=1
else:
#otherwise remain 0
flag = 0
else:
flag = 1
else:
flag = 0
#for break line
print()
#check that if flag is equal to 1
if(flag==1):
print("29 days in February")
#otherwise else
else:
print("28 days in February")
<u>Output</u>:
Enter year: 2020
29 days in February
Explanation:
<u>Following are the description of the program</u>:
- Set variable 'y' in which we get integer value as year from the user.
- Set variable 'flag' and initialize that variable to 0.
- Then, we set if-else conditional statements to check that the variable 'y' is divisible by 4 then, we check that the variable 'y' is divisible by 100 and we also check that the following variable is divisible by 400.
- Finally, we set if-else conditional statement to check that the variable 'flag' is equal to 1 then print about the leap year, otherwise it print about the non-leap year.