문제를 풀었습니다


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

4개월 전

문제를 풀었습니다


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

4개월 전

문제를 풀었습니다


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

4개월 전

문제를 풀었습니다


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

4개월 전

문제를 풀었습니다


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

4개월 전

문제를 풀었습니다


Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

4개월 전

문제를 풀었습니다


raise 1/3
Raise a number to 1/3 power.

4개월 전

문제를 풀었습니다


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

4개월 전

문제를 풀었습니다


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

4개월 전

문제를 풀었습니다


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

4개월 전

문제를 풀었습니다


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

4개월 전

문제를 풀었습니다


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

4개월 전

문제를 풀었습니다


Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ​ ρ = fluid density (kg/m³) V = veloc...

4개월 전

문제를 풀었습니다


Real

4개월 전

문제를 풀었습니다


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

4개월 전

문제를 풀었습니다


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

4개월 전

문제를 풀었습니다


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

4개월 전

문제를 풀었습니다


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

4개월 전

문제를 풀었습니다


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

4개월 전

문제를 풀었습니다


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

4개월 전

문제를 풀었습니다


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

4개월 전

문제를 풀었습니다


Add 2 Vectors

4개월 전

문제를 풀었습니다


Size

4개월 전

문제를 풀었습니다


Transpose of matrix
Transpose of matrix as per test cases

4개월 전

문제를 풀었습니다


Compare two strings.
Compare two strings, whether they are equal or not.

4개월 전

문제를 풀었습니다


Create tangent function out of sine function only
Please don't use cosine and tangent functions

4개월 전

문제를 풀었습니다


kmph to mph converter
Convert the speed in miles/hour to km/hour.

4개월 전

문제를 풀었습니다


Frobenius McNugget Factorization
Mr. Frobenius McNugget is a peculiar man. As you might expect, he likes to eat Chicken McNuggets. But his love of number theo...

4개월 전

문제를 풀었습니다


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

4개월 전

더 보기