Community Profile

photo

wenchong chen


Last seen: oltre 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

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

circa 3 anni fa | 0

Domanda


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.

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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(:,...

circa 3 anni fa | 1 risposta | 0

1

risposta