how to get float answer and not a Fraction ?
54 views (last 30 days)
Show older comments
lets say this is my code ,(simple code ) :
for some reason my answer is fraction and float point anser ,how to fix the format ?
clc;
clear all;
syms R2
R1=200
eqn=(12*R2)/(R2+R1)==5
sol_R2=simplify(solve(eqn,R2))
0 Comments
See Also
Categories
Find more on Assumptions 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!