# Umar

Last seen: 1 day ago Active since 2024

Followers: 10   Following: 2

Community volunteer, like to help people by making difference in their lives

Programming Languages:
Python, C++, C, Java, C#, Javascript, R, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, VHDL, Visual Basic
Spoken Languages:
English
Pronouns:
He/him

All

#### Feeds

View by

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

2 days ago

Solved

Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

2 days ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

2 days ago

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

2 days ago

Solved

find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

2 days ago

Solved

Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

2 days ago

Solved

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

2 days ago

Solved

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

2 days ago

Solved

Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

2 days ago

Solved

y equals x divided by 2
function y = x/2

2 days ago

Solved

calculate RMS voltage
given peak to peak voltage, calculate rms voltage

15 days ago

Solved

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

15 days ago

Solved

ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

15 days ago

Solved

Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

15 days ago

Solved

Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

15 days ago

Solved

Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

15 days ago

Solved

Stress-Strain Properties - 5
Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

15 days ago

Solved

Stress-Strain Properties - 4
A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

15 days ago

Solved

Stress-Strain Properties - 3
A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

15 days ago

Solved

Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

15 days ago

Solved

Stress-Strain Properties - 1
This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

15 days ago

Solved

ASCii Code
Using Matlab get the ASCii for '?'

23 days ago

Solved

Type your favourite city.

23 days ago

Solved

What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

23 days ago

Solved

Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

23 days ago

Solved

Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

24 days ago

Solved

Min of a Matrix
Return the minimum value in the given matrix.

24 days ago

Solved

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

24 days ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary

25 days ago

Solved

Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

25 days ago