ఉత్తమ బాలసాహిత్యం మరింత వెలువడటానికి తద్వారా శీలవంతమైన సమాజనిర్మాణానికి, పటిష్టమైన కుటుంబ వ్యవస్థకు ఈ సభలు దోహదం చేయాలని ఆకాంక్షిస్తూ.. విజయవాడకు స్వాగతం 11,12 జూలై 2026 9440167697 9440330500
%%100_working code for Steepest Descent iterative algo for finding %%solution of Ax=b, where A is symmetric Positive definite %%written by vikram bhayyA on 18-6-26 ~14:37-14:42 %%general. clc clear all A=input( 'enter a Symmetric Positive Definite matrix:' ); %A=[4,1,1;1,3,-1;1,-1,3]; %has to be symmetric Positve definite [m,n]=size(A); n b=input( 'enter the output vector of size n,1:' ); %b=[6,3 3]'; %x0=zeros(n,1); x0=[1 -1 0]'; %x0=[0 0 0]' ; % initial guess %initialize r0=b-A*x0; %residual if norm(r0)<0.01 display( 'solution of Ax=b is' ) x0 else %p0=r0; %search direction k=1; while (k) alpha0=(r0'*r0)/(r0'*A*r0); %step size x1=x0+alpha0*r0; %update x1 r1=b-(A*x1)...
%%100_working code for conjugate gradient iterative algo for finding %%solution of Ax=b, where A is symmetric Positive definite %%written by vikram bhayyA on 18-6-26 ~13:19-13:59 %%general clc clear all A=input( 'enter a Symmetric Positive Definite matrix:' ); %A=[4,1,1;1,3,-1;1,-1,3]; %has to be symmetric Positve definite [m,n]=size(A); n b=input( 'enter the output vector of size n,1:' ); %b=[6,3 3]'; %x0=zeros(n,1); x0=[1 -1 0]'; %x0=[0 0 0]' ; % initial guess %initialize r0=b-A*x0; %residual if norm(r0)<0.1 display( 'solution of Ax=b is:' ) x0 ...
// Online C compiler to run C program online #include <stdio.h> void main() { struct bookz { int nop; char name; float price; }b1,b2; printf("\n enter name of the book:"); scanf("%c",& b1.name ); printf("\n enter no of pages:"); scanf("%d",&b1.nop); printf("\n enter PRICE OF book:"); scanf("%f",&b1.price); printf("\n enter name of the book:"); scanf("%c",& b2.name ); printf("\n enter no of pages:"); scanf("%d",&b2.nop); printf("\n enter PRICE OF book:"); scanf("%f",&b2.price); printf("\n name of the book:%c", b1.name ); printf("\n no of pages:%d",b1.nop); printf("\n price:%f",b1.price); printf("\n \n name of the book:%c", b2.name ); printf("\n no of pages:%d",b2.nop); pr...
కామెంట్లు
కామెంట్ను పోస్ట్ చేయండి
దయచేసి మీ సలహాలను సూచనలను స్పష్టంగా పేర్కొనగలరు. plz see that ur comments are 'acceptable' in a value based society.