![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17203739_1578334575962_DEF.jpg)
Benjamin Trivers
Followers: 0 Following: 0
Statistiques
13 Questions
0 Réponses
RANG
242 214
of 293 485
RÉPUTATION
0
CONTRIBUTIONS
13 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
0
RANG
of 20 033
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 148 733
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Different launch angles for a tennis ball
How far can you throw a tennis ball? Our goal is to find the launch angle θ, measured up from the ground, that will result in th...
plus de 4 ans il y a | 1 réponse | 0
0
réponseQuestion
euler function that you can reuse with different values?
function [t, y, yprime]=euler(f,t0,tN,y0,N) h=(tN-t0)/N; t=t0:N:tN; y=zeros(1,N+1); yprime=f(t,y); y(1)=y0; t(1)=t0; for ...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Approximation of integers and forming a table
function: function y=func(x) y=sqrt(4−x^2); end The midpoint rule: function y=Mid(a,b,N) dx=(b-a)/N; y=0; ...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
approximation of pi with arctan
term = @(x,n) (-1).^(n+1).*((x.^(2*n-1))./(2*n-1)); a1 = 0; a2 = 0; for n = 1:10 a1 = a1 + term(1/5,n); a2 = a2 + term(...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
approximation integrals using three rules
IN MATLAB ONLY Using these four functions, create a script to publish, writing a cell that uses N=10,20,40,80,160,320 to calcul...
plus de 4 ans il y a | 1 réponse | 0
0
réponseQuestion
Power series for arctan
Write a script that does the following: Approximate π using the formula from trigonometry (π = 4arctan1) and arctan values using...
plus de 4 ans il y a | 1 réponse | 0
0
réponseQuestion
converting string code into numbers?
Write a function m-file called stringcode that takes a string as input and produces an array containing a code for each letter i...
plus de 4 ans il y a | 1 réponse | 0
0
réponseQuestion
can't get all the other characters = 26
Write a function m-file called stringcode that takes a string as input and produces an array containing a code for each letter i...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
You will be estimating the number of swaps required for a list that is X=100, 200, 300, ..., 900, and 1000 numbers long. In other words, you will calculate an average for each number from 100 to 1000 in steps of 100. Each average should be calculat
x=[]; numsteps=0; for N=[100] for i=1:N x=[x,floor(999*rand(1)+1)]; end for i=1:N-1 ...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
3x3 matrix with while loop
Produce a random 3x3 matrix A that is invertible and display it. Hint: Use a while-loop until you get one with non-zero determi...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Create an .m file
Create an .m file that is a function that creates an array of N random integers in the range from -9999 to 9999. It should be i...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Determine the number of y-values less than the number 2.0
y = 2.5 + 1 * randn(100,1) sum=0; N=length(y); for i = 1 : N sum= sum + y(i); end average=sum/N; fprintf('the avera...
plus de 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
Calculate the result and absolute error for each partial sum: N = 10, 160, and 640. You should use for-loops and not commands like symsum. (b) Find the smallest value of N for which the absolute error is smaller than 10−4 (1e − 4). You should use a w
My question is: Calculate the result and absolute error for each partial sum: N = 10, 160, and 640. You should use for-loops an...
plus de 4 ans il y a | 1 réponse | 0