Hi,(adsbygoogle = window.adsbygoogle || []).push({});

i am trying to model a triangle in a square cell based on its dimension. However, i have some problem with parts of the code, i think it might be the logic behind my programming or over definition with the code itself.

i have attached the code. the problem lies with the second half of the triangle. I have also attached the basis of my analysis. the problem lies between -s/2 to s/2 of the code. Any hints about the wrong logic of my code or over definition will be appreciated. the cell is a square dimension with 2r1x2r1 dimension.

I have attached the matlab code and the definition of the cell if you are interested.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Probelm with modeling a triangle

Loading...

Similar Threads - Probelm modeling triangle | Date |
---|---|

B Exponential Growth: Modeling growth in months vs years | Thursday at 5:10 PM |

A Spectral method formulation | Jul 8, 2017 |

I Modeling a situation of task dependencies | Oct 1, 2016 |

Attempting to model traffic flow after front car decelerates | Feb 6, 2016 |

Can this geometry probelm be solved? | May 12, 2006 |

**Physics Forums - The Fusion of Science and Community**