Community Profile

photo

Andrew Cheyne


Last seen: 6 meses hace Con actividad desde 2023

Estadísticas

  • Scholar
  • Leader
  • Cody Problems in Japanese Master
  • Draw Letters
  • Commenter
  • Promoter
  • Speed Demon
  • Creator
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


Insert zeros

7 meses hace

Resuelto


Matrix operation

7 meses hace

Resuelto


Swap rows

7 meses hace

Resuelto


Row sum

8 meses hace

Resuelto


Diagonal Prod

8 meses hace

Resuelto


Simple Interest : Calculate Present Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

8 meses hace

Resuelto


Compound Interest : Future Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

8 meses hace

Resuelto


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

8 meses hace

Resuelto


How many bottles can you drink?
Sometimes if you buy a drink in a glass bottle you can return that bottle and get some money back. Let's assume we have "x" a...

8 meses hace

Resuelto


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

8 meses hace

Resuelto


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

8 meses hace

Resuelto


Carnot cycle
Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...

8 meses hace

Resuelto


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

8 meses hace

Resuelto


Interior angles
Find the sum of interior angles for polygon of x sides.

8 meses hace

Resuelto


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

8 meses hace

Resuelto


prime test
find largest 2 digit prime number

8 meses hace

Resuelto


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

8 meses hace

Resuelto


Poly2mask, drawpolygon or patch
Recently, I tried to plot a polygon in matlab, and I found there is a lot of embedded function that can be used. However, some f...

8 meses hace

Resuelto


Calculate geostrophic current
eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+...

8 meses hace

Resuelto


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

8 meses hace

Resuelto


Solve system of equation!
Given provided system of equation, and find x and y. System of equation can be expressed as each term's coefficient. For exam...

8 meses hace

Resuelto


Interpolate scattered data.
Most data was scattered, and there is no gird. There are three data [c] in three different area [x,y]. x=[1 3 4]; y=[1 ...

8 meses hace

Resuelto


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

8 meses hace

Resuelto


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

8 meses hace

Resuelto


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

8 meses hace

Resuelto


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

8 meses hace

Resuelto


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

8 meses hace

Resuelto


Number Power
Raise a number to itself.

8 meses hace

Resuelto


Kurchan 5x5 - Optimal Score
Related to Problems 1646 and 2650, but bigger. Technically, all you need to do for this Cody problem is input a 5x5 matrix conta...

8 meses hace

Resuelto


Find the Peak Particle Velocity on a ETL structure
PPV is a vibration parameter that can connect stress to a structure, it is measured in mm/s or mm/s-1. The higher the PPV the mo...

8 meses hace

Cargar más