A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • one year ago

Topic: MATLAB 101 Can someone help me with MATLAB ? I have 0.05% idea how this thing works. I'm just following instructions from the internet, but I'm still stuck with the problem below. Please anyone, teach me.

  • This Question is Closed
  1. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I already done with letter a. I used inline function on this question. I have no idea how to do letter b. Can anyone help me out?

    1 Attachment
  2. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    What have you learned so far? Quadratic formula, Newton's method, fixed point iteration, Newton's for systems, or all of the above?

  3. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    only quadratic formula i think :/ never heard of the other ones..

  4. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Is this a course on Matlab only, or it's a course on numerical methods/analysis using Matlab as a tool?

  5. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    only matlab only

  6. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    we are only focusing on the commands and stuff

  7. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Ok, then there's no expected method to solve the second. For starters, here's an implicit plot of the system (second problem). http://prntscr.com/8o3mfh

  8. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    See if you can reproduce the same plot in Matlab (if you have covered graphics).

  9. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    The solution near (2,3) is the top right intersection.

  10. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    we are on the equations right now.. and i got 2.4072 and 1.1106

  11. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    if i'll use [2,3]

  12. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    So you're in a class? I think you should pay attention to what the instructor is showing you instead!

  13. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    no i have a vacant right now. This assignment is due on wednesday

  14. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    (2.4,1.1) is definitely not the solution!

  15. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    so my code is wrong >.<

  16. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Have you examined the graph and be convinced that (2.4, 1.1) is not the answer?

  17. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    You can find out if you put your solution into the equations and see if f(x,y)=0, and g(x,y)=0.

  18. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Your solution works for g(x,y)=0 only. f(x,y) gives -36.0

  19. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    So what method of solution of polynomial equations have you learned so far?

  20. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Not sure if you have included both equations into the 'eqns' parameter of fsolve. That may be your only problem.

  21. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    oh yeah i made x= x(1) and y=x(2)

  22. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    You have missed out the 0 at the end of definition of F(1), which makes the constant 4 instead of 40. That's why when substituted you will get -36! I think that's all you have to correct!

  23. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    oh so now i get 2.696 and 3.3655 ?

  24. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I get 2.6963 and 3.3655 using just display(x).

  25. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yes! so those are right?

  26. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Absolutely. If you need more digits, use a more elaborate version of print.

  27. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    ahh okay. thank you so much! finally, i can move on with the other exercise xD

  28. mathmate
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Good! You're welcome! :)

  29. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.