{{ message }}

Instantly share code, notes, and snippets.

# shihashi

Created Sep 23, 2022
Verify Gen's hypothesis on September 23, 2022
View verify20220923.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # verify20220923.py # # Copyright (c) 2022 shihashi # from collections.abc import Sequence
Last active Jun 5, 2021
Draw a circumcircle given the length of the three sides of the triangle.
View circumcircle.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass{article}% Typeset by pdfLaTeX \usepackage{tikz} \begin{document} \begin{tikzpicture} \def\a{2} \def\b{3} \def\c{4} \def\B{acos((\c^2+\a^2-\b^2)/(2*\a*\c))} \def\R{\b/(2*sin(\B))} \coordinate (B) at (0,0);
Last active Jun 5, 2021
Draw a incircle given the length of the three sides of the triangle.
View incircle.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass{article}% Typeset by pdfLaTeX \usepackage{tikz} \begin{document} \begin{tikzpicture} \def\a{2} \def\b{3} \def\c{4} \def\B{acos((\c^2+\a^2-\b^2)/(2*\a*\c))} \def\r{\a*\c*sin(\B)/(\a+\b+\c)} \coordinate (B) at (0,0);