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:
The electrical power is 96.5 W/m^2
Explanation:
The energy balance is:
Ein-Eout=0

if:
Gsky=oTsky^4
Eb=oTs^4
qc=h(Ts-Tα)


if Gl≈El(l,5800)

lt= 2*5800=11600 um-K, at this value, F=0.941

The hemispherical emissivity is equal to:

lt=2*333=666 K, at this value, F=0

The hemispherical absorptivity is equal to:

Answer:
#WeirdestQuestionOfAllTime
Explanation:
Answer:

Explanation:
Previous concepts
Angular momentum. If we consider a particle of mass m, with velocity v, moving under the influence of a force F. The angular momentum about point O is defined as the “moment” of the particle’s linear momentum, L, about O. And the correct formula is:

Applying Newton’s second law to the right hand side of the above equation, we have that r ×ma = r ×F =
MO, where MO is the moment of the force F about point O. The equation expressing the rate of change of angular momentum is this one:
MO = H˙ O
Principle of Angular Impulse and Momentum
The equation MO = H˙ O gives us the instantaneous relation between the moment and the time rate of change of angular momentum. Imagine now that the force considered acts on a particle between time t1 and time t2. The equation MO = H˙ O can then be integrated in time to obtain this:

Solution to the problem
For this case we can use the principle of angular impulse and momentum that states "The mass moment of inertia of a gear about its mass center is
".
If we analyze the staritning point we see that the initial velocity can be founded like this:

And if we look the figure attached we can use the point A as a reference to calculate the angular impulse and momentum equation, like this:

](https://tex.z-dn.net/?f=0%2B%5Csum%20%5Cint_%7B0%7D%5E%7B4%7D%2020t%20%280.15m%29%20dt%20%3D0.46875%20%5Comega%20%2B%2030kg%5B%5Comega%280.15m%29%5D%280.15m%29)
And if we integrate the left part and we simplify the right part we have

And if we solve for
we got:

Answer:
T₂ =93.77 °C
Explanation:
Initial temperature ,T₁ =27°C= 273 +27 = 300 K
We know that
Absolute pressure = Gauge pressure + Atmospheric pressure
Initial pressure ,P₁ = 300+1=301 kPa
Final pressure ,P₂= 367+1 = 368 kPa
Lets take temperature=T₂
We know that ,If the volume of the gas is constant ,then we can say that


Now by putting the values in the above equation we get

The temperature in °C
T₂ = 366.77 - 273 °C
T₂ =93.77 °C