解決済み


Create a magic square matrix for a given odd integer
A magic square of size 'N' is a matrix that satisfies the following criterias: # Dimension - NxN # Matrix should contain ALL...

2ヶ月 前

解決済み


Hofstadter Female and Male sequences
The Hofstadter Female (F) and Male (M) sequences are defined as follows Write a function to compute for a given n. See http...

2ヶ月 前

解決済み


Perimeter of a Koch snowflake
A Koch snowflake is an iteratively generated (fractal) shape built out of successively smaller equilateral triangles by followin...

2ヶ月 前

解決済み


Simple spirometer - find your lung capacity from the number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

2ヶ月 前

解決済み


Write a code to implement the improved Euler's method to integrate a simple function
Euler's method approximates the solution to a differential equation as where . It's possible to improve on Euler's method by ...

2ヶ月 前

解決済み


Upper case and lower case!

2ヶ月 前

解決済み


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

2ヶ月 前

解決済み


Number of Flip Flop required in ripple counter
Find the number of flip flop required in ripple counter. If modulus of counter (N) is given find outnumber of Flip Flop (n) r...

2ヶ月 前

解決済み


Find out characteristics equation of given matrix.
Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2]

2ヶ月 前

解決済み


Number Puzzle - 038

2ヶ月 前

解決済み


Solve for factorial of X
It gives you the number x, and set y equal to x factorial. Ex. There are 52 cards in a deck, each specific order of all 52 car...

2ヶ月 前

解決済み


Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air: ​ where: D is drag force (N) ρ is air de...

2ヶ月 前

解決済み


Case-insensitive Character Detection
Find the index of a particular character in a string ignoring case. Example Input: x = 'aAbhhfdf' n = 'a' ...

2ヶ月 前

解決済み


basic finance application
i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

2ヶ月 前

解決済み


Number Puzzle - 031

2ヶ月 前

解決済み


Number Puzzles - 008

2ヶ月 前

解決済み


Turn year differences into "s score and y years ago"
President Lincoln opened his now-legendary Gettysburg Address with the famous words "Four score and seven years ago...". Given t...

2ヶ月 前

解決済み


Grouped Frequency Distributions

2ヶ月 前

解決済み


Determine if input is a Harshad number
In mathematics a harshad number (or Niven number) in a given number base is an integer that is divisible by the sum of its digit...

2ヶ月 前

解決済み


Translate German decimals to English decimals
The string 'x = [2,5; 5,5; 4,3];' should return 'y = [2.5; 5.5; 4.3];'

2ヶ月 前

解決済み


Scaling vertically parabola by evaluating its area over an interval
Let p be a quadratic polynomial, with its axis of symmetry being the y-axis. Considering the vertical shift of its vertex to the...

2ヶ月 前

解決済み


Ridge regularized linear regression
Given a predictor data matrix of size , target variable vector of size and a shrinkage factor (scalar) (ridge regularization...

2ヶ月 前

解決済み


Number Puzzles - 002

2ヶ月 前

解決済み


Number Puzzle - 049

2ヶ月 前

解決済み


Stern-Brocot Sequence
The Stern-Brocot diatomic sequence is defined as follows: The first elements of the sequence are 0, 1, 1, 2, 1, 3, 2, 3, 1, 4...

2ヶ月 前

解決済み


Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...

2ヶ月 前

解決済み


Acceleration in a Symmetric Double-Pulley Constraint System
Engineers at Indian Institute of Technology Kanpur are designing a precision counterweight system for high-speed elevators. The ...

2ヶ月 前

解決済み


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.

2ヶ月 前

解決済み


Sum all elements of a vector or matrix without using some built in functions
Write a function that computes the sum of all elements of the input array v without using the following built-in function: sum,...

2ヶ月 前

解決済み


What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...

3ヶ月 前

さらに読み込む