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
public static class Gdi | |
{ | |
public static Pen Stroke { get; set; } = new Pen(Color.Black, 0); | |
public static SolidBrush Fill { get; set; } = new SolidBrush(Color.Black); | |
public static Font Font { get; set; } = SystemFonts.CaptionFont; | |
/// <summary> | |
/// Adds an arrow to the start of a <see cref="Pen"/> object. | |
/// </summary> | |
/// <remarks>Intended to be used with <see cref="Stroke"/></remarks> |
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
using System; | |
using System.Drawing; | |
using System.Drawing.Drawing2D; | |
using System.Numerics; | |
using System.Windows.Forms; | |
namespace WindowsFormsApp1 | |
{ | |
public partial class Form1 : Form | |
{ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Rigid Body Dynamics</title> | |
<link rel="stylesheet" href="https://stackedit.io/style.css" /> | |
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
</head> |
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
program table_support | |
! code to accomapny the follwoing Physics.SE answer | |
! https://physics.stackexchange.com/a/459404/392 | |
implicit none | |
! Variables | |
integer :: i, n | |
real, allocatable :: x(:), y(:), F(:) | |
real :: C_x, C_y, d, W |