Community Profile ### School of Mathematics & Statistics

Last seen: 23일 전 2011 이후 활성

PhD (Scholar) Mathematics

#### Statistics

All
• • • • • • • • • 배지보기

#### Content Feed

보기 기준

해결됨

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

26일 전

질문

How to adjust initial condition to nondimensionalization of coupled ODE?
Here is the code for dimenional and non-dimensional form of coupled ODEs using ode45, but both results are not agreeing. Please ...

5달 전 | 답변 수: 0 | 0

### 0

답변

질문

ODE solution using Fourier series
Hello, I am trying to solve first order ode () using Fourier Series. I wrote the code, but I was doing something, please idetif...

5달 전 | 답변 수: 1 | 0

### 1

답변

질문

Calling Euler Method to solve Shooting Method
Hi, I am trying to solve a BVP: y''(x) +5y'(x)+4y(x) = 1 with boundary conditions y(0) = 0 and y(1)=1 using shooting method. ...

6달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to correct the regenerated plot of given analytical solution of ODE?
for for The analytical solution for this ODE is given belown and written as MATLAB in code routine: for t = -log(1-a)...

6달 전 | 답변 수: 0 | 0

### 0

답변

질문

Addition of numbers in array as string
I am following these lines of code, but generating error when I do: x = randi([0,9],1,20); y = randi([0,9],1,20); x_new = st...

8달 전 | 답변 수: 1 | 0

### 1

답변

질문

Lets' say I have 2 vectors: x = [7 4 6]; y = [1 4 4]; But these are not just vector consider them as A number, i.e., 746 and ...

8달 전 | 답변 수: 1 | 0

### 1

답변

질문

Plot with smaller variation in input argument under user defined function?
I am stuck with a smaller concept that How to Plot with smaller variation in input argument under user defined function? For ex...

9달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to save last three values from for loop?
I just got stuck to save the last three values of r from the for loop, please help me in this regard. yl = 1; rl = [0, yl] ; ...

9달 전 | 답변 수: 1 | 0

### 1

답변

해결됨

Determine the square root
Determine the square root of the value the user has entered, n.

1년 이상 전

해결됨

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

1년 이상 전

해결됨

Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

1년 이상 전

해결됨

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

1년 이상 전

해결됨

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1년 이상 전

문제

Find the remainder with the factorial of PRIMES?
* Take a number greater than or equal to 2 and take its primes. e.g. 6 and its primes are 2 3 5 * calculate the factorial of i...

1년 이상 전 | 0 | 솔버 수: 8

해결됨

Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

1년 이상 전

해결됨

Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

1년 이상 전

해결됨

Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

1년 이상 전

해결됨

Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...

1년 이상 전

해결됨

Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

1년 이상 전

해결됨

Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

1년 이상 전

해결됨

Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

1년 이상 전

해결됨

Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

1년 이상 전

해결됨

Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

1년 이상 전

해결됨

Rounding
Round 10.67 and make 'y' equal to that number.

1년 이상 전

해결됨

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

1년 이상 전

해결됨

02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

1년 이상 전

해결됨

Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

1년 이상 전

해결됨

Complex number
For complex number c=a+bi, write code that will add a and b together.

1년 이상 전

해결됨

Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

1년 이상 전