photo

engineer101


Last seen: 4年以上 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

2 質問
0 回答

ランク
195,325
of 300,853

評判
0

コントリビューション
2 質問
0 回答

回答採用率
50.0%

獲得投票数
0

ランク
 of 21,094

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 171,319

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

5年弱 前 | 1 件の回答 | 0

1

回答