[Tex/LaTex] tabular as equation

equationstables

**enter image description here**

Hi how can I make this tabular as equation. I mean putting number at the end,
here is my code for the tabular:

\begin{table}[h]
\def\arraystretch{1.5}
\begin{tabular}{|l|l|l|}
\hline
    \multicolumn{3}{|c|}{Randbetingelse} \\
    \hline
    1 & $Deflection=\omega=0$  & $ Y(0)\cdot T(t)=0$\\
    \hline
    2 & $Slope=\frac{d}{d x} \omega=0$   &  $ Y'(0)\cdot T(t)=0$\\
    \hline
   3 & $Slope=\frac{d}{d L} \omega=0$     &  $ Y'(L)\cdot T(t)=0$\\
    \hline
   4 & $ 4\cdot E\cdot I\cdot \frac{d^{3}}{d x^{3}} \omega (L,t)=m0\cdot \frac{d^{2}}{d t^{2}} \omega (L,t)$    &  $4\cdot E\cdot I\cdot Y'''(L)\cdot T(t)=m0\cdot Y(L)\cdot \ddot{T}(t) $\\
    \hline   
\end{tabular}
\end{table}

Best Answer

Something like this? I've replaced the table environment with an equation environment, replaced the tabular environment with an array environment (no need to type all those $ symbols...), gotten rid of all vertical lines and most horizontal lines, and put the full words ("Deflection", etc) inside \text wrappers.

enter image description here

\documentclass{article}
\usepackage{amsmath,booktabs}
\begin{document}
\begin{equation}
\def\arraystretch{1.3}
\begin{array}{@{}lll@{}}
\toprule
    & \multicolumn{2}{c@{}}{\text{Randbetingelse}} \\
\cmidrule(l){2-3}
    1 & \text{Deflection}=\omega=0  
      &  Y(0) T(t)=0\\
    2 & \text{Slope}=\frac{d}{d x} \omega=0   
      &   Y'(0) T(t)=0\\
   3 & \text{Slope}=\frac{d}{d L} \omega=0     
     &   Y'(L) T(t)=0\\
   4 &  4 E I \frac{d^{3}}{d x^{3}} \omega (L,t)=m_0 \frac{d^{2}}{d t^{2}} \omega (L,t)    
     &  4 E I Y'''(L) T(t)=m_0 Y(L) \ddot{T}(t) \\
\bottomrule
\end{array}
\end{equation}
\end{document}