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
Juicers nb 345676 at that rate it will be amazing
Answer:
All 3 principal stress
1. 56.301mpa
2. 28.07mpa
3. 0mpa
Maximum shear stress = 14.116mpa
Explanation:
di = 75 = 0.075
wall thickness = 0.1 = 0.0001
internal pressure pi = 150 kpa = 150 x 10³
torque t = 100 Nm
finding all values
∂1 = 150x10³x0.075/2x0,0001
= 0.5625 = 56.25mpa
∂2 = 150x10³x75/4x0.1
= 28.12mpa
T = 16x100/(πx75x10³)²
∂1,2 = 1/2[(56.25+28.12) ± √(56.25-28.12)² + 4(1.207)²]
= 1/2[84.37±√791.2969+5.827396]
= 1/2[84.37±28.33]
∂1 = 1/2[84.37+28.33]
= 56.301mpa
∂2 = 1/2[84.37-28.33]
= 28.07mpa
This is a 2 d diagram donut is analyzed in 2 direction.
So ∂3 = 0mpa
∂max = 56.301-28.07/2
= 14.116mpa
Answer:
1) titration
2) titrand
3) equivalence point
4) titrant
5) Burette
6) Indicator
Explanation:
The process in which a known volume of a standard solution is added to another solution so that the standard solution can react with the solution of unknown concentration such that its concentration is determined can be referred to as titration.
The solution which is added to another solution is called the titrant. The titrand is the solution of unknown concentration
A burette is a glassware used to slowly add a known volume of the titrant to the titrand.
The indicator used signals the point when the reaction is complete by a color change. At this point, a stoichiometric amount of titrant has been added to the titrand. This is also referred to as the equivalence point.
Y = a (b)^t/p
y is total money
a is original amount
b is growth / decay factor
t is time
p is the frequency of every growth or decay
15131.76 = 11613 x 1.08^x
15131.76 / 11613 = 1.08^x
1.303… = 1.08^x
log1.303…. = xlog1.08
x = 3.43902165741 years