Community Profile

# esat gulhan

##### Last seen: 4 Tage ago
43 total contributions since 2019

View details...

Contributions in
View by

Question

How can i take ds/dx and ds/dy of a function numerically
I tried to take derivatives of s=-x^3+3*x*y^2 numericaly ds/dx=3*y^2-3*x^2 ds/dy=6*x*y I tried to gradient of s to find ds/dx...

17 Tage ago | 2 answers | 0

### 2

Question

How can i find P function which i have x and y derivatives.
My question is numerical dP/dx=[0 3.82 8.1; 0 3.59 7.74 ; 0 2.82 6.53] dP/dy=[-1 -1 -1;-4.82 -5.05 -5...

26 Tage ago | 0 answers | 0

### 0

Question

How to get rid of values from meshgrid
My code is below. I want to get rid of middle values of mesgrid which are very large. Nan maybe. Is there any way to get rid o...

etwa ein Monat ago | 1 answer | 0

### 1

2D steady state heat conduction equation using Jacobi iteration
Try this instead of BC; T(1:ny,ny)= 200+100*(sin(pi*y(:,1))) ; T(1:ny,1)= 200+100*y(:,1) T(nx,1:nx)= 200*x(1,:) ...

etwa ein Monat ago | 0

| accepted

Extract data from plot
Maybe like this clc;clear; x=[1 2 3 4 5]; %x data y =[2 4 6 8 10];%y data yy=6.5 % y value you intend to reach xx = interp1...

etwa ein Monat ago | 0

| accepted

How do I use quiver with an implicit differential equation?
Maybe like this syms S C c t y [T, Y] =meshgrid(-10:0.5:10,-10:0.5:10); S= ((2.*Y-T)./(2.*T-Y)) dT = ones(size(S)); %equat...

etwa ein Monat ago | 0

direction field and solution curve for differential equation.
Did you copy to code in a new blank script. It is not an extension of a code it is a new indepentend code. It must work. Impossı...

etwa ein Monat ago | 0

direction field and solution curve for differential equation.
Maybe like this if it works please accept the answer clc; clear; syms y(t) c sol = diff(y, t) == -t*y^3 %your equation con...

etwa ein Monat ago | 0

Fitting a nonlinear curve to a small dataset
x=[2.5 3.0 4.0 5.0 6.0 7.0]; y=[-14.741408 -14.765364 -15.854609 -16.058246 -16.103032 -16.595257]; s=pchip(x,y) %you can us...

etwa ein Monat ago | 1

Question

How can i simplify my equation
Is ther anyway to simplify equation uo=-C/r , i want to explain uo with r not x and y syms u uo ur v Q C x y r u=C*y/(x^2+y^...

etwa ein Monat ago | 1 answer | 0

### 1

Question

How can i solve P(x,y) with 2 equations of diff
Hi guys, . My problem is to find P(x,y), how can i find P(x,y) with this equations. I can accept with analtical as well as nume...

etwa ein Monat ago | 1 answer | 0

### 1

Question

How to find P(x,y) with diff
I am trying to solve this diff equation u=a*x+b v=-a*y+c*x p=1 -dP/dy=(u*dv/dx+v*dv/dy)*p -dP/dx=(u*du/dx+v*du/dy)*p I wan...

etwa ein Monat ago | 0 answers | 0

### 0

Question

How to solve stream function
I am trying to get stream function which expressed as s(x,y) ds/dy=u=0.5+1.2.*x; ds/dx=v=-2-1.2*y; clc,clear; syms s(x,y) x ...

etwa ein Monat ago | 1 answer | 0

### 1

Question

I can not plot values
When i try to plot results, plot is blank. I want to plot this a line. syms Frx B m V1 V2 P1g P2g Frz alfa1 alfa2 A1 V M Degr...

etwa ein Monat ago | 1 answer | 0

### 1

Question

How to add slicer to the plot with time steps
Hi I want to control my graph with time steps. I wish , if i chage slider, my 2D graph changes with time. Time step is 0 to 20 ...

etwa 2 Monate ago | 0 answers | 0

### 0

Ignoring a set of values
Try this close all clear all syms t b r; %Profit equation P = (200+b*t)*(0.65-0.01*r*t+0.00004*t^2)-0.45*t; %Best time to ...

etwa 2 Monate ago | 0

| accepted

Generating a function using an array
Hi can you try this clear all;clc; x=[ 0 0.3142 0.6283 0.9425 1.2566 1.5708 1.8850 2.1991 2.5133 2.8274 3.141 3....

etwa 2 Monate ago | 0

Generating a function using an array
maybe like this. if you send data it can be easier to choose the way of function. I used sin data and choose pchip. x=[ 0 0.3...

etwa 2 Monate ago | 0

Question

Why while end error does not work in my code??
clear clc L=0.02;H=40;dx=0.01;dy=dx;dt=15 nx=uint32(L/dx+1);ny=uint32(H/dy+1);rx=dt/dx^2;ry=dt/dy^2; k=28;alfa=12.5*10^-6;g=5...

etwa 2 Monate ago | 1 answer | 0

### 1

Find optimum value to fit with the answer
Can it be like this, if you want to find value if final>100 clc;clear; syms x y t k f m x=10; y=20; k=x+y; f=20; m=10; f...

etwa 2 Monate ago | 0

| accepted

Question

How to stop my iteration Tn(j,i)=Tn+1(j,i)
clear clc dx=0.5 nx=uint32(5/dx+1) ny=uint32(5/dx+1) [X Y]=meshgrid(linspace(0,5,nx),linspace(0,5,ny)) Tint=0 T=Tint*ones(...

etwa 2 Monate ago | 1 answer | 0

### 1

Question

How to show results of for end values as a vector.
Is there any way to represent results of for end as a vector. for example for h0=0:1:2 h=h0*2 end results ans h = ...

etwa 2 Monate ago | 1 answer | 0

### 1

How to calculate area between curve and horizontal line?
Did you see my second answer. I think it helps. If you add pause to the code it will seem like an animation. clc;clear; x = ...

2 Monate ago | 0

How to calculate area between curve and horizontal line?
clc;clear; x = [ 0 1 2 3 4 5 6 7 8 9 10 11 12]; y = [0 -0.5 -0.8 -0.8 -1 -1.1 -1.2 -1.2 -1.4 -1.2 -1.1 -1 0]; h0= -0.5; %the ...

2 Monate ago | 2

| accepted

How to calculate area between curve and horizontal line?
x = [ 0 1 2 3 4 5 6 7 8 9 10 11 12] y = -[0 -0.5 -0.8 -0.8 -1 -1.1 -1.2 -1.2 -1.4 -1.2 -1.1 -1 0] Int=pchip(x,y) plot(x,ppval...

2 Monate ago | 0

Question

How to find my ode45 equation in specific h
syms D g H Do tspan = [0 120]; mgiren=0 Do=3; D=2/10; h0=h; g=9.81; y0 = 2; ySol= ode45(@(t,h)(mgiren-(pi()*D^2/4*(2*g*...

2 Monate ago | 1 answer | 0

### 1

Question

empty sym error, how to solve
syms P1 P2 V1 V2 z1 z2 g p debi Wpump Wturb Eloss Wpumpshaft npump nturb alfa1 alfa2 g=9.807 p=1000 V1=0 z1=0 alfa1=1...

2 Monate ago | 1 answer | 0

### 1

Question

How can i solve and plot this problem
syms D Do g H(t) t Do=10 D=0.1 g=9.81; eq=diff(H,t)==pi()*D^2/4*(2*g*H)^0.5/(pi()*Do^2/4); cond=H(0)==2; h(t)=dsolve(eq...

2 Monate ago | 1 answer | 0

### 1

How to solve Leibnitz equation
Smart way, thanks

2 Monate ago | 0

Question

How to solve Leibnitz equation
This equation is one dimensionel leibnitz equation. How can i solve this problem. I tried int(exp(-x^2),x) but it is wrong way...

2 Monate ago | 2 answers | 0