문제를 풀었습니다


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

5개월 전

문제를 풀었습니다


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

5개월 전

문제를 풀었습니다


Array Width (no usage of size)
Find the array width. Size may not be used.

5개월 전

문제를 풀었습니다


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

5개월 전

문제를 풀었습니다


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

5개월 전

문제를 풀었습니다


World Cup 2018 Prediction!
Which team will be the winner?

5개월 전

문제를 풀었습니다


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

5개월 전

문제를 풀었습니다


Diagonal Cross Mandala
Generate an N×N matrix with diagonals highlighted to form an artistic X-shaped mandala pattern. e.g. N = 5; 1 0 0...

6개월 전

문제를 풀었습니다


Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I​ where: V is the voltage (in volts) I is the current (in ampere...

6개월 전

문제를 풀었습니다


Compute optimal regenerative and friction brake torque blending.
Electric and hybrid vehicles combine regenerative braking with traditional friction braking to maximize energy recovery while en...

6개월 전

문제를 풀었습니다


Estimate brake disc temperature rise during braking.
During braking, kinetic energy is converted into thermal energy, causing brake discs to heat up. Excessive temperature rise can ...

6개월 전

문제를 풀었습니다


Compute optimal front–rear brake force distribution.
Modern braking systems dynamically distribute braking forces between front and rear axles to maintain stability, reduce stopping...

6개월 전

문제를 풀었습니다


Compute wheel slip ratio during braking.
During braking, a difference develops between the vehicle’s forward speed and the rotational speed of its wheels. This differenc...

6개월 전

문제를 풀었습니다


Estimate dynamic load transfer to front axle during braking.
During braking, load shifts from the rear axle to the front axle. Given mass, deceleration, center of gravity height, and wheelb...

6개월 전

문제를 풀었습니다


No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...

6개월 전

문제를 풀었습니다


[Mảng 1 Chiều Cơ Bản]. Bài 4. Lớn hơn, nhỏ hơn
Cho mảng số nguyên A[] gồm N phần tử và số nguyên X , hãy đếm xem trong mảng có bao nhiêu số lớn hơn X và bao nhiêu số nhỏ hơn X...

6개월 전

문제를 풀었습니다


Return the sum of all even numbers in a vector
Write a function that takes a vector of integers and returns the sum of all even numbers.

6개월 전

문제를 풀었습니다


Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...

6개월 전

문제를 풀었습니다


Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

6개월 전

문제를 풀었습니다


Addition II
find a+b+c+d

6개월 전

문제를 풀었습니다


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

6개월 전

문제를 풀었습니다


Return the product of all elements of a vector or matrix without using built-in functions
Compute the product of all elements of the input array without using the built-in functions prod, ans, or size.

6개월 전

문제를 풀었습니다


Find nth triangular number.
Calculate the triangular number of given integer n.

6개월 전

문제를 풀었습니다


Plus Cross Mandala
Create a symmetrical plus (+) shaped pattern centered in an N×N matrix.

6개월 전

문제를 풀었습니다


Count the Even Digits in a Number
Given a positive integer n, write a function that returns how many digits of n are even. Even digits are: 0, 2, 4, 6, 8

6개월 전

문제를 풀었습니다


Calculate Triangle Area, A, B and Gamma is given.

6개월 전

문제를 풀었습니다


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

6개월 전

문제를 풀었습니다


Diagonal Product of A Square Matrix
For a matrix A, calculate the product of its diagonal elements. * Assume all input matrices are square & corresponding element...

6개월 전

문제를 풀었습니다


Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...

6개월 전

문제를 풀었습니다


Difference of product and sum
Given a positive integer n, compute the difference between the product of its digits and the sum of its digits.

6개월 전

더 보기