Advertisement
Guest User

Untitled

a guest
Nov 11th, 2023
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.17 KB | None | 0 0
  1. "<<DESIK's OPERATOR CALCULATION>>
  2.  
  3. Value to calculate: 60816 <<*>> 41874
  4.  
  5. NumA = 60816, NumB = 41874
  6.  
  7. NumA digits from units position = [1st=6,2nd=1,3rd=8,4th=0,5th=6]
  8. NumB digits from units position = [1st=4,2nd=7,3rd=8,4th=1,5th=4]
  9.  
  10. **Digitwise Operator Calculation**
  11.  
  12. Applying operation on NumB 1st digit operation
  13.  
  14. 60816 <<*>> 4 {
  15. NumA 1st=6, mul1=6*4=24, rem1=mul1%10=4, carry1=mul1/10=2
  16. NumA 2nd=1, mul2=1*4=4, add2=mul2+carry1=4+2=6, rem2=add2%10=6, carry2=add2/10=0
  17. NumA 3rd=8, mul3=8*4=32, add3=mul3+carry2=32+0=32, rem3=add3%10=2, carry3=add3/10=3
  18. NumA 4th=0, mul4=0*4=0, add4=mul4+carry3=0+3=3, rem4=add4%10=3, carry4=add4/10=0
  19. NumA 5th=6, mul5=6*4=24, add5=mul5+carry4=24+0=24, rem5=add5%10=4, carry5=add5/10=2
  20. }
  21. Final Carry is not zero so OverallValue = [carry6, rem5,rem4,rem3,rem2,rem1]=243264
  22. Num1 = OverallValue*10^(1-1) = 243264*1=243264
  23.  
  24. Applying operation on NumB 2nd digit operation
  25.  
  26. 60816 <<*>> 7 {
  27. NumA 1st=6, mul1=6*7=42, rem1=mul1%10=2, carry1=mul1/10=4
  28. NumA 2nd=1, mul2=1*7=7, add2=mul2+carry1=7+4=11, rem2=add2%10=1, carry2=add2/10=1
  29. NumA 3rd=8, mul3=8*7=56, add3=mul3+carry2=56+1=57, rem3=add3%10=7, carry3=add3/10=5
  30. NumA 4th=0, mul4=0*7=0, add4=mul4+carry3=0+5=5, rem4=add4%10=5, carry4=add4/10=0
  31. NumA 5th=6, mul5=6*7=42, add5=mul5+carry4=42+0=42, rem5=add5%10=2, carry5=add5/10=4
  32. }
  33. Final Carry is not zero so OverallValue = [carry6, rem5,rem4,rem3,rem2,rem1]=425712
  34. Num2 = OverallValue*10^(2-1) = 425712*10=4257120
  35.  
  36. Applying operation on NumB 3rd digit operation
  37.  
  38. 60816 <<*>> 8 {
  39. NumA 1st=6, mul1=6*8=48, rem1=mul1%10=8, carry1=mul1/10=4
  40. NumA 2nd=1, mul2=1*8=8, add2=mul2+carry1=8+4=12, rem2=add2%10=2, carry2=add2/10=1
  41. NumA 3rd=8, mul3=8*8=64, add3=mul3+carry2=64+1=65, rem3=add3%10=5, carry3=add3/10=6
  42. NumA 4th=0, mul4=0*8=0, add4=mul4+carry3=0+6=6, rem4=add4%10=6, carry4=add4/10=0
  43. NumA 5th=6, mul5=6*8=48, add5=mul5+carry4=48+0=48, rem5=add5%10=8, carry5=add5/10=4
  44. }
  45. Final Carry is not zero so OverallValue = [carry6, rem5,rem4,rem3,rem2,rem1]=486528
  46. Num3 = OverallValue*10^(3-1) = 486528*100=48652800
  47.  
  48. Applying operation on NumB 4th digit operation
  49.  
  50. 60816 <<*>> 1 {
  51. NumA 1st=6, mul1=6*1=6, rem1=mul1%10=6, carry1=mul1/10=0
  52. NumA 2nd=1, mul2=1*1=1, add2=mul2+carry1=1+0=1, rem2=add2%10=1, carry2=add2/10=0
  53. NumA 3rd=8, mul3=8*1=8, add3=mul3+carry2=8+0=8, rem3=add3%10=8, carry3=add3/10=0
  54. NumA 4th=0, mul4=0*1=0, add4=mul4+carry3=0+0=0, rem4=add4%10=0, carry4=add4/10=0
  55. NumA 5th=6, mul5=6*1=6, add5=mul5+carry4=6+0=6, rem5=add5%10=6, carry5=add5/10=0
  56. }
  57. Final Carry is zero so OverallValue = [rem5,rem4,rem3,rem2,rem1]=60816
  58. Num4 = OverallValue*10^(4-1) = 60816*1000=60816000
  59.  
  60. Applying operation on NumB 5th digit operation
  61.  
  62. 60816 <<*>> 4 {
  63. NumA 1st=6, mul1=6*4=24, rem1=mul1%10=4, carry1=mul1/10=2
  64. NumA 2nd=1, mul2=1*4=4, add2=mul2+carry1=4+2=6, rem2=add2%10=6, carry2=add2/10=0
  65. NumA 3rd=8, mul3=8*4=32, add3=mul3+carry2=32+0=32, rem3=add3%10=2, carry3=add3/10=3
  66. NumA 4th=0, mul4=0*4=0, add4=mul4+carry3=0+3=3, rem4=add4%10=3, carry4=add4/10=0
  67. NumA 5th=6, mul5=6*4=24, add5=mul5+carry4=24+0=24, rem5=add5%10=4, carry5=add5/10=2
  68. }
  69. Final Carry is not zero so OverallValue = [carry6, rem5,rem4,rem3,rem2,rem1]=243264
  70. Num5 = OverallValue*10^(5-1) = 243264*10000=2432640000
  71.  
  72. NumA <<*>> NumB = Num1 <<+>> Num2 <<+>> Num3 <<+>> Num4 <<+>> Num5=243264 <<+>> 4257120 <<+>> 48652800 <<+>> 60816000 <<+>> 2432640000
  73.  
  74. Num1 digits from units position: {
  75. 1st=4,2nd=6,3rd=2,4th=3,5th=4,6th=2,}
  76. Num2 digits from units position: {1st=0,2nd=2,3rd=1,4th=7,5th=5,6th=2,7th=4,}
  77.  
  78. 243264 <<+>> 4257120{
  79. Num1 1st=4, Num2 1st=0, add1=4+0=4, rem1=add1%10=4, carry1=add1/10=0
  80. Num1 2nd=6, Num2 2nd=2, carry1=0, add2=6+2+0=8, rem2=add2%10=8, carry2=add2/10=0
  81. Num1 3rd=2, Num2 3rd=1, carry2=0, add3=2+1+0=3, rem3=add3%10=3, carry3=add3/10=0
  82. Num1 4th=3, Num2 4th=7, carry3=0, add4=3+7+0=10, rem4=add4%10=0, carry4=add4/10=1
  83. Num1 5th=4, Num2 5th=5, carry4=1, add5=4+5+1=10, rem5=add5%10=0, carry5=add5/10=1
  84. Num1 6th=2, Num2 6th=2, carry5=1, add6=2+2+1=5, rem6=add6%10=5, carry6=add6/10=0
  85. Num1 7th Digit is not present, Num2 7th=4, carry6=0, add7=4+0=4, rem7=add7%10=4, carry7=add7/10=0
  86. }
  87.  
  88. Add1 = [rem7,rem6,rem5,rem4,rem3,rem2,rem1] = 4500384
  89.  
  90. Add1 digits from units position: {
  91. 1st=4,2nd=8,3rd=3,4th=0,5th=0,6th=5,7th=4,}
  92. Num3 digits from units position: {1st=0,2nd=0,3rd=8,4th=2,5th=5,6th=6,7th=8,8th=4,}
  93.  
  94. 4500384 <<+>> 48652800{
  95. Add1 1st=4, Num3 1st=0, add1=4+0=4, rem1=add1%10=4, carry1=add1/10=0
  96. Add1 2nd=8, Num3 2nd=0, carry1=0, add2=8+0+0=8, rem2=add2%10=8, carry2=add2/10=0
  97. Add1 3rd=3, Num3 3rd=8, carry2=0, add3=3+8+0=11, rem3=add3%10=1, carry3=add3/10=1
  98. Add1 4th=0, Num3 4th=2, carry3=1, add4=0+2+1=3, rem4=add4%10=3, carry4=add4/10=0
  99. Add1 5th=0, Num3 5th=5, carry4=0, add5=0+5+0=5, rem5=add5%10=5, carry5=add5/10=0
  100. Add1 6th=5, Num3 6th=6, carry5=0, add6=5+6+0=11, rem6=add6%10=1, carry6=add6/10=1
  101. Add1 7th=4, Num3 7th=8, carry6=1, add7=4+8+1=13, rem7=add7%10=3, carry7=add7/10=1
  102. Add1 8th Digit is not present, Num3 8th=4, carry7=1, add8=4+1=5, rem8=add8%10=5, carry8=add8/10=0
  103. }
  104.  
  105. Add2 = [rem8,rem7,rem6,rem5,rem4,rem3,rem2,rem1] = 53153184
  106.  
  107. Add2 digits from units position: {
  108. 1st=4,2nd=8,3rd=1,4th=3,5th=5,6th=1,7th=3,8th=5,}
  109. Num4 digits from units position: {1st=0,2nd=0,3rd=0,4th=6,5th=1,6th=8,7th=0,8th=6,}
  110.  
  111. 53153184 <<+>> 60816000{
  112. Add2 1st=4, Num4 1st=0, add1=4+0=4, rem1=add1%10=4, carry1=add1/10=0
  113. Add2 2nd=8, Num4 2nd=0, carry1=0, add2=8+0+0=8, rem2=add2%10=8, carry2=add2/10=0
  114. Add2 3rd=1, Num4 3rd=0, carry2=0, add3=1+0+0=1, rem3=add3%10=1, carry3=add3/10=0
  115. Add2 4th=3, Num4 4th=6, carry3=0, add4=3+6+0=9, rem4=add4%10=9, carry4=add4/10=0
  116. Add2 5th=5, Num4 5th=1, carry4=0, add5=5+1+0=6, rem5=add5%10=6, carry5=add5/10=0
  117. Add2 6th=1, Num4 6th=8, carry5=0, add6=1+8+0=9, rem6=add6%10=9, carry6=add6/10=0
  118. Add2 7th=3, Num4 7th=0, carry6=0, add7=3+0+0=3, rem7=add7%10=3, carry7=add7/10=0
  119. Add2 8th=5, Num4 8th=6, carry7=0, add8=5+6+0=11, rem8=add8%10=1, carry8=add8/10=1
  120. Add2 9th Digit is not present, Num4 9th Digit is not present, carry8=1, carry9=1
  121. }
  122.  
  123. Add3 = [carry9,rem8,rem7,rem6,rem5,rem4,rem3,rem2,rem1] = 113969184
  124.  
  125. Add3 digits from units position: {
  126. 1st=4,2nd=8,3rd=1,4th=9,5th=6,6th=9,7th=3,8th=1,9th=1,}
  127. Num5 digits from units position: {1st=0,2nd=0,3rd=0,4th=0,5th=4,6th=6,7th=2,8th=3,9th=4,10th=2,}
  128.  
  129. 113969184 <<+>> 2432640000{
  130. Add3 1st=4, Num5 1st=0, add1=4+0=4, rem1=add1%10=4, carry1=add1/10=0
  131. Add3 2nd=8, Num5 2nd=0, carry1=0, add2=8+0+0=8, rem2=add2%10=8, carry2=add2/10=0
  132. Add3 3rd=1, Num5 3rd=0, carry2=0, add3=1+0+0=1, rem3=add3%10=1, carry3=add3/10=0
  133. Add3 4th=9, Num5 4th=0, carry3=0, add4=9+0+0=9, rem4=add4%10=9, carry4=add4/10=0
  134. Add3 5th=6, Num5 5th=4, carry4=0, add5=6+4+0=10, rem5=add5%10=0, carry5=add5/10=1
  135. Add3 6th=9, Num5 6th=6, carry5=1, add6=9+6+1=16, rem6=add6%10=6, carry6=add6/10=1
  136. Add3 7th=3, Num5 7th=2, carry6=1, add7=3+2+1=6, rem7=add7%10=6, carry7=add7/10=0
  137. Add3 8th=1, Num5 8th=3, carry7=0, add8=1+3+0=4, rem8=add8%10=4, carry8=add8/10=0
  138. Add3 9th=1, Num5 9th=4, carry8=0, add9=1+4+0=5, rem9=add9%10=5, carry9=add9/10=0
  139. Add3 10th Digit is not present, Num5 10th=2, carry9=0, add10=2+0=2, rem10=add10%10=2, carry10=add10/10=0
  140. }
  141.  
  142. Add4 = [rem10,rem9,rem8,rem7,rem6,rem5,rem4,rem3,rem2,rem1] = 2546609184
  143.  
  144. <</END>>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement