Skip to content
Snippets Groups Projects
Commit 44b43f5b authored by Sepehr Bayat's avatar Sepehr Bayat
Browse files

Update T4.tex

parent f901c292
No related branches found
No related tags found
No related merge requests found
......@@ -414,11 +414,11 @@ init & pointT,pointT,pointT&TriangleADT & ~\\
\hline
sides & & &~\\
\hline
inequality theorem & ~ & boolean & LINE~\\
inequality\char`_theorem & ~ & boolean & LINE~\\
\hline
perimeter of triangle & & real & LINE ~\\
perimeter\char`_of\char`_triangle & & real & LINE ~\\
\hline
area of triangle & & real & LINE ~\\
area\char`_of\char`_triangle & & real & LINE ~\\
\hline
\end{tabular}
......@@ -480,10 +480,10 @@ init($p1, p2, p3$):
\begin {frame}
\noindent inequality theorem():
\begin{itemize}
\item output: $$out := \mathrm {(self.AB +self.AC > self.BC,and, self.AB+self.BC }$$
$$ \mathrm {> self.AC, and, self.AC+self.BC >self.AB)}$$
\item output: $$out := \mathrm {(self.AB +self.AC > self.BC\quad and \quad self.AB+self.BC }$$
$$ \mathrm {> self.AC\quad and\quad self.AC+self.BC >self.AB)}$$
\item exception:
\\ ex := (self.a.xcoord()==self.b.xcoord() ==self.c.xcoord() or
\\ ex := ((self.a.xcoord()==self.b.xcoord() ==self.c.xcoord() or
\\ self.a.ycoord()==self.b.ycoord() ==self.c.ycoord()) $\Rightarrow \mbox{LINE})$
\end{itemize}
......@@ -499,7 +499,7 @@ init($p1, p2, p3$):
\begin{itemize}
\item output: $$out := \mathrm{self.AB+self.AC+self.BC}$$
\item exception:
\\ ex := (self.a.xcoord()==self.b.xcoord() ==self.c.xcoord() or
\\ ex := ((self.a.xcoord()==self.b.xcoord() ==self.c.xcoord() or
\\ self.a.ycoord()==self.b.ycoord() ==self.c.ycoord()) $\Rightarrow \mbox{LINE})$
\end{itemize}
......@@ -507,7 +507,7 @@ init($p1, p2, p3$):
\begin{itemize}
\item output : $$out :=\mathit {\sqrt[2]{P/2(P/2-self.AB)(P/2-self.AC)(P/2-self.BC)}}$$
\item exception:
\\ ex := (self.a.xcoord()==self.b.xcoord() ==self.c.xcoord() or
\\ ex := ((self.a.xcoord()==self.b.xcoord() ==self.c.xcoord() or
\\ self.a.ycoord()==self.b.ycoord() ==self.c.ycoord()) $\Rightarrow \mbox{LINE})$
\end{itemize}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment