Risolto


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

quasi 2 anni fa

Risolto


peta to nano (x-ray)
for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%

quasi 2 anni fa

Risolto


06 - Matrix Equations 3
Define the matrices _aMat_, _bMat_, and _cMat_: <<http://samle.dk/STTBDP/Assignment1_3a.png>> ( _aMat_ = 9x9 matrix full o...

quasi 2 anni fa

Risolto


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

quasi 2 anni fa

Risolto


Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

quasi 2 anni fa

Risolto


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

quasi 2 anni fa

Risolto


07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

quasi 2 anni fa

Risolto


Generate pi using logarithm
Generate pi using logarithm

quasi 2 anni fa

Risolto


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

quasi 2 anni fa

Risolto


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

quasi 2 anni fa

Risolto


07 - Common functions and indexing 5
Create the vector _lin_: <<http://samle.dk/STTBDP/Assignment1_7e.png>> (the integers from 1 to 20) Make every other val...

quasi 2 anni fa

Risolto


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

quasi 2 anni fa

Risolto


Remove the Zero
Given an array n, remove all zeros

quasi 2 anni fa

Risolto


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

quasi 2 anni fa

Risolto


07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...

quasi 2 anni fa

Risolto


07 - Common functions and indexing 2
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Calculate eMean as the mean across the rows of _eMat_. The an...

quasi 2 anni fa

Risolto


polar inertia
given locations of a set of unit masses on complex plane, find polar moment of inerta about the origin. for example output 4 if ...

quasi 2 anni fa

Risolto


commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

quasi 2 anni fa

Risolto


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

quasi 2 anni fa

Risolto


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

quasi 2 anni fa

Risolto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

quasi 2 anni fa

Risolto


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

quasi 2 anni fa

Risolto


Hydrostatic Pressure
Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2...

quasi 2 anni fa

Risolto


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

quasi 2 anni fa

Risolto


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

quasi 2 anni fa

Risolto


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

quasi 2 anni fa

Risolto


Degrees to Radian
Convert degrees to radians

quasi 2 anni fa

Risolto


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

quasi 2 anni fa

Risolto


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

quasi 2 anni fa

Risolto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

quasi 2 anni fa

Carica altro