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

Generate pi using logarithm
Generate pi using logarithm

1 día ago

Solved

Raise Matrix to Power
For a given square matrix x and scalar a, find x^a without using '^' or 'mpower'.

1 día ago

Solved

Guess the Coefficients!
Given a polynomial _p_ known to have positive integer coefficients, deduce the values of the coefficients. For example: ...

1 día ago

Solved

Subtract two positive numbers
Given a and b as a string, return b-a without using string to number conversion functions. a and b must to be a same size and b ...

1 día ago

Problem

Easy Sequences 43: Least Common Fibonacci Number
The Fibonacci sequence is a series whose elements are numbers starting with and , and subsequent Fibonacci numbers are defined...

4 días ago | 0 | 0 solvers

Solved

Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

5 días ago

Solved

mathematics , probability problem
How many different result can we have, rolling k dice?

5 días ago

Solved

Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

5 días ago

Solved

Find the solution of algebraic equation
Find the solution of algebraic equation of the form an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0; ...

5 días ago

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

5 días ago

Solved

The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

5 días ago

Solved

Will there be a new leader?

5 días ago

Solved

Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

5 días ago

Problem

Easy Sequences 42: Areas of Non-constructible Polygons
A constructible polygon is a regular polygon that can be constructed using only a compass and a straightedge. Amazingly, Gauss ...

5 días ago | 0 | 0 solvers

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

6 días ago

Solved

Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

7 días ago

Solved

Negative matrix
Change the sign of all elements in given matrix.

7 días ago

Problem

Easy Sequences 41: Boxes with Integer Edges
For this problem, we are asked to write a function that will count the number of boxes with integer edges, that has the same giv...

7 días ago | 1 | 2 solvers

Problem

Quadratic Congruence is a modular equation of the form: . In this exercise you will be given a vector containing the coefficie...

8 días ago | 1 | 3 solvers

Solved

Area of rhombus
Calculate the rhombus area

8 días ago

Solved

Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

8 días ago

Solved

calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

9 días ago

Solved

Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

9 días ago

Solved

Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

9 días ago

Solved

What percentage?
Calculate the output c as the percentage of a on b for given a and b.

9 días ago

Solved

convert matrix to single column
given any matrix, convert it to single column

10 días ago

Solved

Easy Sequences 39: Perfect Squares in Pascal's Triangle
Consider the 2nd, 3rd and 4th diagonals of the Pascal's Triangle, shown highlighted below: ...

10 días ago

Solved

02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

10 días ago

Solved

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

10 días ago

Solved

Compute the largest number whose prime factors sum to n
This problem deals with a sequence whose tenth term is 36 because the prime factors of 36 (2, 2, 3, 3) sum to 10. The number 32 ...

10 días ago