Matlab, Matrix Algebra, Arithmetical Problems

Solutions in math using Matlab

Matlab assignment experts is a platform for helping students with Matlab related assignments. Our Matlab online tutors often help students to expand their knowledge on different topics. But we can’t help, here we notice that most of the questions asked are on solutions to mathematics problems using Matlab. You should note that Matlab is a computer programming platform designed to help engineers and scientists.   Computing mathematics problems is one of its core functions. By this, we mean if there is no mathematical computation involved then the idea of having Matlab is pointless.  Matlab is meaningless without mathematics.

Why students have more assignments in Matlab?

Matlab is a programming language that can be used to compute mathematical problems. Ever since it came into existence, it has served this role. Matlab has been in use for more than three decades, but its use grew exponentially in the past decade, where the use of computer software infiltrated learning institutions. In the past decade, technological advancements in the job market has dictated that students should be capable of using statistical software. This is because everything is now being digitized. The society is moving towards a paperless state. Students are greatly benefitting from learning the various statistical software, especially Matlab. Proficiency in this statistical software is an added advantage to job seekers which is reaping them rich dividends now than it ever was in the past.

In fact, there are different statistical software that a student can use which are accepted in the job market. Matlab is one of them and it has lots of advantages, which has made many institutions adopt it in their curriculum. Making codes with Matlab is a lot easier. It has a well-documented system which ensures that students can learn on their own how to use the software. The process of debugging a Matlab code is also easier than in other high-level languages.

Solutions in math

Many a time you come across this phrase the ‘solution of an equation’ or ‘solve for an equation.’ Both terms imply the same thing. But what is an equation? An equation is an algebraic expression containing unknowns and some values. Equations can be of any order. An equation having the highest unknown raised to two is known as an equation of order two or a quadratic equation. The order of an equation can rise to exceed any maximum threshold you can think of. The solution of the equation is, therefore, a value that, when substituted with the unknowns in the equation makes the algebraic expression true.

Solving equations has its origin in ancient Egypt. At this time, simple equations were used to solve the simple equation, which was a model of real-life scenarios. Solutions for higher degree equations were developed in the sixteenth century.

Methods of solving an equation.

The method of solving an equation is highly dependent on the type of equation that we want to solve. Here we will focus on simple methods involving equations with less than two unknowns and equations of order one. There are advanced methods used in finding the solution of an equation, such as the secant root-finding methods and Newton’s method.

If it’s a simple equation containing one unknowns i.e., x +2 = 4, there are two fundamental rules that you should adhere to in order to get the solution of the equation. These are the additive and multiplicative rule. The additive rule dictates that a constant can be added to both sides of the equation without changing the equation, while the multiplicative rule states that a constant can be multiplied to both sides of the equation without affecting the solution.

The second type of equation is the one with more than one unknowns. There is another way of solving these types of equations. First, you have to remove any parenthesis in the equation. Secondly, collect the like terms on each side and then sum them. Then split the unknowns and the constants. This ensures that there are unknowns on one side and the constant on the other side. The multiplicative rules and the additive rules should help you in this step. Finally, solve the equation by eliminating the coefficient of the unknown.

Types of solutions.

If you want to find the solution of a system of the linear equation, you should be aware of the types of outcomes that are likely to occur. There are three solutions that an equation can have. These are:-

1. A value

This is the result that is obtained by solving simple algebraic expressions with one unknown. Normally, they are easy to find, and if you observe the above-mentioned rules, you won’t have any problems with these types of equations. On a graph, these equations will intersect at a point, which is the solution for each equation.

2. Infinitely many values

When more complex equations are involved, the number of solutions you get can rise to more than one. They can be infinite on a number line, and the solution is best expressed as an equation. They are common if the system of equations contains more than one unknowns. On a graph, they are a single line. Both type of solutions, as mentioned above are sometimes referred to as consistent solutions.

3. No value

On the contrary, you may come across a situation where there could be no solution to the equation. This means that it’s impossible for the system of equations to be true for any real number. Solving this equation will always lead to a contradiction.

Matlab for math’s solutions.

Matlab is well equipped with the necessary tools that you will need for any kind of mathematical computations. If you want to solve an equation, you can use the symbolic math toolbox. It has all the functions that you could need to get the solution to any equation.

In this article, we have discussed about getting the solution of equations. However, there are many instances where you are needed to find solutions. For instance, you can be asked to calculate the flat rate of certain loan repayment. Here you still need a solution, which is a value. The point to be noted is that the idea of finding solutions is endless and not restricted to equations only. Even the sum of two numbers is a solution. Matlab is a full-fledged software to handle anything. It can handle whatever comes its way as long as the appropriate lines of code are developed.

Matlab assignment experts

We are a team of accomplished experts providing students across the globe with solutions in maths using Matlab software.  We have been in this business for a long time and have established ourselves in this niche as one of the most trusted and reliable online assistance companies. What is the secret to this? Simply providing the best.

We have done numerous assignments for students and have always received lots of positive reviews fromstudents. Most of them have even become our most loyal customers due to the high-quality services that we offer.  The benefits that you getfrom us are vast. They include timely assignment solution delivery, high-quality assignment solutions, and plagiarism-free solutions. You, too, can benefit from or services if you contact us.

For any assignment help that you need, contact us by using the email info@matlabassignmentexperts.com. Use the subject line ‘Solutions in maths using Matlab.’ We shall contact you to inform about the requirement that you are needed to satisfy before we can commence the solution preparation process.

Once you are done, a suitable expert will begin working on the assignment solution.

You could also contact us via the ‘submit your assignment’ button on our webpage. Follow the steps that follow to ensure successful submission of your assignment to us. It will take a very little time to get us working on your assignment.

In this Matlab assignment sample solution, our expert has depicted the use of Matlab for solving various types of problems in matrix algebra and arithmetic. The first part of the assignment involves the use of Matlab for solving a  problem on matrix algebra. The expert has demonstrated his expertise on wide-ranging concepts like one dimensional and two-dimensional matrix etc. In the concluding part of the assignment, the expert has provided a comprehensive solution to various arithmetical problems using Matlab.

 

SOLUTION : –

%Problem 1

clear, clc

a=[15 3 22; 3 8 5; 14 3 82];

b= [1; 5; 6];

c=[12 18 5 2];

%(a)

d=a(:,3)

%(b)

e=[b d]

%(c)

f=[b; d]

%(d)

g=[a; c(1,1:3)]

%Problem 2

clear, clc

a=[1 68 45 92

2 83 54 93

3 61 67 91

4 70 66 92

5 75 68 96

6 82 67 90

7 57 65 89

8 5 69 89

9 76 62 97

10 85 52 94

11 62 34 87

12 71 45 85

13 96 56 45

14 78 65 87

15 76 43 97

16 68 76 95

17 72 65 89

18 75 67 88

19 83 68 91

20 93 90 92]

%(a)

student_5=a(5,:)

%(b)

test_1=a(:,2)

%(c)

standard_dev=std(a(:,2:4))

variance=var(a(:,2:4))

%(d)

student_score=[a(:,1),(sum((a(:,2:4))’))’,((sum((a(:,2:4))’))’)/3];

student_score=[a(:,1),sum(a(:,2:4),2),(sum(a(:,2:4),2))/3]

%(e)

student_result=[a, student_score(:,2:3)]

%(f)

rank = sortrows(student_result,5,’descend’)

%Problem3

clear,clc

a=5^2

b=(5+3)/(5*6)

c=(4+6^3)^(1/2)

d=9+6/12+7.5^(2+3)

e=1+5.3/6^2+2^(2-4)*1/5.5

%Problem 4

%(a)

clear, clc

r=5

Area=pi*r^2

%(b)

r=10

surf_area=4*pi*r^2

%(c)

r=2

volume=4/3*pi*r^3