Community Profile # Ramon Villamangca

Last seen: Today Active since 2018

Learner and Math Enthusiast

Programming Languages:
C++, C, Javascript, MATLAB, Assembly
Spoken Languages:
English

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Solved

intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

9 minutes ago

Solved

Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

12 minutes ago

Solved

Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

37 minutes ago

Solved

convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

43 minutes ago

Solved

0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

1 hour ago

Solved

Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

12 hours ago

Solved

Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

12 hours ago

Solved

Multiply two polynomials p and q given in in vector representation.
Multiply two polynomials p and q given in vector representation. Example p=[-2 0 1 -1 3 2] q=[1 0 -1 2 ...

12 hours ago

Solved

Get derivarive of polynomial given as vector array.
Get derivarive of polynomial given as vector array. Example p=[ 1 2 0 5 0 3 ]; result=[ 5 8 0 10 ...

12 hours ago

Solved

Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

12 hours ago

Solved

0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

12 hours ago

Solved

Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

12 hours ago

Solved

determine if
determine if the elements of a matrix is a nan and return true

12 hours ago

Solved

find the 'M'
for an input x, return 1 at the location of the letter 'M'

12 hours ago

Solved

wipe out!
make all the elements in given x zero.

12 hours ago

Solved

true or false
if the matrix has a zero, return true. else, return false

13 hours ago

Solved

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

13 hours ago

Solved

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

13 hours ago

Solved

determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

13 hours ago

Solved

vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

13 hours ago

Solved

No more zeros
Given an array with zeros at the beginning or at the end, you should get the output without these zeros: input = [zeros(5...

13 hours ago

Solved

Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

13 hours ago

Solved

Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

13 hours ago

Solved

Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

13 hours ago

Solved

Duration of a trip in minutes
Input is a string which includes the duration of a trip. Convert the duration to minutes. For example if the duration of a t...

13 hours ago

Solved

Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

13 hours ago

Solved

Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

13 hours ago

Solved

Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

13 hours ago

Solved

Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

13 hours 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...

13 hours ago