luulinh90s's picture
add materials
fa53be0
raw
history blame
11 kB
<html><head>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
h1 { text-align: center; }
.cot-title { color: blue; }
.pos-title { color: green; }
h2 { color: black; text-align: left; }
h3 { color: black; text-align: left; }
h4 { color: darkslategray; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
table, th, td { border: 1px solid #ddd; padding: 8px; }
th { background-color: #f2f2f2; }
tr:nth-child(even) { background-color: #f9f9f9; }
.highlight { background-color: #ffffcc; }
.true { color: green; }
.false { color: red; }
.highlighted-cell { background-color: yellow; cursor: pointer; }
.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
.step { display: block; }
</style>
</head><body>
<hr>
<h3><span>Statement:</span> ngc 2082 redshift faster than ngc 1705 by 551 kilometers per second plus or minus 6 kilometers per second</h3>
<h3>Input Table: dorado group</h3>
<div class="step">
<div class="step">
<div class="step-title">Step 1: Select rows where 'name' is 'ngc 2082' or 'ngc 1705'.</div>
<div id="step-1" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 2082</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sab (rs + ) c</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">05h41 m51.1s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">degree18′04″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1184 ± 6</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.6</span></td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1947</span></td>
<td>s0 - pec</td>
<td>05h26 m47.6s</td>
<td>degree45′36″</td>
<td>1100 ± 24</td>
<td>11.7</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1796</span></td>
<td>(r) sb (r) dm :</td>
<td>05h02 m42.5s</td>
<td>degree08′24″</td>
<td>1014 ± 9</td>
<td>12.9</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1688</span></td>
<td>sb (rs) dm</td>
<td>04h48 m23.8s</td>
<td>degree48′01″</td>
<td>1228 ± 6</td>
<td>12.6</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1672</span></td>
<td>(r'_1: ) sb (r) bc sy2</td>
<td>04h45 m42.5s</td>
<td>degree14′50″</td>
<td>1331 ± 3</td>
<td>10.3</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ic 2056</span></td>
<td>sab (r) b</td>
<td>04h16 m24.5s</td>
<td>degree12′25″</td>
<td>1133 ± 10</td>
<td>12.5</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1559</span></td>
<td>sb (s) cd</td>
<td>04h17 m35.8s</td>
<td>degree47′01″</td>
<td>1304 ± 4</td>
<td>11.0</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1543</span></td>
<td>(r) sb (l) 0 0</td>
<td>04h12 m43.2s</td>
<td>degree44′17″</td>
<td>1176 ± 7</td>
<td>11.5</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1574</span></td>
<td>sa0 -</td>
<td>04h21 m58.8s</td>
<td>degree58′29″</td>
<td>1050 ± 25</td>
<td>11.4</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1533</span></td>
<td>(l) sb (rs) 0 0</td>
<td>04h09 m51.8s</td>
<td>degree07′06″</td>
<td>790 ± 5</td>
<td>11.7</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1546</span></td>
<td>sa0 +</td>
<td>04h14 m36.5s</td>
<td>degree03′39″</td>
<td>1284 ± 14</td>
<td>11.8</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1553</span></td>
<td>sa (rl) 0 0</td>
<td>04h16 m10.5s</td>
<td>degree46′49″</td>
<td>1080 ± 11</td>
<td>10.3</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1549</span></td>
<td>e0 1</td>
<td>04h15 m45.1s</td>
<td>degree35′32″</td>
<td>1220 ± 15</td>
<td>10.7</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1566</span></td>
<td>(r'_1) sab (rs) bcsy1</td>
<td>04h20 m00.4s</td>
<td>degree56′16″</td>
<td>1504 ± 2</td>
<td>10.3</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1617</span></td>
<td>(r') sab (rs) a</td>
<td>04h31 m39.5s</td>
<td>degree36′08″</td>
<td>1063 ± 21</td>
<td>11.4</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1515</span></td>
<td>sab (s) bc</td>
<td>04h04 m02.7s</td>
<td>degree06′00″</td>
<td>1175 ± 7</td>
<td>12.1</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 1705</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sa0 - pec</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">04h54 m13.5s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">degree21′40″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">633 ± 6</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.8</span></td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1596</span></td>
<td>sa0: sp</td>
<td>04h27 m38.1s</td>
<td>degree01′40″</td>
<td>1510 ± 8</td>
<td>12.1</td>
</tr>
</table>
</div>
<hr>
<div class="step">
<div class="step-title">Step 2: Extract the numerical value from the 'redshift__km___s' column to add column 'redshift' to existing table.</div>
<div id="step-0" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 2082</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sab (rs + ) c</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">05h41 m51.1s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">degree18′04″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1184 ± 6</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">12.6</span></td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 1705</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sa0 - pec</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">04h54 m13.5s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">degree21′40″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">633 ± 6</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">12.8</span></td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Step 3: Select rows where 'name' is 'ngc 2082'.</div>
<div id="step-1" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
<td>redshift</td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ngc 2082</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sab (rs + ) c</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">05h41 m51.1s</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">degree18′04″</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1184 ± 6</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.6</span></td>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1184.0</span></td>
</tr>
<tr>
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ngc 1705</span></td>
<td>sa0 - pec</td>
<td>04h54 m13.5s</td>
<td>degree21′40″</td>
<td>633 ± 6</td>
<td>12.8</td>
<td>633.0</td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Step 4: Select rows where 'name' is 'ngc 1705'.</div>
<div id="step-2" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
<td>redshift</td>
</tr>
<tr>
<td>ngc 2082</td>
<td>sab (rs + ) c</td>
<td>05h41 m51.1s</td>
<td>degree18′04″</td>
<td>1184 ± 6</td>
<td>12.6</td>
<td>1184.0</td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the difference between the redshift values of 'ngc 2082' and 'ngc 1705' is equal to 551, otherwise return FALSE.</div>
<div id="step-3" class="content">
<table>
<tr>
<td>name</td>
<td>type</td>
<td>ra___j2000</td>
<td>dec___j2000</td>
<td>redshift__km___s</td>
<td>apparent_magnitude</td>
<td>redshift</td>
</tr>
</table>
</div>
</div>
<hr>
<div class="step">
<div class="step-title">Final output table:</div>
<div id="step-4" class="content">
<table>
<tr>
<td>verification_result</td>
</tr>
<tr>
<td>FALSE</td>
</tr>
</table>
</div>
</div>
<hr>
<h3>Prediction:</span> FALSE</h3>
</body></html>