Community Profile

photo

khalid boureeny


Active since 2017

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How can I increase the decimal digits in the result of my program ? for example 50 or 80 digits .
format long x=(pi); for i=1:10 fx=cos(x(i))-3*x(i)+1; fxx=-sin(x(i))-3; x(i+1)=x(i)-(fx/fxx); end x(10) ...

5 years ago | 1 answer | 0

1

answer

Question


what if I need more decimal digits in calculated results ? ( e.g. 50 or 80 decimal digits )
What should I do to increase the decimal digits ? FOR EXAMPLE : clear all clc x=(-0.1); y=(0); fprintf(' i ...

5 years ago | 3 answers | 0

3

answers

Question


How can I increase the decimal digits and control them in future .... How should I modify my program to do so ???
FOR EXAMPLE , WHAT SHOULD I DO TO INCREASE THE DECIMAL DIGITS TO 50 OR 100 ??? PLEASE, SHOW ME THE WAY ... clear all clc x=(...

5 years ago | 0 answers | 0

0

answers

Question


I need more decimal digits than the default for the values of x ...
x=(0); %format long eng fprintf(' x \n') fprintf(' ------------- \n') fprintf('%20i \n...

5 years ago | 1 answer | 0

1

answer

Question


why my iteration prog doesn't work ?
% Use NR method f(x)= x^3-5x^2+7x-3 clc TV=3; x=(4); tol=0.0007; format long for i=1:5; fx=(x(i))^3-...

5 years ago | 2 answers | 0

2

answers