# Peter Phung

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**10** Questions

**0** Answers

RANK**25 771**

of 291 878

REPUTATION**1**

CONTRIBUTIONS

**10** Questions

**0** Answers

ANSWER ACCEPTANCE **
70.0%
**

VOTES RECEIVED**2**

RANK

of 19 832

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 146 763

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Need help with Runge Kutta 4th order code

I am trying to plot example 5.3 in my heat transfer textbook using 4th order Runge Kutta and on the graph in the text book, it s...

mer än 5 år ago | 0 answers | 0

### 0

answersQuestion

I have a function and I would like for it to print out an answer if I feed it a value.

I am using the Colebrook equation, which is a function of "f" and "Re" *PLEASE READ*(RE IS WHERE 126,400 IS). I haven't used MAT...

ungefär 6 år ago | 1 answer | 0

### 1

answerQuestion

I keep getting an error stating that fsolve has stopped because it has exceeded the function evaluation limit.

Here is my code %% Fsolve portion fun = @root2d; x0 = [10000,1]; x = fsolve(fun,x0); %% Actual functions function F = r...

ungefär 6 år ago | 1 answer | 0

### 1

answerQuestion

Is there anyway that I can have a function and what I must type into the command window in a script?

I would like to have a function, namely fsolve, and what you must put into the command window to output an answer into one .m fi...

ungefär 6 år ago | 1 answer | 0

### 1

answerQuestion

Question about typing in a function

I have a function that my professor wants me to type into matlab and find where it converges to zero. I am having problems with ...

ungefär 6 år ago | 1 answer | 0

### 1

answerQuestion

Why do I get this error for my gauss seidel code?

a = [3 -.1 -.2; .1 7 -.3; .3 -.2 10]; b = [7.85; -19.3; 71.4]; x = [0;0;0]; imax = 10; es = 1e-6; lambda = 0.5;...

mer än 6 år ago | 1 answer | 0

### 1

answerQuestion

Need help computing average time for a code I made

My professor wants me to generate a loop that will run my code 10 times. For those 10 times he wants me to compute the time for ...

mer än 6 år ago | 1 answer | 0

### 1

answerQuestion

Help with Newton Raphson question.

My function is: f(x) = (x + 5.371)^2*(x-100) My initial guess is x0 = 0 I have to use the Newton Raphson method and 1st modifi...

mer än 6 år ago | 1 answer | 1

### 1

answerQuestion

My Modified regula falsi code has the same number of iterations and error value as the regular falsi code that I made. Why is this?

This is my modified regula falsi code clear all; clear clc; g = 9.81; %acceleration m/s^2 m = 68.1; %mass, kg t = ...

mer än 6 år ago | 1 answer | 1

### 1

answerQuestion

Why am I not getting different values for the absolute value percent error?

The question that is in the textbook that I have states: The infinite series converges on a value of f (n) = π4/90 as n appro...

nästan 7 år ago | 1 answer | 0