Sudhir sharma has Published 1082 Articles

Program to calculate the area of a Tetrahedron

sudhir sharma

sudhir sharma

Updated on 06-Aug-2019 06:46:49

203 Views

A tetrahedron is a pyramid with triangular base i.e. it has a base that is a triangle and each side has a triangle. All the three triangles converge to a point. As in the figure, Area of Tetrahedron = (√3)a2ExampleThe code to find the area of tetrahedron uses the math ... Read More

Program to build DFA that starts and ends with ‘a’ from the input (a, b)

sudhir sharma

sudhir sharma

Updated on 06-Aug-2019 06:41:47

1K+ Views

DFA stands for Deterministic Finite Automata. It is a finite state machine that accepts or a string based on its acceptor.Here, we are going to make a DFA that accepts a string that starts and ends with a. The input is from the set (a, b). Based on this we ... Read More

Advertisements