Question: Matlab _ 2 scripts and Functions rfm _ lord Consider the system of equations: x + 2 y + 3 z = 1 3 x

Matlab _2
scripts and Functions
rfm_lord
Consider the system of equations:
x+2y+3z=1
3x+3y+4z=1
2x+3y+3z=2
Write a script file example1.m to find the solution to the system of equations
The output should be like this
The value of x=-0.50 volt
The value of y=1.50 volt
The value of z=-0.50 volt
Write a script file example2.m to plot the following cosine function Y1=2cos(x),Y2=cos(x), and Y3=0.5cos(x), in the interval 0x2.
a) Write a script file example3.m to ask the user to enter the values of four resistors R1,R2,R3 and R4 and print out their parallel equivalent resistor Use the formula Req=1/(1/R1+1/R2+1/R3+1/R4)
The output should be like this
R1=100 ohm, R2=200 ohm
R3=300 ohm, R4=500 ohm
The parallel equivalent resistor =49.180 ohm
b) Write a function parallel4Rs.m to calculate their parallel equivalent resistor The output should be like this
Parallel4Rs(100,200,300,500)Write a function file F2C.m that converts temperature in degrees Fahrenheit ( F^(@)) to deqrees Centigrade ( C^(@)). Use input and fprintf command to display a mix of text and numbers. Recall the conversion formulation, C=5//9^(**)(F-32)Write a function named fn.m for the function
f(x)=x52x+32(x2+1)3
The input of the function should be x and the output should be the calculated value f(x). Write the function so the x can be a number, vector, or matrix just as the sin function works
Matlab _ 2 scripts and Functions rfm _ lord

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!