How to use subtitution in solving equation ??
Show older comments
i have an equation like this
total = volume * barrel
using subs( total, {volume, barrel}, {3, 4}) i can solve for total
but if i have total and volume , how can i solve for barrel ?
1 Comment
Azzi Abdelmalek
on 4 Jan 2013
What are total and volume?
Answers (2)
hai
on 4 Jan 2013
0 votes
2 Comments
Sean de Wolski
on 4 Jan 2013
Edited: Sean de Wolski
on 4 Jan 2013
Personally, I would use fzero()
t = 12;
v=4;
fzero(@(b)v*b-t,pi)
hai
on 4 Jan 2013
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!