Question

In: Computer Science

I need to get the MATLAB calculation for this but I can't. I past the exact...

I need to get the MATLAB calculation for this but I can't. I past the exact same thing into MATLAB R2016b Editor but it gives me error. Please write your answer and telling what is wrong with the code. What should I add or remove in this code to get the answer and calculations. Please explain step by step this is the first time ever that I am using MATLAB. Thanks

I need to get the MATLAB calculation for this but I can't. I past the exact same thing into MATLAB R2016b Editor but it gives me error. Please write your answer and telling what is wrong with the code. What should I add or remove in this code to get the answer and calculations. Please explain step by step this is the first time ever that I am using MATLAB.

Thanks

>> V=5; R1=270; R2=470; R3=560; R4=220; R5=330;

>>Req1= R4+R5;

>>Req2=1/((1/R1)+(1/R2)+(1/R3));

>>Ieq=V/(Req1+Req2);

>>Veq1=Ieq*Req1;

>>Veq2=Ieq*Req2;

>>V1=Veq1*(R4/(R4+R5));

>>V2=Veq1*(R5/(R4+R5));

>>V3=Veq2;

>>I1=V3/R1;

>>I2=V3/R2;

>>I3=V3/R3;

Solutions

Expert Solution

all these commands are correct but you need to enter one command at a time in command window which already contains the angular brackets like (>>) after that you need to submit the command and press enter

like this

semicolon at the end of a command means not to display the result after the execution of command

as you can see that i entered a=1

then it printed a

=1

but if i type a=1;

it will not print anything

all these lines are correct but the lines whose output you wanna see those must not have that semicolon at the end

and remember you need to enter the commands one by one

like first you enter

V=5; R1=270; R2=470; R3=560; R4=220; R5=330;

this will not print anything

then

write this

Req1= R4+R5

(not to add semicolon at the end )

this will print

Req1=

550

and so on so that you can get your answer

my matlab is not working thats why i can post the image of solved answer but you can try this in your system and can comment if you struck somewhere or find something not working.

Thanks hope this help


Related Solutions

I need the calculation of this problem. This question has solution but I can't figure the...
I need the calculation of this problem. This question has solution but I can't figure the answer calculation Again I need calculation probably last line Question : On a certain standardized test The mean is 51 The standard deviation is 15 Exactly 66% of the people who took the test scored higher than Mr. Peterson. Find a, b, and c such that Mr. Peterson's score is approximately a + b ⋅ Φc(d) Do not make a continuity correction. What is...
I am struggling with this assignment. I can't get the program to run when I enter...
I am struggling with this assignment. I can't get the program to run when I enter a number with the $ symbol followed by a number below 10. any help would be greatly appreciated. Create a program named Auction that allows a user to enter an amount bid on an online auction item. Include three overloaded methods that accept an int, double, or string bid. Each method should display the bid and indicate whether it is over the minimum acceptable...
I got the answer for part A right but I can't seem to get part B...
I got the answer for part A right but I can't seem to get part B or C. Could you please show me working out? Thank you! Part A What is the pH of a buffer prepared by adding 0.506mol of the weak acid HA to 0.609mol of NaA in 2.00 L of solution? The dissociation constant Ka of HA is 5.66
I need to draw a cylinder in java with user input, and I can't seem to...
I need to draw a cylinder in java with user input, and I can't seem to get my lines to line up with my ovals correctly from the users input... I know I will have to either add or subtract part of the radius or height but I'm just not getting it right, here is how I'm looking to do it.            g.drawOval(80, 110, radius, height);            g.drawLine(?, ?, ?, ?); g.drawLine(?, ?, ?, ?);   ...
********I NEED THE BELL SHAPED CURVE, PLEASE DON'T ANSWER IF YOU CAN'T INCLUDE*********** ********I NEED THE...
********I NEED THE BELL SHAPED CURVE, PLEASE DON'T ANSWER IF YOU CAN'T INCLUDE*********** ********I NEED THE BELL SHAPED CURVE, PLEASE DON'T ANSWER IF YOU CAN'T INCLUDE*********** ********I NEED THE BELL SHAPED CURVE, PLEASE DON'T ANSWER IF YOU CAN'T INCLUDE*********** ********I NEED THE BELL SHAPED CURVE, PLEASE DON'T ANSWER IF YOU CAN'T INCLUDE*********** According to the Organization for Economic Co-Operation and Development (OECD), adults in the United States worked an average of 1,805 hours in 2007. Assume the population standard deviation...
I have tried this multiple times and I can't get the right answer. The 2014 balance...
I have tried this multiple times and I can't get the right answer. The 2014 balance sheet of Jordan’s Golf Shop, Inc., showed long-term debt of $5.2 million, and the 2015 balance sheet showed long-term debt of $5.45 million. The 2015 income statement showed an interest expense of $170,000. The 2014 balance sheet showed $520,000 in the common stock account and $5.5 million in the additional paid-in surplus account. The 2015 balance sheet showed $560,000 and $5.7 million in the...
Hi! I kep trying this question and can't get it right. At a certain temperature, the...
Hi! I kep trying this question and can't get it right. At a certain temperature, the equilibrium constant for the following chemical equation is 2.90. At this temperature, calculate the number of moles of NO2(g) that must be added to 2.73 mol of SO2(g) in order to form 1.30 mol of SO3(g) at equilibrium. SO2(g) + NO2(g) ----> SO3 (g) + NO (g) Answer in mol NO2
Can't seem to get the program working. I have the same program as a friend, but...
Can't seem to get the program working. I have the same program as a friend, but mine says void getNextWord fuction not found. I need getNextWord fuction Any Help would be great. #include <iostream> #include <fstream> #include <string> using namespace std; bool isPunct(char); bool isVowel(char ch); string rotate(string pStr, string::size_type len); string pigLatinString(string pStr); void getNextWord(ifstream& inf, char& ch, string& word); //global declaration int main() {    string str;    //declaration    char ch;    ifstream infile;    ofstream outfile;...
I have to create a light dispersion prism animation in Matlab. I need a well-explained Matlab...
I have to create a light dispersion prism animation in Matlab. I need a well-explained Matlab script which works.
C# Tip Calculator. I can't figure the code out for this assignment can I get some...
C# Tip Calculator. I can't figure the code out for this assignment can I get some help For this assignment, you'll create a simple tip calculator. Expected program flow: Ask the user for the bill total. Ask the user for the tip percent. Print the final output in the following format when the user enters 10 and 15 for the first two prompts: Total for bill $10.00 with a 15% tip is $11.50 Note that the money values should be...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT