Answer:
1. G=D+(A+C^2)*E/(D+B)^3
cobegin:
p1: (D+B)
p2: p1^3
p3: C^2
p4: A+ p3
p5: E/p2
p6: p4 * p5
p7: D + p6
:G
coend
2. Now The value A=2, B=4, C=5, D=6, and E=8
p1: 6+4 =10
p2: p1 ^3= 10^3= 1000
p3: c^2= 5^2 =25
p4: A + p3= 2 +25 =27
p5: 8/1000
p6: 27 *8/1000
p7: D+ P6= 6+ 216/1000
= 6216/1000
=6.216
Explanation:
The above, first bracket with power is processed, and then power inside and outside bracket. And rest is according to BODMAS, and one process is solved at a time.
Answer:
Its the VLookup and the HLOOKUP.
Explanation:
And it depends upon the manner in which the marks are mentioned. If they are mentioned in row then we use Hlookup, and if in columns then we use vlookup.
And the syntax for vlookup is :
vlookup(lookup value, range containing the lookup value, column number in range containing the return value, approximate 0 or exact value 1)
Answer:
Relational Databases
Explanation:
These are digital databases that are made to recognize relations between previously stored items of info.
Answer:
Explanation:
The following code is written in Java. It creates the Bug class with the position and direction variables. Then it creates a constructor, move method, turn method, and getPosition method. Finally, a bug object called bugsy is created in the main method, and we move it once to the right, then again to the right, and then we turn it and move it 5 times to the left, printing out the position when it is done moving. Output can be seen in the attached picture below.
class Brainly {
public static void main(String[] args) {
Bug bugsy = new Bug(10);
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
bugsy.turn();
bugsy.move();
bugsy.move();
bugsy.move();
bugsy.move();
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
}
}
class Bug {
char direction = 'r';
int position = 0;
public Bug(int initialPosition) {
this.position = initialPosition;
}
public void turn() {
if (this.direction == 'r') {
this.direction = 'l';
} else {
this.direction = 'r';
}
}
public void move() {
if (this.direction == 'r') {
this.position += 1;
} else {
this.position -= 1;
}
}
public int getPosition() {
return this.position;
}
}