Search found 55 matches

by Joseph Bundala
7 years ago
Forum: MATLAB/Octave
Topic: Running C in Matlab
Replies: 0
Views: 2282

Running C in Matlab

% This is MATLAB CODE with file name Hello.m %Print out is "Hello World" function Hello() fprintf('Hello World\n') end ==> Now, below is a C- code (Hello.c) in MATLAB to print same words but with the header "mex.h" and mexFunction (link to C main() function) #include "mex.h...
by Joseph Bundala
7 years ago
Forum: Ordinary Differential Equations
Topic: Differential Equations as Mathematical Models-Falling bodies
Replies: 2
Views: 5585

Re: Differential Equations as Mathematical Models-Falling bodies

I tried to simulate Example 1: Simulation helps to visualize what's real happen when the ball is thrown upward. I modified the question but mathematical concepts are the same as highlighted by gaDgeT above. I will have three patterns regarding the ball a) The ball thrown upward and bounces back on t...
by Joseph Bundala
7 years ago
Forum: Linear Programming
Topic: Formulation of linear programming models
Replies: 3
Views: 3493

Re: Formulation of linear programming models

gaDgeT wrote:You can always typeset maths formulae by using or \(MathJax\), not easy if you do not know, but I will put a tutorial in future to help others get started.
Waoo, i never knew there is this tool in here, that's fantastic. Thank you.
by Joseph Bundala
7 years ago
Forum: Linear Programming
Topic: Formulation of linear programming models
Replies: 3
Views: 3493

Re: Formulation of linear programming models

I will try to formulate the last one regarding nurses and time off. Assume x_{j} be the number of nurses working on each day ' j ', where j = Monday, Tuesday, \dots , Sunday. Then the Objective function is: Minimize J = \sum_{j = 1}^{7}x_{j} . This is like to say, Minimize x_1+ x_2 + \dots , + x_7 w...

Go to advanced search