Statistik
2 Fragen
0 Antworten
RANG
89.567
of 300.392
REPUTATION
0
BEITRÄGE
2 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
50.0%
ERHALTENE STIMMEN
0
RANG
of 20.934
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 168.373
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
How to store an initial value in an array. x should start at 0 and y should start at 1. The step size is 0.25. I do not know how to store my initial x and y values in the array.
clear;clc syms x syms y f(x,y)= (1+2*x)*sqrt(y) h = 0.25; x_array = zeros(1,5); %array of x y_array = zeros(1,5); %a...
mehr als 4 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I am lost. I need to be able to show the iterations to find the root with given a and b values. Values for a and b should be user inputted. Convergence tolerance of abs(b-a) < 0.0001. fprint used to output the results from each iteration.
clc; close all; f= @(x)x.^3 + 12*x.^2 - 100*x -6; a = -1.0; b = 0.0; tol=0.0001; err=abs(b-a); if f(a)*f(b)>0 disp...
mehr als 4 Jahre vor | 1 Antwort | 0
