my code is; syms d; s=solve('7*d + 3*e=71','d + 2*e=20'); s=[s.d s.e]; disp('1 dollar = '); s(1) disp('Eullar');
Error in HW10 (line 2) s=solve('7*d + 3*e=71','d + 2*e=20');
The qustion I am solving is:
"Seven dollars and 3 Euros make 71 Eullars. One dollar and 2 Euros make 20 Eullars. find out the value of a dollar in terms of Eullars"
For equality inside a symbolic expression, use double equal signs (==) —
syms d e s=solve(7*d + 3*e == 71,d + 2*e == 20); s=[s.d s.e]; disp('1 dollar = ');
1 dollar =
vpa(s(1),3)
ans = 7.45
disp('Eullar');
Eullar
The ability to use character arrays has been removed (depricated). Although ‘e’ was not included in the syms call, I assume it is a variable and not the exponential function e that is the exp function. If it should be ‘exp(1)’ (or the exponential function of some other argument), make the appropriate changes in your code.
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.