Login

Welcome, Guest. Please login or register.

October 14, 2025, 09:41:23 am

Author Topic: ENG1060 Computing  (Read 44726 times)  Share 

0 Members and 2 Guests are viewing this topic.

xZero

  • Victorian
  • Forum Leader
  • ****
  • Posts: 898
  • Respect: +68
Re: ENG1060 Computing
« Reply #105 on: April 19, 2011, 03:27:03 pm »
0
yup mines exactly the same
« Last Edit: April 19, 2011, 04:29:29 pm by xZero »
2009: Chinese SLA
2010: English, Maths method[45,A+ A+ A+], Specialist maths[44,A+,A,A+], Physics[40,A,A+,A+], Psychology Atar:94.75
2011-2015: Bachelor of Aerospace Engineering/Science @ Monash

Methods/Spesh/Physics tuition

m@tty

  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 4324
  • Respect: +33
  • School: Heatherton Christian College
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #106 on: April 19, 2011, 08:10:04 pm »
0
Assignment is up..
2009/2010: Mathematical Methods(non-CAS) ; Business Management | English ; Literature - Physics ; Chemistry - Specialist Mathematics ; MUEP Maths

96.85

2011-2015: Bachelor of Aerospace Engineering and Bachelor of Science, Monash University

2015-____: To infinity and beyond.

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #107 on: April 19, 2011, 11:30:16 pm »
0
Same answer's here too, except my 4b) gives a slightly different answer( by like .000001) and 0.01 pert results in an infinite loop for some reason.... so i used 0.001.

Time to get started on the Assignment guys =D

Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

xZero

  • Victorian
  • Forum Leader
  • ****
  • Posts: 898
  • Respect: +68
Re: ENG1060 Computing
« Reply #108 on: April 20, 2011, 04:27:40 pm »
0
so how did everyone go in the lab? the average for this week went down to 6.8 :o
2009: Chinese SLA
2010: English, Maths method[45,A+ A+ A+], Specialist maths[44,A+,A,A+], Physics[40,A,A+,A+], Psychology Atar:94.75
2011-2015: Bachelor of Aerospace Engineering/Science @ Monash

Methods/Spesh/Physics tuition

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #109 on: April 20, 2011, 06:22:15 pm »
0
For task 2, do you have to use size or length?

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #110 on: April 20, 2011, 06:38:53 pm »
0
for the fzero on Q5, did u guys get 137.1801? Not really sure if im doing it right cause all my 3 methods gives 144. xx which is 7 degrees off.. Im quite sure my methods for roots are right so ....

For task 2, do you have to use size or length?

I used nested root,

Eg,
 for number of rows A
     for number of columns B
            multiply each element in the row of A by its corresponding element in each column in B.

Something along those lines =)


Edit: forget what i said about the fzero, realised i somehow managed to copy the code incorrectly.... :buck2:
« Last Edit: April 20, 2011, 06:41:26 pm by JinXi »
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

xZero

  • Victorian
  • Forum Leader
  • ****
  • Posts: 898
  • Respect: +68
Re: ENG1060 Computing
« Reply #111 on: April 20, 2011, 06:41:50 pm »
0
for the fzero on Q5, did u guys get 137.1801? Not really sure if im doing it right cause all my 3 methods gives 144. xx which is 7 degrees off.. Im quite sure my methods for roots are right so ....

For task 2, do you have to use size or length?

I used nested root,

Eg,
 for number of rows A
     for number of columns B
            multiply each element in the row of A by its corresponding element in each column in B.

Something along those lines =)

your fzero answer is way off, it should be 144.xx
2009: Chinese SLA
2010: English, Maths method[45,A+ A+ A+], Specialist maths[44,A+,A,A+], Physics[40,A,A+,A+], Psychology Atar:94.75
2011-2015: Bachelor of Aerospace Engineering/Science @ Monash

Methods/Spesh/Physics tuition

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #112 on: April 20, 2011, 06:46:21 pm »
0
Say you defined the dimensions of a matrix as size_A = size(A)
Then does size_A(1) give you the number of rows for matrix A? Or am I missing something?
« Last Edit: April 20, 2011, 06:48:59 pm by sajib_mostofa »

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #113 on: April 20, 2011, 06:56:06 pm »
0
Say you defined the dimensions of a matrix as size_A = size(A)
Then does size_A(1) give you the number of rows for matrix A? Or am I missing something?

Yeah thats right, so you have to repeat the loop that number of times.
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #114 on: April 20, 2011, 07:03:00 pm »
0
So the number of times you repeat the loop depends on the number inside the bracket of size_A(x)?

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #115 on: April 20, 2011, 07:08:43 pm »
0
So the number of times you repeat the loop depends on the number inside the bracket of size_A(x)?

Yeah its the same as when u multiply a matrix A * B by hand, you take the 1st row of A(loop here), multiply it by columns B from left to right(another loop here), then you go to the 2nd row of A, repeat the process.

Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #116 on: April 20, 2011, 07:58:01 pm »
0
For task 3 , do we have to make the graph animate?
« Last Edit: April 20, 2011, 08:42:59 pm by sajib_mostofa »

taiga

  • Honorary Moderator
  • ATAR Notes Legend
  • *******
  • Posts: 4085
  • Respect: +588
Re: ENG1060 Computing
« Reply #117 on: April 20, 2011, 09:06:45 pm »
0
Hey guys, I hate computing
vce: english, methods, spesh, chemistry, physics, geography.

ex admin/mod/partner

2010: Melbourne High School (VCE)
2011 - 2016: Monash University BComm/BEng (Hons)


If you guys have any concerns/suggestions for making ATARNotes a better place, don't hesitate to PM me.

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #118 on: April 20, 2011, 09:12:15 pm »
0
For task 3 , do we have to make the graph animate?

highly doubt it. I just graphed the initial graph to let the user estimate, then graphed the result.

However if you want some animations go for it =D they wont complain. I did some animations for the last lab and the demonstrators liked it, but he said it wasn't neccessary, so screw it.

Hey guys, I hate computing

Ur gna think im weird but i kinda like playing with Matlab ;)

Not sure if that'll stay once I start the assignment :P
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #119 on: April 20, 2011, 09:37:55 pm »
0
Matlab could be fun if I bloody knew how to use it properly...