Community Profile

photo

Brandon


Texas Tech University

Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


why is my while loop only looping once?
f=@(x) (1/x)-37; if f(a)>0 && f(b)>0 || f(a)<0 && f(b)<0 error('does not bracket root') end ea=1000; es=(.5 *10^(2-...

9 years ago | 1 answer | 0

1

answer

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

10 years ago