Answer:
Code is given below:
Explanation:
.data
str1: .space 20
str2: .space 20
msg1:.asciiz "Please enter string (max 20 characters): "
msg2: .asciiz "\n Please enter string (max 20 chars): "
msg3:.asciiz "\nSAME"
msg4:.asciiz "\nNOT SAME"
.text
.globl main
main:
li $v0,4 #loads msg1
la $a0,msg1
syscall
li $v0,8
la $a0,str1
addi $a1,$zero,20
syscall #got string to manipulate
li $v0,4 #loads msg2
la $a0,msg2
syscall
li $v0,8
la $a0,str2
addi $a1,$zero,20
syscall #got string
la $a0,str1 #pass address of str1
la $a1,str2 #pass address of str2
jal methodComp #call methodComp
beq $v0,$zero,ok #check result
li $v0,4
la $a0,msg4
syscall
j exit
ok:
li $v0,4
la $a0,msg3
syscall
exit:
li $v0,10
syscall
methodComp:
add $t0,$zero,$zero
add $t1,$zero,$a0
add $t2,$zero,$a1
loop:
lb $t3($t1) #load a byte from each string
lb $t4($t2)
beqz $t3,checkt2 #str1 end
beqz $t4,missmatch
slt $t5,$t3,$t4 #compare two bytes
bnez $t5,missmatch
addi $t1,$t1,1 #t1 points to the next byte of str1
addi $t2,$t2,1
j loop
missmatch:
addi $v0,$zero,1
j endfunction
checkt2:
bnez $t4,missmatch
add $v0,$zero,$zero
endfunction:
jr $ra
Answer:
Circular tube
Explanation:
Now for better understanding lets take an example
Lets take
Diameter of solid bar=
cm
Outer diameter of tube =6 cm
Inner diameter of tube=2 cm
So from we can say that both tubes have equal cross sectional area.
We know that buckling load is given as
If area moment of inertia(I) is high then buckling load will be high.
We know that area moment of inertia(I)
For circular tube 
For circular bar
Now by putting the values
For circular tube 
For circular bar 
So we can say that for same cross sectional area the area moment of inertia(I) is high for tube as compare to bar.So buckling load will be higher in tube as compare to bar.
Answer:

Explanation:
Soil bearing pressure=
Since we're given pressure of 2500 psf and load of 45000 pounds
The area=
Therefore, the smallest area of safe footings should not be less than 
Answer:
b. 1232.08 km/hr
c. 1.02 kn
Explanation:
a) For dynamic similar conditions, the non-dimensional terms R/ρ V2 L2 and ρVL/ μ should be same for both prototype and its model. For these non-dimensional terms , R is drag force, V is velocity in m/s, μ is dynamic viscosity, ρ is density and L is length parameter.
See attachment for the remaining.