photo

wenchong chen


Last seen: 3 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


why my plot is not correct?
here is my code x = -5:0.1:5 y = x.^(1/3) plot(x,y)

3 years ago | 2 answers | 0

2

answers

Question


my newton code is not working for fing root of f = 2.5- 1/x
hi sir, this is my code, I am tring to use my newton code to find the root of f = 2.5 - 1/x but my error keeps = 1 and runs in t...

3 years ago | 1 answer | 0

1

answer

Question


my code is runing but I can not get the plot out
hi, here is my code, the plot windows pop out but there is no pot on them, whats wrong with my code? hold on f = @(x) x.^3...

3 years ago | 2 answers | 0

2

answers

Question


How can I use the subplot command to plot the root estimates vs iterations and the error vs iterations
this is my code: Use bisection method to find the root f = @(x) x.^3 - (9)*x.^2 + 3.8197 xl = -1000 xu = 1000 xm = (xl+xu)/...

3 years ago | 1 answer | 0

1

answer

Answered
why the + sign get invalid use of operator?
I can only put f=@(x)40.*x^1.5-875.*x+350000 in it

3 years ago | 0

Question


why the + sign get invalid use of operator?
f=@(x)40*x.^1.5-875*x.+350000 f=@(x)40*x.^1.5-875*x.+350000 ↑ Error: Invalid use of operator.

3 years ago | 2 answers | 0

2

answers

Question


how to write a bisection loop?
y = (-0.50598*10^-10)*x.^3 + (0.38292*10^-7)*x.^2 + (0.74363*10^-4)*x + 0.88318*10^-2 and I am trying to use bisection to find ...

3 years ago | 1 answer | 0

1

answer

Question


How to use finite difference to find slope for a function?
I have a function F(x)=x^2 + x - 10, how can I creat code for forward, back ward and central finite difference approximation of...

4 years ago | 1 answer | 0

1

answer

Question


Plot date on X axis
I am so confused on all other answers. Just trying to make a plot with date in X. I created close=TSLA(:,5) and date=TSLA(:,...

4 years ago | 1 answer | 0

1

answer