
Code in text format...
clc;
clear;
theta = linspace(0,180,180/15 + 1);
P2 = (1/2)*(3*(cosd(theta)).^2 - 1);
P3 = (1/2)*(5*(cosd(theta)).^3 - 3*(cosd(theta)));
P5 = (1/8)*(63*(cosd(theta)).^5 - 70*(cosd(theta)).^3 +
15*(cosd(theta)));
G = 6.67 * 10 ^(-11);
M = 5.97 * 10 ^ (24);
a = 6378000;
N_theta = 10 * P2 + 20 * P3 + 10 * P5;
% Take care of brackets here
delta_theta = ((G * M)/a) * (10 * P2) + 2 * (20 * P3) + 4 * (10 *
P5) ;
plot(theta,N_theta);
title("N(\theta)");
figure;
plot(theta,delta_theta);
title("\delta(\theta)");
Output:-


In this equation delta_theta = ((G * M)/a) * (10 * P2) + 2 * (20 * P3) + 4 * (10 * P5) ; Kindly edit the brackets if needed as there is one less bracket in the document uploaded.
Please help me write a code for this in Matlab T = 1 millisecond Vm = 1 volt (amplitude voltage) t = linspace(-T, 2*T, 3001) The following pararameter is given v(t) = Vm - (Vm/T)t for 0<= t <= T 0 elsewhere I need to modify the vector v so that is represents a periodic function with a period T over this time period (hint: it should look like a sawtooth), and plot v vs t over the range from...
please do this problem in matlab and show me the code.
Thanks.
please do this problem in matlab and show me the code.
Thanks.
please do this problem in matlab and show me the code.
Thanks.
please do this problem in matlab and show me the code.
Thanks.
please do this problem in matlab and show me the code.
Thanks.please do this problem in matlab
and show me the code. Thanks.
please do this problem in matlab and show me...
A voltage source, Vs = 10cos (800t-30°) V, a 20 ohms resistor and a 50 mH inductor, are in series. Determine the amplitude of the maximum instantaneous power: a) Source generated b) Dissipated by the resistor c) Absorbed by the inductor.
4. Consider the matrix 0- 3 1 -2 1 4 (a) Use Matlab to determine the reduced row echelon form of A (b) If v, V2, vs, v4 are the column vectors of the matrix A, use your result from (a) to obtain a basis for the subspace of W-linsv1, V2, V3, V4. Write the basis in the box below
4. Consider the matrix 0- 3 1 -2 1 4 (a) Use Matlab to determine the reduced row echelon form...
what Are the trends for heart rate and pulse amplitude at rest vs. 0, 30, 60, and 120 sec after exercise during the recovery period? Should there be a difference in recovery rate for a hand exercise vs leg exercise?
can anyone help me solve these on MATLAB?? please
intro to programming and computation
3. 50 points - The purpose of this question is to test your ability to write for loops, so you won't get points if your answer works without using for loop. A vector is given by V - (5. 17. -3,8,0,-7. 12, 15, 20. -6, 6, 4.-7.16). Write a program as a script file that doubles the elements that are positive and raise to the power...
Simulate the I-V characteristics at three different temperatures: 0°C, 25°C, and 50°C. In MATLAB, for each temperature, separate the forward-bias data (V_d>0) from the reverse-bias ones (V_d<0). For the forward bias I-V characteristics, plot ln〖(I_d 〗) vs V_d of the three temperatures on the same graph. Include your plot here: If we define knee voltage as the voltage when ln〖(I_d)〗=0, find the knee voltages at different temperatures. How does the knee voltage change with temperature? Why does the temperature have...
For MATLAB users. Can you please type the answers for the MATLAB
sections.
Consider the RLC circuit where R - 5, C- 1, L- 4 and Vs - 8 1. Use circuit analysis laws to show that the resistor's voltage and induc- tor's voltage can be modelled as the system of ODEs Vi VL RC 2. Solve the eigenvalues and eigenvectors of the coefficient matrix in the system of ODEs. 3. Verify your answer for question (2) by using the...
Please help me solve this matlab question, I only have 30
minutes
Given an electric circuit, the application of the underlying laws leads to the following six equations: V - Ruiz - Raid = 0 -R12 + R, i + Rziz = 0 -Rei - Raiz + Rsis = 0 i=ith į tiz=is = it is istis=1 Use R= 1.5, R2 = 3, R; = 2.5, R2 = 6, R3 = 4 ko, and v = 150 V. (1 kg...
effectiveness vs adjScore effectiveness -150 50 0 50 100 150 adj Score The correlation coefficient between adjScore and effectiveness is closest to: 0.34765 -0.6971 -0.01381 0.98141 -0.98126 0.71452 -0.38553 The regression line slope between adjScore and effectiveness is closest to: -2.71087 -0.98818 0.03255 -0.01941 -0.77821 -0.10729 The regression line y-intercept is closest to: -382.56239 1.00713 -15.10783 -201.57208 8.85388 100.1878