Community Profile

# goc3

Last seen: 1 día hace Con actividad desde 2014

Materials Scientist / Metallurgist / Mechanical Engineer

Programming Languages:
MATLAB, HTML, CSS
Professional Interests:
App Building, Material Sciences, Statistics, Mechanical Engineering, Metals, Materials and Mining

All

Ver insignias

#### Content Feed

Ver por

Resuelto

Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)

7 días hace

Resuelto

compter le nombre de zéros dans une matrice
écrire une fonction count_zeros qui prend en entrée une matrice M et détermine le nombre de zéros dans une matrice

7 días hace

Resuelto

List numbers that are not squares
The numbers 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, etc. are not perfect squares. Write a function to list the th term in ...

7 días hace

Resuelto

Intrication de deux vecteurs
Ecrire une fonction "intric" qui prend en entrée un vecteur ligne v1 et un vecteur ligne v2 et renvoie le vecteur ligne vres don...

7 días hace

Resuelto

Area under the curve
Compute area under the curve specified by points stored in y, where y is in range (0,inf) and x time step is 1. note: please r...

8 días hace

Resuelto

Leonardo primes
Leonardo numbers are defined by following recurrence relation: Leonard prime is Leonardo number which is also prime (see ...

8 días hace

Resuelto

Round2 Three Times Fight!
Your function should round the numbers then multyply them by 2 then repeat them three times

8 días hace

Resuelto

Snow Accumulation and Structural Risks To Residential Properties
The density of snow depends on the amount of liquid water it contains: Dry Snow is about 50 kg/m^3 Wet Snow is about 200 kg/m^...

8 días hace

Resuelto

Identifying teenager
Suppose the age of a person is given. If he/she is a teenage, answer is 'yes'. Otherwise, the answer is 'no'.

8 días hace

Resuelto

Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

8 días hace

Resuelto

Compute the drag on a moving vehicle
We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

8 días hace

Resuelto

Remove Duplicates
Remove duplicates from the vector of integers and display in sorted order

8 días hace

Resuelto

Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not

8 días hace

Resuelto

Slope intercept application
Find y given slope (m), x, and y intercept (b).

8 días hace

Resuelto

Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

8 días hace

Resuelto

Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

8 días hace

Resuelto

Triangle Coordinates
Given a natural number n, return two -element vectors, x and y, containing the coordinates of a triangular arrangement of points...

alrededor de 1 mes hace

Resuelto

Angle Between Analog Clock Hands
Given a datetime variable t, return the angle (in degrees) between the hour and minute hands of an analog clock at the time repr...

alrededor de 1 mes hace

Resuelto

Extract the Acrostic Message
An acrostic cipher is a way of embedding one message within another by taking the first (or last) word of each line. Given a str...

alrededor de 1 mes hace

Resuelto

Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

alrededor de 1 mes hace

Resuelto

Create block matrix of integers (j+k-1) - Part II
Given m, n, p, and q, create an m-by-n matrix made up of submatrices, each sized p-by-q (if possible - the last row and column o...

alrededor de 1 mes hace

Resuelto

Create block matrix of integers (j+k-1) - Part I
Given m, n, p, and q, create a matrix of m-by-n blocks (submatrices), each sized p-by-q. The elements of the (j,k)th block all h...

alrededor de 1 mes hace

Resuelto

Dartboard Average II
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

alrededor de 1 mes hace

Resuelto

Dartboard Average I
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

alrededor de 1 mes hace

Resuelto

Possible Rugby Scores
Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...

alrededor de 1 mes hace

Resuelto

Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

alrededor de 1 mes hace

Resuelto

Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

alrededor de 1 mes hace

Resuelto

Estimating Euler's (Oi-ler-z) Number
Euler's number is an irrational constant given by Starting with x=0, count the number of times you can add a uniformly distrib...

alrededor de 1 mes hace

Resuelto

Next Tribonacci Number
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

alrededor de 1 mes hace

Resuelto

Generate Tribonacci Sequence
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

alrededor de 1 mes hace