Question
The perimeter of a square field is 10 cm more than the
perimeter of a rectangle. The length of the rectangle is 55 cm which is 250% of its width. If a street of width 10 cm surrounds from outside the square, then find the total cost of constructing the street at the rate of Rs. 20 per sq. cm?Solution
Let the width of the rectangle = x cm Then, 250% of x = 55 x = 55 × 100/250 = 22 cm Perimeter of the rectangle = 2 (length + width) = 2 × (55 + 22) = 154 cm Perimeter of the square = (154 + 10) = 164 cm The sides of the square = 164/4 = 41 cm The area of the square field without street = (41)2 sq. cm = 1681 sq. cm  The area of the square field with street = (41 + 20)2 sq. cm = 3721 sq. cm The area of the street = 3721 – 1681 = 2040 sq. cm The total cost of constructing the street = 2040 × 20 = Rs. 40800
How can you make a shell script executable?
Which command is used to display the current working directory?
What does the #!/bin/bash line at the beginning of a shell script indicate?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
Which command is used to display the number of lines in a file?
Extended globbing in bash allows:
What does the command `chmod 755 myscript.sh` set as permissions for `myscript.sh`?
In bash, what does trap 'echo Exit' EXIT do?
Which command is used to display the last few lines of a file?
Which ETL process step validates and cleans data before loading?