M.Sc. in energy engineering

Solved

find the relation...

if given input is 1, output is 4. if input is 55, output is 3136.

1 month ago

Solved

Find the area of a rectangle if length of the diagonal is given.

if length of a diagnonal in rectangle is 5. Its area is 12.

1 month ago

Solved

Matrix to vector transformation

given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

1 month ago

Solved

continuous compounding

what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...

1 month ago

Solved

short or buy ? take the opportunity

you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

1 month ago

Solved

what's my tax amount this year ?

given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

1 month ago

Solved

basic finance application

i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

1 month ago

Solved

currency converter

given a rate of exchange calculate the equivalent units of 100 USD

1 month ago

Solved

Given a matrix A (size m x n) create a matrix B which consists of matrix A sorted in descending order by columns and then by rows.

--------------- A= [ 2 6 -3 7 12 0 -12 5 1] --------------- B= [12 7 1 6 2 0 5 -3 ...

1 month ago

Solved

Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:

A = [1 2 3 4 5 6] ----------- B = [0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]

1 month ago

Solved

Add a vector to a matrix

Given a matrix |mat| of size |mXn| and a row vector |v| of size |1Xs|, return a matrix with |m+1| rows that conatains |mat| over...

1 month ago

Solved

Tax Calculator

Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

1 month ago

Solved

Find the logic

There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

1 month ago

Solved

Let's get back to school, and create multiplication tables

For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

1 month ago

Solved

calculate PI without using pi function

There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

1 month ago

Solved

Set x value to each odd index of vector y.

Set x value to each odd index of vector y.

1 month ago

Solved

Calculate the number of elements in a matrix.

Calculate the number of elements in a matrix.

1 month ago

Solved

Speed of car travelling x meters in y seconds

What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

1 month ago