Conceptual Design - 3D Magazine - Inaugural Issue


Pascals Triangle

Rating: 0 stars
0 votes

Dynamically Graphed Pascals Triangle

Pascal's triangle was created by the French Mathematician and Philosopher Blaise Pascal. In this triangle each number is the sum of the two #'s directly above it. In this project, C# code has been integrated into the dynamic compile process and dynamic 3D object generation to form the triangle in MathCompiler3D.

Press F6 to generate the triangle in MathCompiler3D once the data model is loaded.

With Pascals Triangle we go beyond static 3D and static math equations and integrate with C#.


C#

In the project tree of MathCompiler3D under the classes node you will find the following c# classes:

ExecuteCodeBlock.cs: The content for the C# ExecuteCodeBlockMethod that is called in the construction of the Dynamically compiled code when pressing F6.

Initialization.cs : Class level variables.

Using.cs: Place all of your using statements in this class.

Extensions.cs: C# extension methods.

PascalFormula.cs: C# class for calculating Pascals triangle position number based on row and column.


Conceptual Design - 3D Magazine - Inaugural Issue