Associate Professor, Bioengineering

Teaching:

ENGG 010 (MATLAB Programming for Engineers)

ENGG 081 (Introduction to Bioengineering)

ENGG 101 (Numerical Methods)

ENGG 108 (Biomaterials Lab)

ENGG 112 (Engineering Drawing)

ENGG 118 (Fundamentals of Biomaterials)

ENGG 143G (Senior Design)

ENGG 165 (Bioengineering Modeling and Simulation)

ENGG 169 (Fluid Mechanics Lab)

Research:

Biomaterials, Medical Device, Drug Delivery, Mathematical Modeling

Solved

Find my daddy long leg (No 's')

Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

3 months ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

3 months ago

Solved

Calculate the centroid of a triangle

Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

3 months ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

11 months ago

Submitted

Finite Difference Explicit Method for Fick's 2nd Law

Finite Difference Explicit Method (iteration) to solve for a PDE (Fick's 2nd Law of diffusion)

1 year ago | 11 downloads |

Submitted

Finite Difference Implicit Method for Fick's 2nd Law

PDE solution using the implicit method

1 year ago | 4 downloads |

Submitted

FEM to solve for 2D Laplace's Equation

FEM solution to a steady-state PDE (example: Laplace's) applied to an electric potential

1 year ago | 17 downloads |

Submitted

Vector field rotation using Rotation (Transformation) matrix

Animation to demonstrate the use of the 2D rotation matrix in a vector field

1 year ago | 1 download |

Submitted

Truss 3D (Tetrahedral) using FEM (direct stiffness)

Deformation of a tetrahedral truss (4 nodes and 6 elements) with 3 pinned bottom nodes and downward force applied to the top nod...

1 year ago | 4 downloads |

Submitted

Fick's 2nd Law of Diffusion using Method of Lines

PDE solution using Method of Lines

1 year ago | 8 downloads |

Submitted

Fick's 2nd Law of Diffusion using FEM (Direct Stiffness)

Direct stiffness finite element method to solve for c (concentration) at given x (1D space) and t (time) values

1 year ago | 4 downloads |

Submitted

Graph of a 3D vector field and its divergence and curl

Visualize vector field quiver, divergence (slice), and curl (quiver) at given 3D coordinates

1 year ago | 5 downloads |

Submitted

Graph of a 2D vector field equation and its divergence

Visualize vector field using quiver and divergence using filled contour at given 2D coordinates

1 year ago | 2 downloads |

Submitted

Divergence Theorem (Gauss’, Ostrogradsky’s) to Measure Flow

Example showing that the volume integral of the divergence of f = surface integral of the magnitude of f normal to the surface (...

1 year ago | 2 downloads |

Solved

Summing Digits within Text

Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

2 years ago

Solved

Indexed Probability Table

This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

2 years ago

Solved

Solitaire Cipher

Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

2 years ago

Solved

Find the biggest empty box

You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

2 years ago

Solved

Compute a dot product of two vectors x and y

x and y are input vectors, d is a number and contains their dot product

2 years ago

Solved

Back to basics 6 - Column Vector

Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

2 years ago

Solved

Make a run-length companion vector

Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

2 years ago

Solved

Find a subset that divides the vector into equal halves

Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

2 years ago

Solved

How many trades represent all the profit?

Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

2 years ago

Solved

How long is the longest prime diagonal?

Stanislaw Ulam once observed that if the counting numbers are <http://en.wikipedia.org/wiki/Ulam_spiral arranged in a spiral>, t...

2 years ago

Solved

Flag largest magnitude swings as they occur

You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

2 years ago

Solved

Given a window, how many subsets of a vector sum positive

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

2 years ago

Solved

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

2 years ago

Solved

Find the 9's Complement

Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

2 years ago

Solved

Compute Fibonacci Number

Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

2 years ago

Solved

Project Euler: Problem 10, Sum of Primes

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

2 years ago