photo

Akash Talapatra


Last seen: 7 mois il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


How could I get the value of Z from the cubic equation here in Jupyter Notebook?
import pandas as pd fluid_data='fluid.csv' df1=pd.read_csv(fluid_data) df1.head(6) binary_coef='binary.csv' df2=pd.read_csv...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


Why am I getting straight lines in the each plot instead of exponential curves?
clc clear load ore.txt; xx=size (ore,1) for k=1:xx G(k)=ore(k,1); R(k)=ore(k,2); end Gi=ore(1,1); Ri=ore(1,2); ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How could I plot moody diagram using this code?

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


What is the problem with that coding? Why it is showing that 'x' is unrecognized? I am new to learn matlab coding so frequently got stuck with coding.
x=10; for i=1:10 fn(1)=exp(-x(1)+x(2))-x(1)^2; fn(2)=sin(x(1))+cos(x(2)); x=x-fn(1)/fn(2) end

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


What is the problem here to run this code? Can I run this code without using fsolve?
function fn=ex_sys_n(x); fn(1)=exp(-x(1)+x(2))-x(1)^2; fn(2)=sin(x(1))+cos(x(2)); clc; clear all; fun=@(x) ex_sys_nl(x); x...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


I am having a problem to run this code. It may not seem stopped when run. What's the solution?
g = @(f) 1/sqrt(f) + 2 * log10((RR)/3.7 + 2.51/(Re * sqrt(f))); x_lower=0.008; x_upper=0.0001; x_mid=(x_lower* x_upper)/2; w...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


Why it is saying this? Index in position 2 is invalid. Array indices must be positive integers or logical values. Error in Homework (line 21) surf(x,y,F(i,j))
x=[-5:5] y=[-5:5] for i=1:(x-1); for j=1:(y-1); if (x(i)>=0)&(y(j)>=0) F(i,j)=2.*x(i)+y(j)^2 end if (x(i)>=0)&(y(...

presque 3 ans il y a | 1 réponse | 0

1

réponse