I have a MSc in physics from the University of Oslo and a PhD in control engineering from NTNU in Trondheim (mainly modelling, I am not much of a control engineer). My main interests are mathematical modelling, numerical methods, and thermodynamics. I worked in the petroleum and chemical process industries for some 35 years and I am now semi-retired

제출됨

nistdata(species,T,p)

Create tables of thermophysical properties for gases

약 9시간 전 | 다운로드 수: 59 |

답변 있음

Van der Waals equation - Newton's method

In your code, newton_ndim does not know the value of T and so cannot call fun(X,T). You can probably fix this by defining an in...

Van der Waals equation - Newton's method

In your code, newton_ndim does not know the value of T and so cannot call fun(X,T). You can probably fix this by defining an in...

12일 전 | 0

| 수락됨

제출됨

Curvature of a 2D or 3D curve

Calculates the local radius of curvature as well as the cumulative arc length and the curvature vector along a 1D curve in 2D or...

12일 전 | 다운로드 수: 106 |

해결됨

How Far Can You Throw Something?

As you probably learned in your high school physics class, throwing an object at a 45 degree angle will give you the maximum ran...

약 1달 전

해결됨

Calculate the height of an object dropped from the sky

Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

약 1달 전

해결됨

Distance of the centroids of the balls

Given *n* balls of radius *r* and the vector *p (nx3)* with all position *(x,y,z)* of the balls, return the symmetric matrix *A ...

약 1달 전

해결됨

Calculate compression ratio of engine

Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

약 1달 전

해결됨

Elastic Collision 001: 1-D

Elastic Collision of two particles. <http://en.wikipedia.org/wiki/Elastic_collision wiki Elastic Collision> Solve Conservat...

약 1달 전

해결됨

Center of mass

Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

약 1달 전

해결됨

center of mass

R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

약 1달 전

해결됨

Determine if a four bar mechanism is of Grashof type

A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...

약 1달 전

해결됨

Find the jerk

No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...

약 1달 전

해결됨

Juggling

There is a notation system for <http://en.wikipedia.org/wiki/Juggling jugglers> called <http://en.wikipedia.org/wiki/Siteswap si...

약 1달 전

해결됨

Bernoulli's Equation

Bernoulli's equation states that for an incompressible fluid the following summation is constant across the flow: v^2/2 + g*z + ...

약 1달 전

해결됨

What gear ratio does the cyclist need?

A cyclist (perhaps including our famed Codysolver the cyclist <http://www.mathworks.com/matlabcentral/cody/players/1841757-the...

약 1달 전

해결됨

Mechanical Advantage of a Gear Train

Calculate the mechanical advantage of a gear train. The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...

약 1달 전

해결됨

Kepler's Equation

Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

약 1달 전

해결됨

Energy of an object

Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

약 1달 전

해결됨

Bouncing disk

A disk is placed in a rectangular room with dimensions a and b in a point with coordinates x0 and y0. The disk is given a startu...

약 1달 전

해결됨

jogging?

Imagine x-y coordinate system and you are at the origin and your partner is on the x-axis at some small distance (d) away from y...

약 1달 전

답변 있음

How do I solve system of equations?

If I understand you correctly, your system consist of 128 eqations. a and b are arrays of 64 unknowns each. You must then solv...

How do I solve system of equations?

If I understand you correctly, your system consist of 128 eqations. a and b are arrays of 64 unknowns each. You must then solv...

약 1달 전 | 0

| 수락됨

답변 있음

Join repeated continuous elements of a vector

in = [1 1 1 2 2 3 6 6 6 1 1 1 4 4 4 2 2 2 6 4 4]; i = 1; count = 1; out = []; a = in(1); while i < length(in) i = i+1; ...

Join repeated continuous elements of a vector

in = [1 1 1 2 2 3 6 6 6 1 1 1 4 4 4 2 2 2 6 4 4]; i = 1; count = 1; out = []; a = in(1); while i < length(in) i = i+1; ...

약 1달 전 | 0

제출됨

Thermo: Compressible real gas tool

A Matlab object for calculating consistent thermodynamic properties of real gases

약 1달 전 | 다운로드 수: 6 |

해결됨

Mechanics 1

I thought I would make a mechanics problem for all those physics lovers out there. Imagine two solid, rigid spheres B1 and B...

약 1달 전

해결됨

Find the palindrome

Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

약 2달 전

해결됨

What is the next step in Conway's Life?

Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

약 2달 전

해결됨

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

약 2달 전

제출됨

H2 and CO2 thermodynamics

Tool for effective thermodynamic calculations. Includes high-accuracy thermodynamic models for H2 and CO2.

약 2달 전 | 다운로드 수: 8 |

답변 있음

Fsolve don't work good with trigonometric

Your function has several different zeros. Which one fsolve finds will depend on the starting point. I ran: f = 100; while no...

Fsolve don't work good with trigonometric

Your function has several different zeros. Which one fsolve finds will depend on the starting point. I ran: f = 100; while no...

3달 전 | 0