#### Name: Shashwat Mahajan #### Roll Number: 1801CS46 NOTE: Commands are typed like ```command``` ## Problem 1 The program execution shows that whichever thread is created, it is executed. The iteration number from inside the thread and from the main function match each other. ### Compilation ``` gcc -o P1 P1.c -lpthread ``` ### Execution Syntax ``` ./P1 {Number of threads} ``` ### Example 1 ``` ./P1 10 ``` ``` I am groot 140663993554752. Created new groot (140663993550592) in iteration 0... Hello from groot 140663993550592 - I was created in iteration 0... I am groot 140663993554752. Created new groot (140663985157888) in iteration 1... Hello from groot 140663985157888 - I was created in iteration 1... I am groot 140663993554752. Created new groot (140663976765184) in iteration 2... Hello from groot 140663976765184 - I was created in iteration 2... I am groot 140663993554752. Created new groot (140663968372480) in iteration 3... I am groot 140663993554752. Created new groot (140663959979776) in iteration 4... Hello from groot 140663959979776 - I was created in iteration 4... Hello from groot 140663968372480 - I was created in iteration 3... I am groot 140663993554752. Created new groot (140663951587072) in iteration 5... I am groot 140663993554752. Created new groot (140663943194368) in iteration 6... Hello from groot 140663951587072 - I was created in iteration 5... Hello from groot 140663943194368 - I was created in iteration 6... I am groot 140663993554752. Created new groot (140663934801664) in iteration 7... Hello from groot 140663934801664 - I was created in iteration 7... I am groot 140663993554752. Created new groot (140663926408960) in iteration 8... I am groot 140663993554752. Created new groot (140663918016256) in iteration 9... Hello from groot 140663926408960 - I was created in iteration 8... Hello from groot 140663918016256 - I was created in iteration 9... ``` ### Example 2 ``` ./P1 ``` ``` Invalid number of arguments. ``` ### Example 3 ``` ./P1 51 ``` ``` Number of threads more than maximum limit set. Setting it to 50. I am groot 140037066635072. Created new groot (140037066630912) in iteration 0... Hello from groot 140037066630912 - I was created in iteration 0... I am groot 140037066635072. Created new groot (140037058238208) in iteration 1... Hello from groot 140037058238208 - I was created in iteration 1... I am groot 140037066635072. Created new groot (140037049845504) in iteration 2... Hello from groot 140037049845504 - I was created in iteration 2... I am groot 140037066635072. Created new groot (140037041452800) in iteration 3... Hello from groot 140037041452800 - I was created in iteration 3... I am groot 140037066635072. Created new groot (140037033060096) in iteration 4... Hello from groot 140037033060096 - I was created in iteration 4... I am groot 140037066635072. Created new groot (140037024667392) in iteration 5... I am groot 140037066635072. Created new groot (140037016274688) in iteration 6... Hello from groot 140037024667392 - I was created in iteration 5... Hello from groot 140037016274688 - I was created in iteration 6... Hello from groot 140037007881984 - I was created in iteration 7... I am groot 140037066635072. Created new groot (140037007881984) in iteration 7... I am groot 140037066635072. Created new groot (140036999489280) in iteration 8... I am groot 140037066635072. Created new groot (140036991096576) in iteration 9... Hello from groot 140036999489280 - I was created in iteration 8... Hello from groot 140036991096576 - I was created in iteration 9... I am groot 140037066635072. Created new groot (140036982703872) in iteration 10... Hello from groot 140036982703872 - I was created in iteration 10... I am groot 140037066635072. Created new groot (140036974311168) in iteration 11... Hello from groot 140036974311168 - I was created in iteration 11... I am groot 140037066635072. Created new groot (140036965918464) in iteration 12... Hello from groot 140036965918464 - I was created in iteration 12... I am groot 140037066635072. Created new groot (140036957525760) in iteration 13... I am groot 140037066635072. Created new groot (140036949133056) in iteration 14... Hello from groot 140036957525760 - I was created in iteration 13... Hello from groot 140036949133056 - I was created in iteration 14... I am groot 140037066635072. Created new groot (140036940740352) in iteration 15... Hello from groot 140036940740352 - I was created in iteration 15... I am groot 140037066635072. Created new groot (140036932347648) in iteration 16... Hello from groot 140036932347648 - I was created in iteration 16... I am groot 140037066635072. Created new groot (140036923954944) in iteration 17... Hello from groot 140036923954944 - I was created in iteration 17... I am groot 140037066635072. Created new groot (140036915562240) in iteration 18... I am groot 140037066635072. Created new groot (140036907169536) in iteration 19... Hello from groot 140036915562240 - I was created in iteration 18... Hello from groot 140036907169536 - I was created in iteration 19... I am groot 140037066635072. Created new groot (140036898776832) in iteration 20... Hello from groot 140036898776832 - I was created in iteration 20... I am groot 140037066635072. Created new groot (140036890384128) in iteration 21... Hello from groot 140036890384128 - I was created in iteration 21... I am groot 140037066635072. Created new groot (140036881991424) in iteration 22... Hello from groot 140036881991424 - I was created in iteration 22... I am groot 140037066635072. Created new groot (140036873598720) in iteration 23... I am groot 140037066635072. Created new groot (140036865206016) in iteration 24... Hello from groot 140036873598720 - I was created in iteration 23... Hello from groot 140036865206016 - I was created in iteration 24... I am groot 140037066635072. Created new groot (140036856813312) in iteration 25... Hello from groot 140036856813312 - I was created in iteration 25... I am groot 140037066635072. Created new groot (140036848420608) in iteration 26... Hello from groot 140036848420608 - I was created in iteration 26... I am groot 140037066635072. Created new groot (140036840027904) in iteration 27... I am groot 140037066635072. Created new groot (140036831635200) in iteration 28... Hello from groot 140036840027904 - I was created in iteration 27... I am groot 140037066635072. Created new groot (140036823242496) in iteration 29... Hello from groot 140036831635200 - I was created in iteration 28... Hello from groot 140036823242496 - I was created in iteration 29... I am groot 140037066635072. Created new groot (140036814849792) in iteration 30... Hello from groot 140036814849792 - I was created in iteration 30... I am groot 140037066635072. Created new groot (140036806457088) in iteration 31... Hello from groot 140036806457088 - I was created in iteration 31... I am groot 140037066635072. Created new groot (140036798064384) in iteration 32... Hello from groot 140036798064384 - I was created in iteration 32... I am groot 140037066635072. Created new groot (140036789671680) in iteration 33... Hello from groot 140036789671680 - I was created in iteration 33... I am groot 140037066635072. Created new groot (140036781278976) in iteration 34... Hello from groot 140036781278976 - I was created in iteration 34... I am groot 140037066635072. Created new groot (140036772886272) in iteration 35... Hello from groot 140036772886272 - I was created in iteration 35... I am groot 140037066635072. Created new groot (140036764493568) in iteration 36... Hello from groot 140036764493568 - I was created in iteration 36... I am groot 140037066635072. Created new groot (140036756100864) in iteration 37... Hello from groot 140036756100864 - I was created in iteration 37... I am groot 140037066635072. Created new groot (140036747708160) in iteration 38... Hello from groot 140036747708160 - I was created in iteration 38... I am groot 140037066635072. Created new groot (140036739315456) in iteration 39... Hello from groot 140036739315456 - I was created in iteration 39... I am groot 140037066635072. Created new groot (140036730922752) in iteration 40... Hello from groot 140036730922752 - I was created in iteration 40... I am groot 140037066635072. Created new groot (140036722530048) in iteration 41... Hello from groot 140036722530048 - I was created in iteration 41... I am groot 140037066635072. Created new groot (140036714137344) in iteration 42... Hello from groot 140036714137344 - I was created in iteration 42... I am groot 140037066635072. Created new groot (140036705744640) in iteration 43... Hello from groot 140036705744640 - I was created in iteration 43... I am groot 140037066635072. Created new groot (140036697351936) in iteration 44... Hello from groot 140036697351936 - I was created in iteration 44... I am groot 140037066635072. Created new groot (140036688959232) in iteration 45... Hello from groot 140036688959232 - I was created in iteration 45... I am groot 140037066635072. Created new groot (140036680566528) in iteration 46... Hello from groot 140036680566528 - I was created in iteration 46... I am groot 140037066635072. Created new groot (140036672173824) in iteration 47... Hello from groot 140036672173824 - I was created in iteration 47... I am groot 140037066635072. Created new groot (140036663781120) in iteration 48... Hello from groot 140036663781120 - I was created in iteration 48... I am groot 140037066635072. Created new groot (140036655388416) in iteration 49... Hello from groot 140036655388416 - I was created in iteration 49... ``` ## Problem 2 The final value of the global variable and the local static variable are the same. This is because, both of these variables are stored in the data segment and are shared between the threads. The static variable does not get destroyed when a function terminates and thus its address remains the same for all the threads, including main. This helps us to return its value using the pthread_exit() and we receive it through pthread_join(). ### Compilation ``` gcc -o P2 P2.c -lpthread ``` ### Execution Syntax ``` ./P2 ``` ### Example 1 ``` ./P2 ``` ``` Final Global Value: 10 Final Static Value: 10 ``` ## Problem 3 In this program we return the pointer to a local static array. Now since it is static, it does not get destroyed after the thread terminates. Thus we can use the returned address to dereference the values of the cuberoots from the location where original local static variable was stored. ### Compilation ``` gcc -o P3 P3.c -lpthread -lm ``` ### Execution Syntax ``` ./P3 ``` ### Example 1 ``` ./P3 ``` ``` Computation under process. Please wait... cbrt(0) = 0.000000 cbrt(1) = 1.000000 cbrt(2) = 1.259921 cbrt(3) = 1.442250 cbrt(4) = 1.587401 cbrt(5) = 1.709976 cbrt(6) = 1.817121 cbrt(7) = 1.912931 cbrt(8) = 2.000000 cbrt(9) = 2.080084 cbrt(10) = 2.154435 cbrt(11) = 2.223980 cbrt(12) = 2.289428 cbrt(13) = 2.351335 cbrt(14) = 2.410142 cbrt(15) = 2.466212 cbrt(16) = 2.519842 cbrt(17) = 2.571282 cbrt(18) = 2.620741 cbrt(19) = 2.668402 cbrt(20) = 2.714418 cbrt(21) = 2.758924 cbrt(22) = 2.802039 cbrt(23) = 2.843867 cbrt(24) = 2.884499 cbrt(25) = 2.924018 cbrt(26) = 2.962496 cbrt(27) = 3.000000 cbrt(28) = 3.036589 cbrt(29) = 3.072317 cbrt(30) = 3.107233 cbrt(31) = 3.141381 cbrt(32) = 3.174802 cbrt(33) = 3.207534 cbrt(34) = 3.239612 cbrt(35) = 3.271066 cbrt(36) = 3.301927 cbrt(37) = 3.332222 cbrt(38) = 3.361975 cbrt(39) = 3.391211 cbrt(40) = 3.419952 cbrt(41) = 3.448217 cbrt(42) = 3.476027 cbrt(43) = 3.503398 cbrt(44) = 3.530348 cbrt(45) = 3.556893 cbrt(46) = 3.583048 cbrt(47) = 3.608826 cbrt(48) = 3.634241 cbrt(49) = 3.659306 cbrt(50) = 3.684031 cbrt(51) = 3.708430 cbrt(52) = 3.732511 cbrt(53) = 3.756286 cbrt(54) = 3.779763 cbrt(55) = 3.802952 cbrt(56) = 3.825862 cbrt(57) = 3.848501 cbrt(58) = 3.870877 cbrt(59) = 3.892996 cbrt(60) = 3.914868 cbrt(61) = 3.936497 cbrt(62) = 3.957892 cbrt(63) = 3.979057 cbrt(64) = 4.000000 cbrt(65) = 4.020726 cbrt(66) = 4.041240 cbrt(67) = 4.061548 cbrt(68) = 4.081655 cbrt(69) = 4.101566 cbrt(70) = 4.121285 cbrt(71) = 4.140818 cbrt(72) = 4.160168 cbrt(73) = 4.179339 cbrt(74) = 4.198336 cbrt(75) = 4.217163 cbrt(76) = 4.235824 cbrt(77) = 4.254321 cbrt(78) = 4.272659 cbrt(79) = 4.290840 cbrt(80) = 4.308869 cbrt(81) = 4.326749 cbrt(82) = 4.344481 cbrt(83) = 4.362071 cbrt(84) = 4.379519 cbrt(85) = 4.396830 cbrt(86) = 4.414005 cbrt(87) = 4.431048 cbrt(88) = 4.447960 cbrt(89) = 4.464745 cbrt(90) = 4.481405 cbrt(91) = 4.497941 cbrt(92) = 4.514357 cbrt(93) = 4.530655 cbrt(94) = 4.546836 cbrt(95) = 4.562903 cbrt(96) = 4.578857 cbrt(97) = 4.594701 cbrt(98) = 4.610436 cbrt(99) = 4.626065 cbrt(100) = 4.641589 cbrt(101) = 4.657010 cbrt(102) = 4.672329 cbrt(103) = 4.687548 cbrt(104) = 4.702669 cbrt(105) = 4.717694 cbrt(106) = 4.732623 cbrt(107) = 4.747459 cbrt(108) = 4.762203 cbrt(109) = 4.776856 cbrt(110) = 4.791420 cbrt(111) = 4.805896 cbrt(112) = 4.820285 cbrt(113) = 4.834588 cbrt(114) = 4.848808 cbrt(115) = 4.862944 cbrt(116) = 4.876999 cbrt(117) = 4.890973 cbrt(118) = 4.904868 cbrt(119) = 4.918685 cbrt(120) = 4.932424 cbrt(121) = 4.946087 cbrt(122) = 4.959676 cbrt(123) = 4.973190 cbrt(124) = 4.986631 cbrt(125) = 5.000000 cbrt(126) = 5.013298 cbrt(127) = 5.026526 cbrt(128) = 5.039684 cbrt(129) = 5.052774 cbrt(130) = 5.065797 cbrt(131) = 5.078753 cbrt(132) = 5.091643 cbrt(133) = 5.104469 cbrt(134) = 5.117230 cbrt(135) = 5.129928 cbrt(136) = 5.142563 cbrt(137) = 5.155137 cbrt(138) = 5.167649 cbrt(139) = 5.180101 cbrt(140) = 5.192494 cbrt(141) = 5.204828 cbrt(142) = 5.217103 cbrt(143) = 5.229322 cbrt(144) = 5.241483 cbrt(145) = 5.253588 cbrt(146) = 5.265637 cbrt(147) = 5.277632 cbrt(148) = 5.289572 cbrt(149) = 5.301459 cbrt(150) = 5.313293 cbrt(151) = 5.325074 cbrt(152) = 5.336803 cbrt(153) = 5.348481 cbrt(154) = 5.360108 cbrt(155) = 5.371685 cbrt(156) = 5.383213 cbrt(157) = 5.394691 cbrt(158) = 5.406120 cbrt(159) = 5.417502 cbrt(160) = 5.428835 cbrt(161) = 5.440122 cbrt(162) = 5.451362 cbrt(163) = 5.462556 cbrt(164) = 5.473704 cbrt(165) = 5.484807 cbrt(166) = 5.495865 cbrt(167) = 5.506878 cbrt(168) = 5.517848 cbrt(169) = 5.528775 cbrt(170) = 5.539658 cbrt(171) = 5.550499 cbrt(172) = 5.561298 cbrt(173) = 5.572055 cbrt(174) = 5.582770 cbrt(175) = 5.593445 cbrt(176) = 5.604079 cbrt(177) = 5.614672 cbrt(178) = 5.625226 cbrt(179) = 5.635741 cbrt(180) = 5.646216 cbrt(181) = 5.656653 cbrt(182) = 5.667051 cbrt(183) = 5.677411 cbrt(184) = 5.687734 cbrt(185) = 5.698019 cbrt(186) = 5.708267 cbrt(187) = 5.718479 cbrt(188) = 5.728654 cbrt(189) = 5.738794 cbrt(190) = 5.748897 cbrt(191) = 5.758965 cbrt(192) = 5.768998 cbrt(193) = 5.778997 cbrt(194) = 5.788960 cbrt(195) = 5.798890 cbrt(196) = 5.808786 cbrt(197) = 5.818648 cbrt(198) = 5.828477 cbrt(199) = 5.838272 cbrt(200) = 5.848035 cbrt(201) = 5.857766 cbrt(202) = 5.867464 cbrt(203) = 5.877131 cbrt(204) = 5.886765 cbrt(205) = 5.896369 cbrt(206) = 5.905941 cbrt(207) = 5.915482 cbrt(208) = 5.924992 cbrt(209) = 5.934472 cbrt(210) = 5.943922 cbrt(211) = 5.953342 cbrt(212) = 5.962732 cbrt(213) = 5.972093 cbrt(214) = 5.981424 cbrt(215) = 5.990726 cbrt(216) = 6.000000 cbrt(217) = 6.009245 cbrt(218) = 6.018462 cbrt(219) = 6.027650 cbrt(220) = 6.036811 cbrt(221) = 6.045944 cbrt(222) = 6.055049 cbrt(223) = 6.064127 cbrt(224) = 6.073178 cbrt(225) = 6.082202 cbrt(226) = 6.091199 cbrt(227) = 6.100170 cbrt(228) = 6.109115 cbrt(229) = 6.118033 cbrt(230) = 6.126926 cbrt(231) = 6.135792 cbrt(232) = 6.144634 cbrt(233) = 6.153449 cbrt(234) = 6.162240 cbrt(235) = 6.171006 cbrt(236) = 6.179747 cbrt(237) = 6.188463 cbrt(238) = 6.197154 cbrt(239) = 6.205822 cbrt(240) = 6.214465 cbrt(241) = 6.223084 cbrt(242) = 6.231680 cbrt(243) = 6.240251 cbrt(244) = 6.248800 cbrt(245) = 6.257325 cbrt(246) = 6.265827 cbrt(247) = 6.274305 cbrt(248) = 6.282761 cbrt(249) = 6.291195 cbrt(250) = 6.299605 cbrt(251) = 6.307994 cbrt(252) = 6.316360 cbrt(253) = 6.324704 cbrt(254) = 6.333026 cbrt(255) = 6.341326 cbrt(256) = 6.349604 cbrt(257) = 6.357861 cbrt(258) = 6.366097 cbrt(259) = 6.374311 cbrt(260) = 6.382504 cbrt(261) = 6.390677 cbrt(262) = 6.398828 cbrt(263) = 6.406959 cbrt(264) = 6.415069 cbrt(265) = 6.423158 cbrt(266) = 6.431228 cbrt(267) = 6.439277 cbrt(268) = 6.447306 cbrt(269) = 6.455315 cbrt(270) = 6.463304 cbrt(271) = 6.471274 cbrt(272) = 6.479224 cbrt(273) = 6.487154 cbrt(274) = 6.495065 cbrt(275) = 6.502957 cbrt(276) = 6.510830 cbrt(277) = 6.518684 cbrt(278) = 6.526519 cbrt(279) = 6.534335 cbrt(280) = 6.542133 cbrt(281) = 6.549912 cbrt(282) = 6.557672 cbrt(283) = 6.565414 cbrt(284) = 6.573138 cbrt(285) = 6.580844 cbrt(286) = 6.588532 cbrt(287) = 6.596202 cbrt(288) = 6.603854 cbrt(289) = 6.611489 cbrt(290) = 6.619106 cbrt(291) = 6.626705 cbrt(292) = 6.634287 cbrt(293) = 6.641852 cbrt(294) = 6.649400 cbrt(295) = 6.656930 cbrt(296) = 6.664444 cbrt(297) = 6.671940 cbrt(298) = 6.679420 cbrt(299) = 6.686883 cbrt(300) = 6.694330 cbrt(301) = 6.701759 cbrt(302) = 6.709173 cbrt(303) = 6.716570 cbrt(304) = 6.723951 cbrt(305) = 6.731315 cbrt(306) = 6.738664 cbrt(307) = 6.745997 cbrt(308) = 6.753313 cbrt(309) = 6.760614 cbrt(310) = 6.767899 cbrt(311) = 6.775169 cbrt(312) = 6.782423 cbrt(313) = 6.789661 cbrt(314) = 6.796884 cbrt(315) = 6.804092 cbrt(316) = 6.811285 cbrt(317) = 6.818462 cbrt(318) = 6.825624 cbrt(319) = 6.832771 cbrt(320) = 6.839904 cbrt(321) = 6.847021 cbrt(322) = 6.854124 cbrt(323) = 6.861212 cbrt(324) = 6.868285 cbrt(325) = 6.875344 cbrt(326) = 6.882389 cbrt(327) = 6.889419 cbrt(328) = 6.896434 cbrt(329) = 6.903436 cbrt(330) = 6.910423 cbrt(331) = 6.917396 cbrt(332) = 6.924356 cbrt(333) = 6.931301 cbrt(334) = 6.938232 cbrt(335) = 6.945150 cbrt(336) = 6.952053 cbrt(337) = 6.958943 cbrt(338) = 6.965820 cbrt(339) = 6.972683 cbrt(340) = 6.979532 cbrt(341) = 6.986368 cbrt(342) = 6.993191 cbrt(343) = 7.000000 cbrt(344) = 7.006796 cbrt(345) = 7.013579 cbrt(346) = 7.020349 cbrt(347) = 7.027106 cbrt(348) = 7.033850 cbrt(349) = 7.040581 cbrt(350) = 7.047299 cbrt(351) = 7.054004 cbrt(352) = 7.060697 cbrt(353) = 7.067377 cbrt(354) = 7.074044 cbrt(355) = 7.080699 cbrt(356) = 7.087341 cbrt(357) = 7.093971 cbrt(358) = 7.100588 cbrt(359) = 7.107194 cbrt(360) = 7.113787 cbrt(361) = 7.120367 cbrt(362) = 7.126936 cbrt(363) = 7.133492 cbrt(364) = 7.140037 cbrt(365) = 7.146569 cbrt(366) = 7.153090 cbrt(367) = 7.159599 cbrt(368) = 7.166096 cbrt(369) = 7.172581 cbrt(370) = 7.179054 cbrt(371) = 7.185516 cbrt(372) = 7.191966 cbrt(373) = 7.198405 cbrt(374) = 7.204832 cbrt(375) = 7.211248 cbrt(376) = 7.217652 cbrt(377) = 7.224045 cbrt(378) = 7.230427 cbrt(379) = 7.236797 cbrt(380) = 7.243156 cbrt(381) = 7.249505 cbrt(382) = 7.255842 cbrt(383) = 7.262167 cbrt(384) = 7.268482 cbrt(385) = 7.274786 cbrt(386) = 7.281079 cbrt(387) = 7.287362 cbrt(388) = 7.293633 cbrt(389) = 7.299894 cbrt(390) = 7.306144 cbrt(391) = 7.312383 cbrt(392) = 7.318611 cbrt(393) = 7.324829 cbrt(394) = 7.331037 cbrt(395) = 7.337234 cbrt(396) = 7.343420 cbrt(397) = 7.349597 cbrt(398) = 7.355762 cbrt(399) = 7.361918 cbrt(400) = 7.368063 cbrt(401) = 7.374198 cbrt(402) = 7.380323 cbrt(403) = 7.386437 cbrt(404) = 7.392542 cbrt(405) = 7.398636 cbrt(406) = 7.404721 cbrt(407) = 7.410795 cbrt(408) = 7.416860 cbrt(409) = 7.422914 cbrt(410) = 7.428959 cbrt(411) = 7.434994 cbrt(412) = 7.441019 cbrt(413) = 7.447034 cbrt(414) = 7.453040 cbrt(415) = 7.459036 cbrt(416) = 7.465022 cbrt(417) = 7.470999 cbrt(418) = 7.476966 cbrt(419) = 7.482924 cbrt(420) = 7.488872 cbrt(421) = 7.494811 cbrt(422) = 7.500741 cbrt(423) = 7.506661 cbrt(424) = 7.512572 cbrt(425) = 7.518473 cbrt(426) = 7.524365 cbrt(427) = 7.530248 cbrt(428) = 7.536122 cbrt(429) = 7.541987 cbrt(430) = 7.547842 cbrt(431) = 7.553689 cbrt(432) = 7.559526 cbrt(433) = 7.565355 cbrt(434) = 7.571174 cbrt(435) = 7.576985 cbrt(436) = 7.582787 cbrt(437) = 7.588579 cbrt(438) = 7.594363 cbrt(439) = 7.600139 cbrt(440) = 7.605905 cbrt(441) = 7.611663 cbrt(442) = 7.617412 cbrt(443) = 7.623152 cbrt(444) = 7.628884 cbrt(445) = 7.634607 cbrt(446) = 7.640321 cbrt(447) = 7.646027 cbrt(448) = 7.651725 cbrt(449) = 7.657414 cbrt(450) = 7.663094 cbrt(451) = 7.668766 cbrt(452) = 7.674430 cbrt(453) = 7.680086 cbrt(454) = 7.685733 cbrt(455) = 7.691372 cbrt(456) = 7.697002 cbrt(457) = 7.702625 cbrt(458) = 7.708239 cbrt(459) = 7.713845 cbrt(460) = 7.719443 cbrt(461) = 7.725032 cbrt(462) = 7.730614 cbrt(463) = 7.736188 cbrt(464) = 7.741753 cbrt(465) = 7.747311 cbrt(466) = 7.752861 cbrt(467) = 7.758402 cbrt(468) = 7.763936 cbrt(469) = 7.769462 cbrt(470) = 7.774980 cbrt(471) = 7.780490 cbrt(472) = 7.785993 cbrt(473) = 7.791488 cbrt(474) = 7.796975 cbrt(475) = 7.802454 cbrt(476) = 7.807925 cbrt(477) = 7.813389 cbrt(478) = 7.818846 cbrt(479) = 7.824294 cbrt(480) = 7.829735 cbrt(481) = 7.835169 cbrt(482) = 7.840595 cbrt(483) = 7.846013 cbrt(484) = 7.851424 cbrt(485) = 7.856828 cbrt(486) = 7.862224 cbrt(487) = 7.867613 cbrt(488) = 7.872994 cbrt(489) = 7.878368 cbrt(490) = 7.883735 cbrt(491) = 7.889095 cbrt(492) = 7.894447 cbrt(493) = 7.899792 cbrt(494) = 7.905129 cbrt(495) = 7.910460 cbrt(496) = 7.915783 cbrt(497) = 7.921099 cbrt(498) = 7.926408 cbrt(499) = 7.931710 cbrt(500) = 7.937005 cbrt(501) = 7.942293 cbrt(502) = 7.947574 cbrt(503) = 7.952848 cbrt(504) = 7.958114 cbrt(505) = 7.963374 cbrt(506) = 7.968627 cbrt(507) = 7.973873 cbrt(508) = 7.979112 cbrt(509) = 7.984344 cbrt(510) = 7.989570 cbrt(511) = 7.994788 cbrt(512) = 8.000000 cbrt(513) = 8.005205 cbrt(514) = 8.010403 cbrt(515) = 8.015595 cbrt(516) = 8.020779 cbrt(517) = 8.025957 cbrt(518) = 8.031129 cbrt(519) = 8.036293 cbrt(520) = 8.041452 cbrt(521) = 8.046603 cbrt(522) = 8.051748 cbrt(523) = 8.056886 cbrt(524) = 8.062018 cbrt(525) = 8.067143 cbrt(526) = 8.072262 cbrt(527) = 8.077374 cbrt(528) = 8.082480 cbrt(529) = 8.087579 cbrt(530) = 8.092672 cbrt(531) = 8.097759 cbrt(532) = 8.102839 cbrt(533) = 8.107913 cbrt(534) = 8.112980 cbrt(535) = 8.118041 cbrt(536) = 8.123096 cbrt(537) = 8.128145 cbrt(538) = 8.133187 cbrt(539) = 8.138223 cbrt(540) = 8.143253 cbrt(541) = 8.148276 cbrt(542) = 8.153294 cbrt(543) = 8.158305 cbrt(544) = 8.163310 cbrt(545) = 8.168309 cbrt(546) = 8.173302 cbrt(547) = 8.178289 cbrt(548) = 8.183269 cbrt(549) = 8.188244 cbrt(550) = 8.193213 cbrt(551) = 8.198175 cbrt(552) = 8.203132 cbrt(553) = 8.208082 cbrt(554) = 8.213027 cbrt(555) = 8.217966 cbrt(556) = 8.222899 cbrt(557) = 8.227825 cbrt(558) = 8.232746 cbrt(559) = 8.237661 cbrt(560) = 8.242571 cbrt(561) = 8.247474 cbrt(562) = 8.252372 cbrt(563) = 8.257263 cbrt(564) = 8.262149 cbrt(565) = 8.267029 cbrt(566) = 8.271904 cbrt(567) = 8.276773 cbrt(568) = 8.281635 cbrt(569) = 8.286493 cbrt(570) = 8.291344 cbrt(571) = 8.296190 cbrt(572) = 8.301031 cbrt(573) = 8.305865 cbrt(574) = 8.310694 cbrt(575) = 8.315517 cbrt(576) = 8.320335 cbrt(577) = 8.325148 cbrt(578) = 8.329954 cbrt(579) = 8.334755 cbrt(580) = 8.339551 cbrt(581) = 8.344341 cbrt(582) = 8.349126 cbrt(583) = 8.353905 cbrt(584) = 8.358678 cbrt(585) = 8.363447 cbrt(586) = 8.368209 cbrt(587) = 8.372967 cbrt(588) = 8.377719 cbrt(589) = 8.382465 cbrt(590) = 8.387207 cbrt(591) = 8.391942 cbrt(592) = 8.396673 cbrt(593) = 8.401398 cbrt(594) = 8.406118 cbrt(595) = 8.410833 cbrt(596) = 8.415542 cbrt(597) = 8.420246 cbrt(598) = 8.424945 cbrt(599) = 8.429638 cbrt(600) = 8.434327 cbrt(601) = 8.439010 cbrt(602) = 8.443688 cbrt(603) = 8.448361 cbrt(604) = 8.453028 cbrt(605) = 8.457691 cbrt(606) = 8.462348 cbrt(607) = 8.467000 cbrt(608) = 8.471647 cbrt(609) = 8.476289 cbrt(610) = 8.480926 cbrt(611) = 8.485558 cbrt(612) = 8.490185 cbrt(613) = 8.494807 cbrt(614) = 8.499423 cbrt(615) = 8.504035 cbrt(616) = 8.508642 cbrt(617) = 8.513243 cbrt(618) = 8.517840 cbrt(619) = 8.522432 cbrt(620) = 8.527019 cbrt(621) = 8.531601 cbrt(622) = 8.536178 cbrt(623) = 8.540750 cbrt(624) = 8.545317 cbrt(625) = 8.549880 cbrt(626) = 8.554437 cbrt(627) = 8.558990 cbrt(628) = 8.563538 cbrt(629) = 8.568081 cbrt(630) = 8.572619 cbrt(631) = 8.577152 cbrt(632) = 8.581681 cbrt(633) = 8.586205 cbrt(634) = 8.590724 cbrt(635) = 8.595238 cbrt(636) = 8.599748 cbrt(637) = 8.604252 cbrt(638) = 8.608753 cbrt(639) = 8.613248 cbrt(640) = 8.617739 cbrt(641) = 8.622225 cbrt(642) = 8.626706 cbrt(643) = 8.631183 cbrt(644) = 8.635655 cbrt(645) = 8.640123 cbrt(646) = 8.644585 cbrt(647) = 8.649044 cbrt(648) = 8.653497 cbrt(649) = 8.657947 cbrt(650) = 8.662391 cbrt(651) = 8.666831 cbrt(652) = 8.671266 cbrt(653) = 8.675697 cbrt(654) = 8.680124 cbrt(655) = 8.684546 cbrt(656) = 8.688963 cbrt(657) = 8.693376 cbrt(658) = 8.697784 cbrt(659) = 8.702188 cbrt(660) = 8.706588 cbrt(661) = 8.710983 cbrt(662) = 8.715373 cbrt(663) = 8.719760 cbrt(664) = 8.724141 cbrt(665) = 8.728519 cbrt(666) = 8.732892 cbrt(667) = 8.737260 cbrt(668) = 8.741625 cbrt(669) = 8.745985 cbrt(670) = 8.750340 cbrt(671) = 8.754691 cbrt(672) = 8.759038 cbrt(673) = 8.763381 cbrt(674) = 8.767719 cbrt(675) = 8.772053 cbrt(676) = 8.776383 cbrt(677) = 8.780708 cbrt(678) = 8.785030 cbrt(679) = 8.789347 cbrt(680) = 8.793659 cbrt(681) = 8.797968 cbrt(682) = 8.802272 cbrt(683) = 8.806572 cbrt(684) = 8.810868 cbrt(685) = 8.815160 cbrt(686) = 8.819447 cbrt(687) = 8.823731 cbrt(688) = 8.828010 cbrt(689) = 8.832285 cbrt(690) = 8.836556 cbrt(691) = 8.840823 cbrt(692) = 8.845085 cbrt(693) = 8.849344 cbrt(694) = 8.853599 cbrt(695) = 8.857849 cbrt(696) = 8.862095 cbrt(697) = 8.866338 cbrt(698) = 8.870576 cbrt(699) = 8.874810 cbrt(700) = 8.879040 cbrt(701) = 8.883266 cbrt(702) = 8.887488 cbrt(703) = 8.891706 cbrt(704) = 8.895920 cbrt(705) = 8.900130 cbrt(706) = 8.904337 cbrt(707) = 8.908539 cbrt(708) = 8.912737 cbrt(709) = 8.916931 cbrt(710) = 8.921121 cbrt(711) = 8.925308 cbrt(712) = 8.929490 cbrt(713) = 8.933669 cbrt(714) = 8.937843 cbrt(715) = 8.942014 cbrt(716) = 8.946181 cbrt(717) = 8.950344 cbrt(718) = 8.954503 cbrt(719) = 8.958658 cbrt(720) = 8.962809 cbrt(721) = 8.966957 cbrt(722) = 8.971101 cbrt(723) = 8.975241 cbrt(724) = 8.979377 cbrt(725) = 8.983509 cbrt(726) = 8.987637 cbrt(727) = 8.991762 cbrt(728) = 8.995883 cbrt(729) = 9.000000 cbrt(730) = 9.004113 cbrt(731) = 9.008223 cbrt(732) = 9.012329 cbrt(733) = 9.016431 cbrt(734) = 9.020529 cbrt(735) = 9.024624 cbrt(736) = 9.028715 cbrt(737) = 9.032802 cbrt(738) = 9.036886 cbrt(739) = 9.040966 cbrt(740) = 9.045042 cbrt(741) = 9.049114 cbrt(742) = 9.053183 cbrt(743) = 9.057248 cbrt(744) = 9.061310 cbrt(745) = 9.065368 cbrt(746) = 9.069422 cbrt(747) = 9.073473 cbrt(748) = 9.077520 cbrt(749) = 9.081563 cbrt(750) = 9.085603 cbrt(751) = 9.089639 cbrt(752) = 9.093672 cbrt(753) = 9.097701 cbrt(754) = 9.101727 cbrt(755) = 9.105748 cbrt(756) = 9.109767 cbrt(757) = 9.113782 cbrt(758) = 9.117793 cbrt(759) = 9.121801 cbrt(760) = 9.125805 cbrt(761) = 9.129806 cbrt(762) = 9.133803 cbrt(763) = 9.137797 cbrt(764) = 9.141787 cbrt(765) = 9.145774 cbrt(766) = 9.149758 cbrt(767) = 9.153738 cbrt(768) = 9.157714 cbrt(769) = 9.161687 cbrt(770) = 9.165656 cbrt(771) = 9.169623 cbrt(772) = 9.173585 cbrt(773) = 9.177544 cbrt(774) = 9.181500 cbrt(775) = 9.185453 cbrt(776) = 9.189402 cbrt(777) = 9.193347 cbrt(778) = 9.197290 cbrt(779) = 9.201229 cbrt(780) = 9.205164 cbrt(781) = 9.209096 cbrt(782) = 9.213025 cbrt(783) = 9.216950 cbrt(784) = 9.220873 cbrt(785) = 9.224791 cbrt(786) = 9.228707 cbrt(787) = 9.232619 cbrt(788) = 9.236528 cbrt(789) = 9.240433 cbrt(790) = 9.244335 cbrt(791) = 9.248234 cbrt(792) = 9.252130 cbrt(793) = 9.256022 cbrt(794) = 9.259911 cbrt(795) = 9.263797 cbrt(796) = 9.267680 cbrt(797) = 9.271559 cbrt(798) = 9.275435 cbrt(799) = 9.279308 cbrt(800) = 9.283178 cbrt(801) = 9.287044 cbrt(802) = 9.290907 cbrt(803) = 9.294767 cbrt(804) = 9.298624 cbrt(805) = 9.302477 cbrt(806) = 9.306328 cbrt(807) = 9.310175 cbrt(808) = 9.314019 cbrt(809) = 9.317860 cbrt(810) = 9.321698 cbrt(811) = 9.325532 cbrt(812) = 9.329363 cbrt(813) = 9.333192 cbrt(814) = 9.337017 cbrt(815) = 9.340839 cbrt(816) = 9.344657 cbrt(817) = 9.348473 cbrt(818) = 9.352286 cbrt(819) = 9.356095 cbrt(820) = 9.359902 cbrt(821) = 9.363705 cbrt(822) = 9.367505 cbrt(823) = 9.371302 cbrt(824) = 9.375096 cbrt(825) = 9.378887 cbrt(826) = 9.382675 cbrt(827) = 9.386460 cbrt(828) = 9.390242 cbrt(829) = 9.394021 cbrt(830) = 9.397796 cbrt(831) = 9.401569 cbrt(832) = 9.405339 cbrt(833) = 9.409105 cbrt(834) = 9.412869 cbrt(835) = 9.416630 cbrt(836) = 9.420387 cbrt(837) = 9.424142 cbrt(838) = 9.427894 cbrt(839) = 9.431642 cbrt(840) = 9.435388 cbrt(841) = 9.439131 cbrt(842) = 9.442870 cbrt(843) = 9.446607 cbrt(844) = 9.450341 cbrt(845) = 9.454072 cbrt(846) = 9.457800 cbrt(847) = 9.461525 cbrt(848) = 9.465247 cbrt(849) = 9.468966 cbrt(850) = 9.472682 cbrt(851) = 9.476396 cbrt(852) = 9.480106 cbrt(853) = 9.483814 cbrt(854) = 9.487518 cbrt(855) = 9.491220 cbrt(856) = 9.494919 cbrt(857) = 9.498615 cbrt(858) = 9.502308 cbrt(859) = 9.505998 cbrt(860) = 9.509685 cbrt(861) = 9.513370 cbrt(862) = 9.517052 cbrt(863) = 9.520730 cbrt(864) = 9.524406 cbrt(865) = 9.528079 cbrt(866) = 9.531750 cbrt(867) = 9.535417 cbrt(868) = 9.539082 cbrt(869) = 9.542744 cbrt(870) = 9.546403 cbrt(871) = 9.550059 cbrt(872) = 9.553712 cbrt(873) = 9.557363 cbrt(874) = 9.561011 cbrt(875) = 9.564656 cbrt(876) = 9.568298 cbrt(877) = 9.571938 cbrt(878) = 9.575574 cbrt(879) = 9.579208 cbrt(880) = 9.582840 cbrt(881) = 9.586468 cbrt(882) = 9.590094 cbrt(883) = 9.593717 cbrt(884) = 9.597337 cbrt(885) = 9.600955 cbrt(886) = 9.604570 cbrt(887) = 9.608182 cbrt(888) = 9.611791 cbrt(889) = 9.615398 cbrt(890) = 9.619002 cbrt(891) = 9.622603 cbrt(892) = 9.626202 cbrt(893) = 9.629797 cbrt(894) = 9.633391 cbrt(895) = 9.636981 cbrt(896) = 9.640569 cbrt(897) = 9.644154 cbrt(898) = 9.647737 cbrt(899) = 9.651317 cbrt(900) = 9.654894 cbrt(901) = 9.658468 cbrt(902) = 9.662040 cbrt(903) = 9.665610 cbrt(904) = 9.669176 cbrt(905) = 9.672740 cbrt(906) = 9.676302 cbrt(907) = 9.679860 cbrt(908) = 9.683417 cbrt(909) = 9.686970 cbrt(910) = 9.690521 cbrt(911) = 9.694069 cbrt(912) = 9.697615 cbrt(913) = 9.701158 cbrt(914) = 9.704699 cbrt(915) = 9.708237 cbrt(916) = 9.711772 cbrt(917) = 9.715305 cbrt(918) = 9.718835 cbrt(919) = 9.722363 cbrt(920) = 9.725888 cbrt(921) = 9.729411 cbrt(922) = 9.732931 cbrt(923) = 9.736448 cbrt(924) = 9.739963 cbrt(925) = 9.743476 cbrt(926) = 9.746986 cbrt(927) = 9.750493 cbrt(928) = 9.753998 cbrt(929) = 9.757500 cbrt(930) = 9.761000 cbrt(931) = 9.764497 cbrt(932) = 9.767992 cbrt(933) = 9.771485 cbrt(934) = 9.774974 cbrt(935) = 9.778462 cbrt(936) = 9.781946 cbrt(937) = 9.785429 cbrt(938) = 9.788909 cbrt(939) = 9.792386 cbrt(940) = 9.795861 cbrt(941) = 9.799334 cbrt(942) = 9.802804 cbrt(943) = 9.806271 cbrt(944) = 9.809736 cbrt(945) = 9.813199 cbrt(946) = 9.816659 cbrt(947) = 9.820117 cbrt(948) = 9.823572 cbrt(949) = 9.827025 cbrt(950) = 9.830476 cbrt(951) = 9.833924 cbrt(952) = 9.837369 cbrt(953) = 9.840813 cbrt(954) = 9.844254 cbrt(955) = 9.847692 cbrt(956) = 9.851128 cbrt(957) = 9.854562 cbrt(958) = 9.857993 cbrt(959) = 9.861422 cbrt(960) = 9.864848 cbrt(961) = 9.868272 cbrt(962) = 9.871694 cbrt(963) = 9.875113 cbrt(964) = 9.878530 cbrt(965) = 9.881945 cbrt(966) = 9.885357 cbrt(967) = 9.888767 cbrt(968) = 9.892175 cbrt(969) = 9.895580 cbrt(970) = 9.898983 cbrt(971) = 9.902384 cbrt(972) = 9.905782 cbrt(973) = 9.909178 cbrt(974) = 9.912571 cbrt(975) = 9.915962 cbrt(976) = 9.919351 cbrt(977) = 9.922738 cbrt(978) = 9.926122 cbrt(979) = 9.929504 cbrt(980) = 9.932884 cbrt(981) = 9.936261 cbrt(982) = 9.939636 cbrt(983) = 9.943009 cbrt(984) = 9.946380 cbrt(985) = 9.949748 cbrt(986) = 9.953114 cbrt(987) = 9.956478 cbrt(988) = 9.959839 cbrt(989) = 9.963198 cbrt(990) = 9.966555 cbrt(991) = 9.969910 cbrt(992) = 9.973262 cbrt(993) = 9.976612 cbrt(994) = 9.979960 cbrt(995) = 9.983305 cbrt(996) = 9.986649 cbrt(997) = 9.989990 cbrt(998) = 9.993329 cbrt(999) = 9.996666 ```