blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
86e0cbf80e8e285ba3c2304634e82b4eb76cfc28 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/m_circle.man.tst | a3131f915c3cea995beb695998c9074201a1726c | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | tst | m_circle.man.tst | clear;lines(0);
//Example 1 :
s=poly(0,'s')
h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01))
nyquist(h,0.01,100,'(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01)')
m_circle();
//Example 2:
xbasc();
h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
nyquist([h1;h],0.01,100,['h1';'h']... |
36f9eb51996b120388a129f1fe3a484397c9ba06 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rms/rms2.sce | 9880e1570e30245c6d7d27b46908bbe9c2539836 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | rms2.sce | //check o/p when i/p is a sinusoid
t = 0:0.001:1-0.001;
pi=3.14;
X = cos(2*pi*100*t);
Y = rms(X);
disp(Y);
//output
//
// 0.7069966
|
a2ae3a36532221d1c92f15080f8a6f8adfc487c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH15/EX15.1/15_1.sce | 7872973c5a2f48150b64f74aa8ce5494221ddedc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | 15_1.sce | clc
//initialisation of variables
m2= 50 //gms
M= 46 //gms
m1= 50 //gms
M1= 18 //gms
v1= 17402 //cm^3/kmol
v2= 56090 //cm^3/kmol
//CALCULATIONS
x2= (m2/M)/((m2/M)+(m1/M1))
V= (v1*(m1/M1)+v2*(m2/M))*10^-3
//RESULTS
printf (' volume of the phase= %.1f cm^3',V)
|
5a036f4b7c7ba5ab7765ad383ec137ced435a575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH15/EX15.11/15_11.sce | 6e11bab9a311eb438bc9ae50ed90838d05d90d4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 15_11.sce | //ques-15.11
//Calculating total pressure to be applied
clc
//N2/H2 = 1/3
a=1;//moles of N2
b=3;//moles of H2
Kp=1.64*10^-4;//equilibrium constant (in atm^-2)
c=10/100;//content of ammonia
//c = (2*x)/(4-2*x)
x=0.4/2.2;
Z=(16*x^2*(2-x)^2)/(27*Kp*(1-x)^4);
P=sqrt(Z);//pressure
printf("Pressure to be applied ... |
a88de68c868ac982d78e7ef084c8b4c8675a32da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH10/EX10.10/Ex10_10.sce | 640ec7f0bbcef09fce52da1a03220ee0d400ec86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ex10_10.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 10 Feedback in Amplifiers Pg no. 343 and 344
clear;
clc;
//Given
//Figure 10.16
RD=4.7D3;//drain resistance in ohms
Rs=1D3;//source resistance in ohms
RF=15D3;//feedback resistance in ohms
gm=5D-3;//transconductance in Siemens
//Solution
A=-gm*RD;//open... |
3e0d79069d401ace340905c310915ca49477523e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.2.c/ex_2_7_2_c.sce | 1ac7d2159bcc13baef55eb05996d8366c00f3839 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | ex_2_7_2_c.sce | //Example 2.7.2.c://standard deviation
clc;
clear;
format('v',6)
q=[101.2,101.4,101.7,101.3,101.3,101.2,101.0,101.3,101.5,101.1];//
AM= mean(q);//arithematic mean in mm
for i= 1:10
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10)];//
SD=stdev(Q);//standard deviation
disp(SD,"sta... |
11520bf97820b9ca2c945639629a4b1d7ae12d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.55/Ex13_55.sce | 9467e9fed7627acfc1f67b58f17ce1a9f1ddf29a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | Ex13_55.sce | //EX13_55 Pg-31
clc
clear
printf("7''s complement of (612)_8 = ")
x=['612']
y=oct2dec(x)
z=bitcmp(y,8)
a=dec2oct(z)
printf("%s\n",a)
|
2e62436ced60863f0923203abb31e83c90e172f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH3/EX3.3/3_3.sce | dd5a29ca20493aa3e7d834b936e3f137b2cf60c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | 3_3.sce |
clc
//Given
OC=6//in
CP=24//in
N=240//rpm
X=45//degrees
XP=19//in
XC=6//in
YP=32//in
YC=9//in
//Scalling off lenghts from fig , we have
CI=2.77//in
PI=2.33//in
XI=2.33//in
YI=3.48//in
//Solution
Vc=((%pi*N)/30)*(OC/12)//changing OP into feets
printf("\nw=%.2f ft/s\n",Vc)
//w=Vc/CI=Vp/PI=Vx/XI=Vy/YI
... |
eecb711a70d10cf00d575d8bfa538aadda9a2a49 | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP7/constrpoly.sci | a5c3c94aaf95f9cffdde4af4d5dac647d1c9ec4c | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | constrpoly.sci | function [A] = constrpoly(t)
[m] = size(t,1);
A = zeros(m,3);
A(:,1) = ones(m,1);
A(:,2) = t;
A(:,3) = t.*t;
endfunction
|
419654b578fecb7a1fb3c6a18e1d5f45f7aabe93 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/impzlength/impzlength9.sce | 0197822031a27695176a530acf7aab488b1e2be8 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | impzlength9.sce | //no i/p args are passed to the function
clear;
clc;
len=impzlength();
//output
//!--error 4
//Undefined variable: b
//at line 48 of function impzlength called by :
//len=impzlength();
|
35799a5a61f4b9fe22782dd767322a21c3648c77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH14/EX14.19/14_19.sce | ea969288c45f0a84d04de29f9e4cfeec29c88676 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,300 | sce | 14_19.sce | clear;
clc;
Rk=500;fc=4000;fi=5000; //fi=frequency at which infinite attenuation occurs
L0=Rk/(%pi*fc);
C0=1/(%pi*fc*Rk);
printf("The elements of the constant-K L.P. are:\n");
printf(" L = %f mH\n",round(L0*(10^4))/10);
printf(" C = %f microfarads\n\n",round(C0*(10^9))/1000);
m1=sqrt(1-((fc/fi)^2));
L1=m1*L0... |
25028b33fca8079df99001d4913eaaf681f171ab | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/vs/testAsserVisuMain.sce | ffc82599cdcb241d56a120d0ba7b38112e45af6f | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,066 | sce | testAsserVisuMain.sce | //--------------------------------------------------//
// main program
//
// author Claire Dune
// date 24/01/2010
// ;exec('testAsserVisuTous.sce');
//--------------------------------------------------//
clear
// ------ Describe the problem
cFinalMo_out = [0 0 1 0 0 0]; // desired pose target/object ... |
f5e6033c794d2e44641bd8ce253c66c51603a3a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.24/24.sce | ea001bf98037488b2664a911fa6e2685d7ccc6a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | 24.sce | clc
// Given that
lambda = 5890 // Wavelength in angstrom
i = 45 // Angle of incidence in degree
mu = 1.33 // Refractive index of soap film
n = 1 // order
// Sample Problem 24 on page no. 100
printf("\n # PROBLEM 24 # \n")
printf("\n Standard formula used \n 2*mu*t*cos(r) = n*lambda\n")
r = asin(sin(45*%pi/1... |
ab9979a74bcba9be6b1e6e4e03ac75b654d958f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH3/EX3.3/3_3.sce | f5772db0845e8a8cd25af13df36a7c672fb5778a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | 3_3.sce | clc
//ex3.3
C=10*10^-6;
t_1=[0:0.001:1];
t_2=[1.001:0.001:3];
t_3=[3.001:0.001:5];
t=[t_1,t_2,t_3];
//voltage variations
V_1=1000*t_1;
V_2=0*t_2+1000;
V_3=500*(5-t_3);
//current i=C*dv/dt, for above equations we get
i_1=C*(0*t_1+1000);
i_2=C*(0*t_2);
i_3=C*(0*t_3-500);
i=[i_1,i_2,i_3];
//power delivered... |
cd35fa98a4e093be8ab79e412eae2379772c6f75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH8/EX8.4/Ex8_4.sce | 7bf00c03b1a56a7ca3d5d2890235fe06ba31e5a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | Ex8_4.sce | clc;
//page 447
//problem 8.4
//Given bandwidth of signal is fM = 60 kHZ
fM = 60*10^3;
//Given power spectral density of white noise n = 2*10^-6 W/Hz
n = 2*10^-6;
//Given time average of square of mssg signal P = 0.1W
P = 0.1;
//Noise power at input baseband range NM
NM = n * fM;
//Threshold occurs... |
6d74ce2913fc306459998094a93d7b41e06b7ea0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH9/EX9.3/exm9_3.sci | 6665a2942b5c6b2de007042d2d118ab79c01e16d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sci | exm9_3.sci | // Example 9.3
//Modify Example 9.2's function value() to return result and extend versatility of the function
//printline by taking the lenth of line as an argument
function []=printline(ch,len)
for i=1:len
printf("%c",ch);
end
printf("\n");
endfunction
function [amount... |
7af6afd07b31dc52393a3858eb89c120a8579c35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH2/EX2.17.c/example217c.sce | ef8b994c6bf1913370d6a8f125611a524a3d3e6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | example217c.sce | //Example 2.17c
clc;
disp(' y[n]=x[-n] ');
disp('THE GIVEN SYSTEM IS NON-CAUSAL');
disp('Since the value of output depends on future input'); |
b3c3c068bf1e4a3eb04f25dad5fe50c788b3748f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH23/EX23.31.1/Ex23_1.sce | 6cdd8afb462f13b9c2afa51ca3844d4f5ba6e602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex23_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 23 Lasers,Fibre Optics,and Holography
clc
clear
y=630*10^(-9)//y=emitted wavelength in meters
c=3*10^8//c=velocity of light in free space in m/s
v=c/y//v=frequency of the emitted radiation
format("v",9)
disp("The frequency of the emitted radiation is")
dis... |
25ea2f7545c364078fd868e88eed52b62c983c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.23/ex3_23.sce | 4bc3bb02d1600197a0388a55ab1eb34cb773f64d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | ex3_23.sce | // Exa 3.23
format('v',5);clc;clear;close;
// Given data
I = 100;// in mA
Im = 1;// in mA
Rm = 25;// in ohm
// m = I/Im = 1 + Rm/Rsh;
Rsh = Rm/((I/Im) - 1);// in ohm
del_t = 10;// in °C
Alpha_c = 0.004;
Alpha_m = 0.00015;
// When temperature increase by 10 °C
R_m = Rm * ( 1 + (Alpha_c*del_t) );// in ohm
R_... |
c69706c024c7d0a5e0f7d7da810c7cae10f1c548 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.2/6_2.sce | 91eb0f63b4772f520150dbe9142c2ab9ea003748 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,003 | sce | 6_2.sce | //example 6.2
//numerical diffrentiation by newton's difference formula
//page 211
clc;clear;close
x=[1.0 1.2 1.4 1.6 1.8 2.0 2.2];
y=[2.7183 3.3201 4.0552 4.9530 6.0496 7.3891 9.0250];
c=1;
for i=1:6
d1(c)=y(i+1)-y(i);
c=c+1;
end
c=1;
for i=1:5
d2(c)=d1(i+1)-d1(i);
c=c+1;
end
c=1;
for... |
6dd8488ecffd49aa17cacf52ec958e1c9585c3d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH10/EX10.2/10_2.sce | 5bfb80f00fc6f4c542eb60d8f7b952e7564c1bc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | 10_2.sce | //To calculate the divergence
a2 = 6; //spot diameter, mm
a2 = a2*10^-3; //spot diameter, m
a1 = 4; //spot diameter, mm
a1 = a1*10^-3; //spot diameter, m
d2 = 2; //distance from laser, m
d1 = 1; //distance from laser, m
theta = (a2-a1)/(2*(d2-d1)); //divergence, radian
theta = theta*10^... |
37428dfe5dbdfd77a266b98ec662458d3b71ce15 | cb85e23a93890cfe63382a9e043a178c7058cd4d | /predictor_INP.sce | 570226826a5679cf75daf7f448346d7934f47fae | [] | no_license | FINESCE/INP-SCILAB | ae06d33a4e159c6bc154700f5c7b88759caf6004 | 0006a42b67e269d7ce28729dba870306d564bcf5 | refs/heads/master | 2016-08-06T21:46:16.111774 | 2015-07-15T10:39:06 | 2015-07-15T10:39:06 | 37,849,688 | 1 | 1 | null | 2015-07-15T10:39:07 | 2015-06-22T10:35:26 | Scilab | UTF-8 | Scilab | false | false | 16,131 | sce | predictor_INP.sce | //Copyright [2015] [FINESCE Consortium]
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed t... |
0a25bb164ed60bfc274a750307b8e890b944b6dc | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.16/Ex8_16.sce | 4ba0fd577e052e0d120972de1d42ed40bc05416a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,353 | sce | Ex8_16.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 16
disp("CHAPTER 8");
disp("EXAMPLE 16");
//4 pole 250 V shunt motor
//VARIABLE INITIALIZATION
v_t=250; //in Volts
P=4; //number of poles
Z=500; //number of conductors
r_a=0.25; //in Ohms
r_f=12... |
e6f8a07a5399bb3e574dd7154dd8a87d62933ee4 | 633905af91211d12b692a9e45a2f8ea3feaf8de4 | /Bhopali Raag.sce | e588e13533811d0ba161cc707af6e449fcda6933 | [] | no_license | arhankundu99/Bhopali-Raag-Scilab | 818321cbb844fa083838b15efa417e58cbef0045 | 0e6c186f855872c946f2fbc18a2e12dc865665c7 | refs/heads/master | 2021-04-16T19:01:48.001044 | 2020-03-23T13:04:25 | 2020-03-23T13:04:25 | 249,377,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | Bhopali Raag.sce | clear all; //Clears all variable
Fs=16000;//Sampling frequency
N=1:8000;//Total number of samples for each tone
frequencyMatrix=[240 270 303.75 360 405 480];
result_signal=[];
for i = 1:6//for loop corresponding to Aroha
Frequency=frequencyMatrix(i);
signal=sin(2*%pi*Frequency*N/Fs);//The signal corresponding ... |
b0f029ea34efd3d568b09a806aa844c060f41fae | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/HE17PXC/ATWM1_Working_Memory_MEG_HE17PXC_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 5c2f172955f3114185c170d950eaace16dfd3969 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
a482cc82418f138a17695a6b40bda780a0d12f31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH4/EX4.9/Ex4_9.sce | b7f56768de83cfe4b6f3ecb7c3104291e62706ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | Ex4_9.sce | //problem 9 pagenumber 4.42
//given
n=5;
//determine resolution
r=1/(2^n-1)*100;format(6);
disp('Resolution in percent = '+string(r)+'%');
|
53c43134a11326c265add1871d0b994fc80b5824 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH20/EX20.2/Ex20_2.sce | fcf54f1917f9e9739d9da92498ce6abfc7af3749 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | Ex20_2.sce |
clc;
D=60; //I^2*t(rated) value
Is=100;
tmax=(D)/(Is)^2;
disp('ms',tmax*1000,"tmax=");//The answers vary due to round off error
|
0d58da6dae2f2993e7078f9c5eab4157148b65d0 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH2/EX2.22/Ex2_22.sce | 75667b7b1742abebb30265f733b8124ba2f9c7b7 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Ex2_22.sce | errcatch(-1,"stop");mode(2);//pagenumber 115 example 22
dopfac=1000;
w=300;//kelvin
q=0.026*log(dopfac);
disp("change in barrier = "+string((q))+"volt");
exit();
|
ec2b30c38f3e8ff9c9b1543cbd7c9a126dd325ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH9/EX9.5/ex9_5.sce | 279c54aa3dfe10d0a44e226c215ad6dfe50947be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | ex9_5.sce | // Exa 9.5
clc;
clear;
close;
// Given data
scale= 2;// in µS/cm
gh= 4.6;//amplitude of the graph in cm
T_PQ= gh*scale;// in mV
disp(T_PQ,"The pulse width of the waveform in µs is : ")
|
62d6f37b2748fd9262df7d5a5f8d960c370bbf11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.11.9/Ex1_11_9.sce | c26d9a5e62df91e98c8ab3cb808659dab160204a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex1_11_9.sce | //Ex 1.11.9
clc;clear;close;
format('v',7);
//Given :
rho=9.6*10^-2;//ohm-m
mu_n=1300*10^-4;//m^2/V-s
sigma_n=1/rho;//(ohm-cm)^-1
TotalAtoms=5*10^28;//per m^3
q=1.6*10^-19;//Coulomb
ND=sigma_n/mu_n/q;//per m^3
ratio=ND/TotalAtoms;
disp(ratio,"Ratio of doner atom to Si atom per unit volume : ");
|
860cf89988563d4f136e0dbd48cb6d05f5ea0c0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH13/EX13.12/Ex13_12.sce | de4340b1ed7d82503e497e2fbb310dd84ff17ea1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex13_12.sce | //chapter13
//example13.12
//page286
R1=150 // kilo ohm
R2=20 // kilo ohm
Re=2.2 // kilo ohm
Rc=12 // kilo ohm
Vcc=20 // V
Vbe=0.7 // V
V2=Vcc*R2/(R1+R2) // voltage across R2
Ve=V2-Vbe // voltage across Re
Ie=Ve/Re
re_dash=1d-3*25/Ie // in kilo ohm
Av=Rc/re_dash
printf("voltage gain = %.3f \n",Av)
... |
fb4496a6ea525d60fce7d3f7881d110a3409eb97 | bae725b750433ba5d58470784eeb87687023da7e | /macros/Lyap_R.sci | 9d9f6fdfee4606e884d096fb59682c770770ca3b | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,896 | sci | Lyap_R.sci | function [NmrIti,L,Lest,err]=Lyap_R(orbit,NbrIti,Dim,Delai,MinEps, WinOmi, NbrTimeIti,DoEstim);
Commandline='';
Lest=[];
err=[];
if ~isdef('DoEstim','local')...
then DoEstim=%F,
end;
if isdef('NbrIti','local')...
then Commandline=Commandline+' -l'+string(NbrIti),
end;
if isdef('Dim','local')...
then Comman... |
8b1b487734867427f8a6873b3cba81ddb897e8ff | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/PlotFrame.sci | 363206b8b8c4e486ebaf14681cc308f42ffa70e9 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 6,037 | sci | PlotFrame.sci | // PlotFrame.sci plot a chain of coordinate frame
// www.controlsystemslab.com August 2012
function plotframe(kc,varargin)
if argn(2)==0
PlotFrameHelp();
else
_Plot_Frame(kc,varargin);
end
endfunction
function PlotFrame(kc, varargin)
if argn(2)==0
PlotFrameHel... |
d29a38bbf41987cc11b4b80f549719f513cebf84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH1/EX1.18/example_18.sce | 03b5e400332749fa75d6d827600d7d705c78b93c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | example_18.sce | clc
clear
printf('example 1.18 page number 53\n\n')
//to find error in actual data and nomographic chat value
//for my
ly = 8 //in cm
my = ly/((1/0.25) - (1/0.5));
lz = 10.15 //in cm
mz = lz/((1/2.85) - (1/6.76));
mx = (my*mz)/(my+mz);
printf("mx = %f cm\n",mx)
err = ((1-0.9945)/0.9945)*100;
printf... |
c6a1d1db19d93e5a4d2e0be098c2f40a8c018700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH3/EX3.23/q23.sce | 080c55602e7bcc70ae5345fc3d030c45895169ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | q23.sce | s=%s;
syms k;
num=k;
den=s*(s^2+8*s+32);
t=syslin('c',num,den);
clf;
evans(t)
|
cb91acf9608d9c674f82b28bbd881afe08e080cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.1.C/EX3_1_c.sce | b1237874f8c1e7ab08669d6343260cf3f65a818b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | sce | EX3_1_c.sce | //EXAMPLE 3.1.C
clc;
Syms s t
laplace(exp(-3*t),t,s)
|
97468a2f1daed30c24c8dda8fc05208b387510e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH7/EX7.2/Ex7_2.sce | 053f02a72ec5a93030e0d2610e518816eac03d98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Ex7_2.sce | //Chapter 7: Loop, Slot and Horn Antennas
//Example 7-8.2
clc;
//Variable Initialization
Rr = 197.0 //Self resistance of loop (ohm)
Rm = 157.0 //Mutual resistance of two loops (ohm)
theta = 2*%pi/10 //Angle of radiation (radians)
//Calculation
D = 1.5*(2*sqrt(Rr/(Rr-Rm))*sin(theta))**2 //Directivity (un... |
37d100544de47c18a38770828ac5a6316131ff6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH21/EX21.3/example3_sce.sce | 363cdf072b142ec85c15e0256a34a3a4115a6ef0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | example3_sce.sce | //chapter 21
//example 21.3
//page 951
printf("\n")
printf("given")
Vcc=9;Vf=1.6;Vb=7;hFE=100;Vce=.2;Ic=10*10^-3;Vbe=.7;
R2=(Vcc-Vf-Vce)/Ic
R2=680;//use standard value
Ic=(Vcc-Vf-Vce)/R2
Ib=Ic/hFE
Rb=(Vb-Vbe)/Ib |
69b4b1bb7bb7b2d136340fc955d6f354b418c11f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH8/EX8.6/EX8_6.sce | 1a90e57b49563f107fe703e479893f46a162661e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,581 | sce | EX8_6.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 8 ; Example 8.6
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
Vp = [277; 260*(cos(-120*%pi/180)+%i*sin(-120*%pi/180)); 295*(cos(115*%pi/180)+%i*sin(115*%pi/180))]; /... |
8ac077b52dbf6292cbd43c624e8b2499ba7eef37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH10/EX10.2/Ex10_2.sce | a68ca8439da52be9224ee8440ab4359d0539aaf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,900 | sce | Ex10_2.sce |
// Variable Declaration
P = 75.0 //Power(kW)
cost_plant = 3000.0 //Cost of plant(Rs/kW)
cost_td = 30.0*10**5 //Cost of transmission & distribution(Rs)
interest = 0.15 //Interest,insurance charges(/annum)
depreciation = 0.05 //Depreciation(/annum)
cost_fix_mt = 4.0*10**5 //Fixed mainta... |
12b8f26894ee79933bdc052fa30f182b2c55439e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH19/EX19.19/Ex19_19.sce | 3e9097c59d9fc1eacde85ac57d8ffb5cd47bffbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex19_19.sce | //Initilization of variables
F=10 //lb
v=20 //in/s
g=386 //in/s
W=12 //lb
k=20 //lb/in
//Calculations
//Coefficient of damping
c=F/v //lb-s/in
//Natural Frequency
wn=sqrt((k*g)/W) //rad/s
//Critical Damping coefficient
cr=(2*W/g)*wn //lb-s/in
//Damping Coefficient
d=c/cr
//Frequency of damped vibrations
... |
696cb981cc76cf930af53ee6a82484dadb62c04b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.22/7_22.sce | 17767feb9593061dd9a0226e24e1f3536d07b8fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | 7_22.sce | clc,clear
printf('Example 7.22\n\n')
//subscript 1 refers to load 1
I_1=18
phi_1=acos(0.8)
V_L=440
S_1=sqrt(3)*I_1*V_L /1000 //kVA for load 1
P_1=S_1*cos(phi_1)
Q_1=S_1*sin(phi_1)
P_out=6
eta_motor=88/100
P_2=P_out/eta_motor
P_T=P_1+P_2
phi_T=acos(1) //total power factor angle
Q_T=P_T*tan(phi_T)
... |
1652b45fedf3e7ddbfbf7a2aefb07c2d660869c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH3/EX3.14/Ch03Ex14.sce | 93ce01b306d030fda76c91b82cf04d5ba31e646e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,743 | sce | Ch03Ex14.sce | // Scilab Code Ex3.12: Page-93 (2006)
clc; clear;
Lu = cell(6,5); // Declare a matrix of 6X5
Lu(1,1).entries = 0;
Lu(1,2).entries = 5.58;
Lu(1,3).entries = 3.517;
Lu(1,5).entries = 0.750;
Lu(2,1).entries = 36;
Lu(2,2).entries = 5.409;
Lu(2,3).entries = 3.440;
Lu(2,5).entries = 0.560;
Lu(3,1).entries = 103;
... |
79fb8bc4a909f468158d5925c6c8d84e4b12c751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH6/EX6.12/Ex6_12.sce | f6d9393d9f9ed6b9f7f02cac9fc366d5bdae5d83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex6_12.sce | //page 210
//Example 6.12
clc;
clear;
close;
A = round(rand(3,3) * 10);
disp(A,'A = ');
disp('A transpose is:');
disp(A','A'' = ');
if A' == A then
disp('Since, A'' = A, A is a symmetric matrix.');
else
disp('Since, A'' is not equal to A, A is not a symmetric matrix.');
end
if A' == -A then
d... |
dc9517e2642a7e736d88927d49f1f4bee7594e5b | 10b625bb4f968cf83298dd40b285b6f15ab4354f | /Valaquio_Lab9.sce | cd43e651e57a85b849955c1c29d3915be42e0fd4 | [] | no_license | edvalaquio/SciLabProjects | 885b1493b1368bbdccd671a58fba6ead6da9bca1 | aa8efd42ca65d4779376e2ccaf132fd75713fe7f | refs/heads/master | 2021-09-14T20:03:14.736024 | 2018-05-18T10:42:59 | 2018-05-18T10:42:59 | 131,813,353 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,802 | sce | Valaquio_Lab9.sce | function matrix = computeMatrix(mat)
numRows = size(mat, 1)
for i = 1:1:numRows
if(mat(i, i) == 0 & i < numRows) then
mat([i, i+1], :) = mat([i+1, i], :)
end
if(mat(i, i) <> 1) then
mat(i, :) = mat(i, :)/mat(i, i)
end
prevNext = [1:(i-1) (i+1):numRows]
mat(prevNext, :) = (-mat(prevNext, i)... |
3a8f82de2d3135fecb911e3fd6ee7b735c3bb317 | 9c56678e62b7b8200d1d54c7b1462db3010168c5 | /scilab_proj/proj_1.sce | b355eeaaa4fe0a6ee34fa43f0c317d817c98fd89 | [] | no_license | rajroshansharma/scilab_project | 5a6b91215bd6d1c4abf652bb440dc6558b3ca607 | b80d3dcb9eef67f0755e05adbef4a7fa3c333afa | refs/heads/master | 2022-11-07T06:40:16.372703 | 2020-06-26T06:23:31 | 2020-06-26T06:23:31 | 275,082,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | proj_1.sce | ar1 = [0,2,3,6];
ar2 = [648,704,729,792];
j=1;
for i = 1:i<=length(ar1)-1
a(i)(j) = (ar2(i+1) - ar2(i)/(ar1(i+1) - ar1(i));
end
//for j = 1:j<=length(ar1)-1:j++
// disp(a[i]);
//end
//ay0 = (ar2(2) - ar2(1))/(ar1(2) - ar1(1));
//ay1 = (ar2(3) - ar2(2))/(ar1(3) - ar1(2));
//ay2 = (ar2(4) - ar2(3))/(a... |
16c51c96fc954de8e231a2cf4496969a65d808b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.3/Ex5_3.sce | a088f27db7747d2f3f8ffa3f6b8a89007271ea2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Ex5_3.sce | clear
//given
//find the total weight of a given temperature and velocity
//
v=9500.
p=5.
t=180.
V=v/(12.**3)
//normal barometric pressure 14.7
bP=p+14.7
bP1=144.*bP
//640 is total temperature conveting into k
W=(bP1*V)/(53.3*640.)
printf("\n \n total weight %.2f ",W)
|
09a20628a184394fe619d985366deecf24222f54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH13/EX13.7/13_7.sci | ee1e06139c1933a5da476d7d23fdcf8319f10b88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sci | 13_7.sci | clc();
clear;
//To calculate the mean optical power launched into a fibre
S=2; //signal attenuation per km
l=1; //length in km.Since l=1 S=2
//S=10*log(pi/p0)(or)pi/p0=10^(S/10)
p0=20; //mean optical power at fibre output
pi=p0*10^(S/10) //mean opti... |
c496303cfac97603f787bc430911f178f8984e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.22/Ex5_22.sce | 756233f570571366bb66e34fd4697c3005af4a41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 901 | sce | Ex5_22.sce | clear;
clc;
disp('Example 5.22');
// aim : To determine the
// (a) new pressure of the air in the receiver
// (b) specific enthalpy of air at 15 C
// Given values
V1 = .85;// [m^3]
T1 = 15+273;// [K]
P1 = 275;// pressure,[kN/m^2]
m = 1.7;// [kg]
cp = 1.005;// [kJ/kg*K]
cv = .715;// [kJ/kg*K]
... |
97c2cfaa720bcf1b905196ebdd8469fd2ef4c5b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH5/EX5.6/Ex5_6.sce | 90ed84b2b90e62749bf8f93d63bb9f192208c657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,083 | sce | Ex5_6.sce | //chapter 5
//example 5.6
//Calculate wavelength for photon and electron
//page 105
clear;
clc;
//given
E=1000; // in eV (Kinetic energy of photon)
K=1000; // in eV (Kinetic energy of electron)
m0=9.1E-31; // in Kg (mass of electron)
h=6.6E-34; // in J-s (Planck's constant)
c=3E8; // in m/s (velocity of ligh... |
5e769f3940ceb4d26593a081f0e0f4cc98a4bf5a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Sparky Comp 37 - Treasure Hunt.sce | 0409e417e5f0c57722678650e390af36ab4a3714 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54,340 | sce | Sparky Comp 37 - Treasure Hunt.sce | Name=Sparky Comp 37 - Treasure Hunt
PlayerCharacters=Rocket Flyer
BotCharacters=Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot;Rege... |
52bb5e93df60aa8df0be00864004201543cc2130 | 20392bee9b9ba080dc86418049e09f82be683a14 | /Design_Experiment_1/DMUX4WAY.tst | 96622686e0d6adf710dcd28b057332f8a96ea28b | [] | no_license | Liveitabhi/CSD-LAB | 698645e3fee27fadc70979c6c64d7de13c58ffbd | e91c386c9d575fcced2f5163eea958033ca1e245 | refs/heads/master | 2023-01-23T05:31:42.301079 | 2020-12-09T08:52:58 | 2020-12-09T08:52:58 | 298,178,775 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | tst | DMUX4WAY.tst | load DMUX4WAY.hdl,
output-file DMUX4WAY.out,
compare-to DMUX4WAY.cmp,
output-list z%B2.1.2 s%B2.2.2 x1%B2.1.2 x2%B2.1.2 x3%B2.1.2 x4%B2.1.2;
set z 0,
set s %B00,
eval,
output;
set s %B01,
eval,
output;
set s %B10,
eval,
output;
set s %B11,
eval,
output;
set z 1,
set s %B00,
eval,
output;
set s %B01,
eval,
output;... |
be9152df9b3060d05e1b64c83b70d92d4d5d1fa6 | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP2/choleskyDef.sci | d230532ede6971cd223fc1f2e957ea7ae28084e7 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sci | choleskyDef.sci | function [L] = choleskyDef(A)
[Ldoo, Udoo]=factLU(A);
D=diag(diag(Udoo));
Draiz=sqrt(D);
L=Ldoo*Draiz;
endfunction |
dc776c1b9f392ba68fb10274d959fe5e302aebbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH14/EX14.3/ex14_3.sce | 6c47973ab4847c869b62711006acfda1ee8c081d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 861 | sce | ex14_3.sce | //Finding the Performance Parameter of a pushpull converter
//Example 14.3(Page No-612)
clc
clear
//given data
a=0.25//turns ratio
V0=24//in volts
R=0.8//in ohms
Vt=1.2//VOLTAGE DROP OF TRANSISTOR IN VOLTS
Vd=0.7//VOLTAGE DROP OF DIODES IN VOLTS
k=0.5
I0=V0/R
//part (a)
P0=V0*I0//output power in watts... |
ff8cbcff076dbf0949c058f1c28eb251a2a14de2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.25/8_25.sce | faa80a65ff3f3bf0235d9679bd470b4e824a8e95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 8_25.sce | clc
//initialisation of variab;es
l=420//m
g=9.81//m/sec^2
c=1000
//CALCULATIONS
dt=(g*l)/(c*4.2)
//results
printf(' \n difference in temperature= % 1f c',dt)
|
f3e2c3281294ec51e0067085a6d335ef35b28045 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH4/EX4.1/example1_sce.sce | a7bfe173e0941282e7d098645d5546c3b7bae78a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | example1_sce.sce | // chapter 4
//example 4.1
// page 193 ,figure 4.20
R1=120;R2=51*10^3;//given
Vsat=15;Vcc=15;Vee=15;Vin=1;//given
Vut=((Vsat*R1)/(R1+R2));
disp(Vut)//result threshold in ampere
Vult=((-Vsat*R1)/(R1+R2));
disp(Vult)//ampere |
11016abe3c0ac79fe1df5f4d3c698a016d5d7e0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.17/17.sce | d34d5304f223da0b3f430579bc977d130d102f85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | 17.sce | clc
clear
//input
r=200 //resistence
v=14 //voltage
vr=9//pd across each component
f=90 //frequency
//calculation
c=vr/(2*%pi*f*vr*r)//capacitor connected
//output
printf("the capacitor connected is %3.3e F",c)
|
cd315d1ab3304bee6e7af9f72f5b6226708258a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH32/EX32.3/Ex32_3.sce | eb4100bb6432e44ad739bafb87bbda13e7a6445c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Ex32_3.sce |
//To Calculate the Resistance of an aluminium wire
//Example 32.3
clear;
clc;
rho=2.6*10^-8;//Resistivity of Aluminium in ohm-metre
l=0.50;//Length of Aluminium wire in metres
A=2*10^-6;//Cross sectional area of aluminium wire in metre^2
R=rho*l/A;//Formula for finding the resistance of an alumini... |
a914f0c864f13c84d17ec133956c83ac7a6ca223 | 382f1dd66c084cf9a1f9ff595be26967356245a1 | /kashish/kashish_1003/dijkstra.sci | 26b722a43c85f65565b04a46ee48bade14a92070 | [] | no_license | osho-agyeya/Implementation-of-Graph-Theory-in-Computer-Networking | 262ac759658444fddee02906506a20590b5d2b92 | 4c7edc99da2304e2ceb3a422508bd29660b60870 | refs/heads/master | 2022-03-25T08:02:39.169796 | 2020-01-11T12:30:43 | 2020-01-11T12:30:43 | 107,777,536 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,597 | sci | dijkstra.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
siz = input("Enter the size of the matrix --> ");
h = input("Enter the matrix --> ");
s = input("Enter the source vertex --> ");
d = input("Enter the destination vertex --> ");
for i =1:siz
for j =1:siz
if h(i,j) ==(0) then... |
8374304dbacdbd0e10d950dc994c991829bb594c | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH11/EX11.1/ex11_1.sce | ac116ece9d2419bff975f8d2f468e708ef4f952d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | ex11_1.sce | clear;
//clc();
// Example 11.1
// Page: 272
printf("Example-11.1 Page no.-272\n\n");
//***Data***//
V_water = 1;//[L] volume of the water
Temp = 25;//[C]
d_benzene = 0.88;//[g/ml] density of the benzene
M_benzene = 78;//[g/mol] molecular weight of the benzene
M_water = 18;//[g/mol]
// Typically a bure... |
4b3a5b1edde5548a0ed1e8b8fab9a698b270b083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH6/EX6.5/ex6_5.sce | 9d59afe0a7235fa3d55189fc1132fa3caad65422 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex6_5.sce | //Exam:6.5
clc;
clear;
close;
h=6.6*(10^(-34));//Planck's constant(in m2*kg/s)
c=3*10^8;//speed of light (in m/s)
e=1.6*10^-19;//electron charge(in coulomb)
W=2.24;//work function(in eV)
W_1=W*e;//work function(in joule)
v=(W_1/h)*10^-10;//frequency
wavelength=c/v;//region of electrons spectrum is less than(i... |
709b58734d1c7ca44ee91b56c035f072ac7f206c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH11/EX11.12/Ex11_12.sce | 10b51551ffabf092e926d4b9d31e90aa9b0bbdf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | Ex11_12.sce | clc;
PL=2.81; //Watt
Ps=3.69; //Watt
N=(PL/Ps)*100;
disp('%',N,"N=");//The answers vary due to round off error
|
9fbb07b39bcd89fddcd5aa099adccfc33126fa4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.42/Ex1_42.sce | b80dbac8167561d6be4d8549e48dee76e2401251 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Ex1_42.sce | clear
//
//
//
//Variable declaration
lamda=5000*10**-8 //wavelength(cm)
D=50 //separation between screen and slit(cm)
d=0.05 //separation between slits(cm)
//Calculation
beta1=lamda*D/d //fringe width(cm)
//Result
printf("\n fringe width is %0.3f cm",beta1)
|
fbe72a555225313a4a269198adf6f0f3ec131080 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH15/EX15.7/ex7.sce | d4661614cc2f424731b19fd440f68c4c319c80fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | ex7.sce | //example 7
//first law anlysis of combustion in bomb
clear
clc
Preact=1 //initial pressure in atm
Nreact=4 //Mo. of lbmol of reactants
Treact=537 //Temp. of reactants in R
Nprod=4 //No. of lbmol of products
Tprod=1800 //Temp. of products in R
Pprod=Preact*Nprod*Tprod/(Nreact*Treact) //final pressure of produc... |
ded8ad910b51a60c10695e98b249ffd5f0bd704a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH4/EX4.7/EX4_7.sce | 2e356f0c37c1e707ea277cc37ba39aa60ba3d52b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,790 | sce | EX4_7.sce | //Find the covolution Of the following signals.
//Example 4.7<i>
clc;
clear;
close;
t=-4:.01:4;
//Define signal h(t)=u(t+2)
for i=1:length(t)
if t(i)<-2 then
h(i)=0;
else
h(i)=1;
end
//Define signal x(t)=exp^(-2*t)*u(t)
if t(i)<0 then
x(i)=0;
else
x(i)=exp(-2... |
7272db7935b81413df79b4dcf9c03d413c5deac6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.9/Ex2_9.sce | 56106708694fdb1444a38c5cdb14865a15091f6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex2_9.sce | //Ex_2_9
clc;
clear;
close;
format('e',9);
//given data :
l=20/100;//m
A=1.5/10000;//m^2
mur=2000;//relative permeability
mu0=4*%pi*10^-7;//permeability
S=l/(mu0*mur*A);//AT/Wb
disp(S,"Reluctance of silicon steel(AT/Wb)");
|
85f1564c7d8d3fd2a85c39305dc9e534097738fe | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.4_13.tst | 78a017f2e085da9aa9c3ac339e51204737f6b61f | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 39,533 | tst | bow.4_13.tst | 4 8:0.058823529411764705 17:0.3333333333333333 28:1.0 81:0.5 206:0.25 268:0.5 402:1.0 488:1.0 761:1.0 762:1.0 880:1.0 990:1.0 1446:0.3333333333333333 1447:1.0 1620:1.0 2088:1.0 2330:1.0 2607:0.5 3090:1.0 3091:1.0 3687:1.0
4 8:0.11764705882352941 14:1.0 31:0.6 37:0.1111111111111111 54:0.5 58:0.0625 95:0.5 127:1.0 164:0.... |
c17fb44b33e484b862619202e18b18cad0809090 | 8c8c1ab38e21729879e1fb57636eb778aaf88ca5 | /EXP_4_2.sce | a8ecafc1f351ab9c346fd2b588480d3bc37ff4e8 | [] | no_license | Rutvik1999/Scilab_3rdSemester | 3b9454b18220ed503e7129bf77a797feecd8f039 | 12342f90814f64e86398621be3070d5569388634 | refs/heads/master | 2020-05-18T08:21:10.203092 | 2019-04-30T16:03:59 | 2019-04-30T16:03:59 | 184,292,298 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | EXP_4_2.sce |
t = -10:1:10;
y = [ zeros(1,10), ones(1,1), zeros(1,10)];
clf(0)
subplot(3,1,1);
plot2d3(t,y);
energy_uimpulse = sum(t.*y);
disp("Energy of Unit impulse signal = ");
disp(energy_uimpulse);
title("unit impulse");
y2 = [ zeros(1,10), ones(1,11) ];
subplot(3,1,2);
plot2d3(t,y2);
energy_ustep = sum(t.*y2)... |
4155c21a69bb7b1b7d4c044a5dcdb276cc8b4f81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH21/EX14.21.10/Ex14_21_10.sce | a14acf6e26ff1ea16be3bce3ac9cde0756ed7ce4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ex14_21_10.sce | //Section-14,Example-6,Page no.-PC.17
//To calculate the temperature at which v_mp(CO_2)=2*v_mp(CO_2)at 20 degree celcius.
clc;
//v_mp=sqrt((2*K*T)/m)
//sqrt((2*K*T_1)/m)=2*((2*K*T_2)/m)
T_2=293 //K
T_1=2^2*(T_2) //K
disp(T_1,'Required temperature(K)')
T_1_deg=T_1-273 ... |
5bd2798d3695bf5166bf4080fd35bdd2431c75c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH3/EX3.2/Ex3_2.sce | 69fc35fa3daebdb05b5c018170ba93b7bd2c5b67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,030 | sce | Ex3_2.sce | clear all; clc;
//This numerical is Ex 3_1S,page 43.
N=800
Q=397//in meter cube per hour
r_1=7.6
b_1=10.2
r_2=22.9
b_2=7.6
omega=N*%pi/30
printf('The angular velocity is %g rad/s',omega)
omegar=83.7
disp("After rounding off the value of angular velocity is 83.7 rad/s")
U_1=omega*r_1/100
printf(' U_1=%g',U_... |
67decfd52611b71052ccf5b8fa519775c027cb21 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CF5.prev.tst | 36106a5e55b6d3b2b0720e5b193ee68d04df9626 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,069 | tst | CF5.prev.tst | 0; 1/1, 1/1, 1/2, 1/1, 1/2, 1/1, 1/4, 1/3, 1/13, 1/5, 1/1, 1/1, 1/8, 1/1, 1/2, 1/4, 1/1, 1/1, 1/40, 1/1, 1/11, 1/3, 1/7, 1/1, 1/7, 1/1, 1/1, 1/5, 1/1, 1/49, 1/4, 1/1, 1/65, 1/1, 1/4, 1/7, 1/11, 1/1, 1/399, 1/2, 1/1, 1/3, 1/2, 1/1, 1/2, 1/1, 1/5, 1/3, 1/2, 1/1, 1/10, 1/1, 1/1, 1/1, 1/1, 1/2, 1/1, 1/1, 1/3, 1/1, 1/4, 1/1... |
01c6ff2454952b56439053419bdecd25f2504c06 | 5e2f693e5254f2da466e8becbfee48179ab8b7b4 | /iirnotch.sce | a27325459c02f94bbba1b201af83f09904006336 | [] | no_license | SujaySimha81/Signal-processing | 466fab37670687b5901b62beb5ede5cbbd87cd49 | a2516e7f1f7e594bb82251434f6ba4843fba6dcd | refs/heads/master | 2020-03-23T22:42:12.500932 | 2018-07-24T17:49:25 | 2018-07-24T17:49:25 | 142,192,663 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | iirnotch.sce | function [hf,f]=iirnotch(f0,fs,r)
b0=1;
b1=-2*cos(2*3.14*f0/fs);
b2=1;
a0=1;
a1=-2*r*cos(2*3.14*f0/fs)
a2=r*r;
b=[b2,b1,b0];
a=[a2,a1,a0];
[h1,f1]=frmag(b,a,fs);
hf=20*log10(abs(h1));
f=f1*fs;
endfunction
|
58fc79952a016b6d8e356675b4b1e236910848c8 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/mvi/~LCM-SR-mvi-nat.tst | 3def7e84978b0a180949ec0fd509e84e765a58ec | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,064 | tst | ~LCM-SR-mvi-nat.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.669555D-01
... |
54e2107d35440fa62e9f5798ae1123ae9d2fa83a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH6/EX6.2/Ex6_2.sce | ecb4f479d76eb4a5b10713898c1d865c41fc8eee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | Ex6_2.sce | clc();
clear;
//Given :
h = 6.625*10^-34;//Planck's constant in Js
c = 3*10^8 ; //velocity of light in m/s
// 1A = 1.0*10^-10 m
//(a)Energy of a photon :
// E = h*nu or E = h*c/lambda
printf("Energy of a photon is %2.4f x 10^-16 /lambda(in A) J\n",((h*c)*10^10)*10^16);
//1eV = 1.6*10^-19 J
printf("Energy of... |
639f5152ee530a113836cc030c9001b081be6301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/17_32_data.sci | 99eb5a9a1e48aa42a9e5e8959a331a50f40ddbfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sci | 17_32_data.sci | //Mean effective pressure(in bar)
pim=3;
//Bore of the engine(in m)
D=0.22;
//Stroke of the engine(in m)
L=0.28;
//Total no of revolution
N=350;
//Effective diameter of brake wheel(in m)
De=1;
//Net load on brake wheel(in kg)
W=65;
//Mass of gas used at NTP(in kg/h)
Vg=4;
//Calorific value of fuel(in kJ/k... |
a75a3414f3234ad06397421cb23556db4a2bc08f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH11/EX11.4.a/11_4_data.sci | 0a679d088f5686b92f4caef091ce5c3213661ce5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sci | 11_4_data.sci | // Aim:To find the rating of heat exchanger required to dissipate generated heat
// Given:
// oil flow-rate:
Q=20; //gpm
// operating pressure:
p=1000; //psi
// overall efficiency of pump:
eff_overall=85; //%
// power lost due to friction:
HP_frict=10; //%
|
4fc672ae85801d95582a61bae7b975f884849c1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH22/EX22.1/22_01.sce | d709b0b1780294a0816783da13fee23746e2512f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | 22_01.sce | clear
clc
PA=101325;//Pa
HA=36845;//PA.m3.l/mol
CBo=1000;//mol/m3
v=10^-4;//m3*l/s
h=5;//m
A=0.1;//m2
CA=PA/HA;
FBo=v*CBo;
Vr=A*h;
dp=5*10^-3;//mcat
d_solid=4500;//kg/m3cat
De=8*10^-10;//m3l/mcat.s
n=0.5;
b=1;
k=2.35*10^-3;
L=dp/6;
kai_overall=0.02;
kac_ac=0.05;
f=0.6;
//For a half-order reaction
... |
f33bf982528030fea766d7973fc4db5409276d03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH4/EX4.5/Chapter4_Example5.sce | b7df679401bff02ee7bac59ba18897da1cba8080 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Chapter4_Example5.sce | clc
clear
//Input data
m=50;//Mass of water in gms
t1=15;//Initial temperature in degree centigrade
t2=-20;//Final temperature in degree centigrade
Sp=0.5;//Specific heat of Ice in cal/g-K
Li=80;//Latent heat of fusion of Ice in cals per gram
//Calculations
h1=m*1*t1;//Heat removed in cooling water fro... |
f62794b89da7b42fa8d123efad0174f3312d49ba | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH8/EX8.6/8_6.sce | eceee048df25ee60d078f297aa284021599f0887 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,007 | sce | 8_6.sce |
clear; clc;
xdel(winsid()); //close all windows
s = %s;
G = syslin('c',(s+2)/((s+3)*(s^2+2*s+2)));
evans(G,10);
xgrid();
a = gca();
a.box = "on";
a.data_bounds = [-6 -3; 2 3];
a.children(1).visible = 'off';
xtitle('Root locus of G(s) = (s+2)/ ((s+3)*(s^2+2*s+2))');
up = roots(numer(G));disp(up,"zero of ... |
b3680996d497aec928ea491c7f3c10e371685230 | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/respol.sci | 3749afa6aae8548d7fa092d13af453611ff3890e | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sci | respol.sci | // Computation of residues
// 4 . 5
// Numerator and denominator coefficients
// are passed in decreasing powers of z ( say )
//[res pol q]=respol(flip(coeff(Hz(2))),flip(coeff(Hz(3))))
function [ res , pol , q ] = respol ( num , den )
len = length ( num ) ;
if num ( len ) == 0
num = num (1: len -1) ... |
963adf0f1c9a519ba4e914a8a8afbcc92d880435 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoPolAnalyzer.sci | 2009cb6aab2f6f1e7e6e3e62a6f83bd990a01f92 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,285 | sci | SSSoPolAnalyzer.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [S0,S1,S2,S3,DOP]=SSSoPolAnalyzer(In)
// Polarization Analyser
//
// Calling Sequence
// [S0,S1,S2,S3,DOP]=SSSoPolAnalyzer(In)
//
// Parameters
// In : Optical Input
// S0 :
/... |
3288b1c959c43b446039efd7a0095f52c19faa48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH1/EX1.10/ex_10.sce | c615d14953804e3c45ad5f65a2b741d33f28c94f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | ex_10.sce | // PG (25)
// Consider solving ax^2 + b*x + c =
// Consider a polynomial y = x^2 - 26*x + 1 = 0
x = poly(0,"x");
y = x^2 - 26*x + 1
p = roots(y)
ra1 = p(2,1)
ra2 = p(1,1)
// Using the standard quadratic formula for finding roots,
rt1 = (-(-26)+sqrt((-26)^2 - 4*1*1))/(2*1)
rt2 = (-(-26)-sqrt((... |
2a009362b37e5421d4cb06c6a4fd07d690b0f227 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/percent/%ras.sci | 77d338be5159a3b99de6237fbb5e2d557e5b22fb | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | %ras.sci | function f=%ras(f,m)
// f=%ras(f,m) <=> f = f+m,
//f: transfer matrix, m : scalar or scalar matrix
//!
[p,q]=size(m);
if p==1&q==1 then f(2)=f(2)+m*f(3);return;end
if p+q=-2 then m=m*eye(f(3));end
f(2)=f(2)+m.*f(3);
|
aede7030646fbaa5c0961da5ee180b3d741d10b4 | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/thmin/cicle.tst | 50205db78a4a1db97798fb2b5ab21b4b7842ecf0 | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 61 | tst | cicle.tst | 10
1 0
1 1
0 1
100 0
12 123
12 213
22 1
13 123
876 23
25 345
|
136b7bd0d720ec2d618fcf92dbe710af6e600a85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH16/EX16.6/Example16_6.sce | bdfe729411e6a44814af8706f3cd9eead9e9985f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | Example16_6.sce | // Computation of pH in a titration of weak base and strong acid at equivalence point
clear;
clc;
printf("\t Example 16.6\n");
InitNH3=0.1;//Initial concentration of NH3 solution, M
VNH3=25;//volume of NH3, mL
nNH3=InitNH3*VNH3/1000;
Ka=5.6*10^-10;//equilibrium constant of acid, M
N=0.1;//Initial concen... |
584204cbf67996e6da16578c2bb4e3eed097c731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH10/EX10.9/Ex10_9.sce | c4a1063519fdd1db55212fe459eeaa1b63e0cf61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ex10_9.sce | clc;clear;
//Example 10.9
//given data
P1=5;
P2=7000;
P3=P2;
T3=500;
P4=P1;
//gas cycle from Ex9-6
//d stands for '
h4d=880.36;
T4d=853;
qin=790.58;
wnetg=210.41;
nth=0.266
h5d=451.80;
//steam cycle
h2=144.78;
T2=33;
h3=3411.4;
T3=500;
wnets=1331.4;
nth=0.408;
//calculations
//Ein = Eout
... |
b081e745dbacb94cce6fd75e4d09b6fe845ab464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH5/EX5.5/5_5.sce | e7dc531412c030912104d2b72a32f52eee1e2875 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,663 | sce | 5_5.sce | clear;
clc;
printf("\t\t\tExample Number 5.5\n\n\n");
// flat plate with constant heat flux
// illustration5.5
// solution
u = 5;// [m/s] air velocity
l = 0.6;// [m] plate length
Ta = 27+273.15;// [K] temperature of airstream
// properties should be evaluated at the film temperature, but we do not know the p... |
1f3d1fdd0dd8d8309ad046f81d905061f6034266 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.35/ch6_35.sce | 029ed19a45361dff3f8ce4f45e65899cfeee9801 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | ch6_35.sce | clear;
clc;
V=415;
V_ml=sqrt(2)*V;
R=.2;
I_o=80;
r_s=0.04;
v_T=1.5;
X_l=.25;//reactance=w*L
disp("when firing angle=35deg");
a=35;
E=-(-3*V_ml*cosd(a)/%pi+I_o*R+2*I_o*r_s+2*v_T+3*X_l*I_o/%pi); printf("mean generator voltage=%.3f V",E);
disp("when firing angle advance=35deg");
a1=35;
a=180-a1;
E=(-3*... |
7c7d708da40891409a7f1182e4986db65b592acf | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.14/EX2_14.sce | fa96846c1d32de8c8c43eb1966d8d0c832ec3e9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | EX2_14.sce | //calculating speed ratio of generator and motor working conditios
//Chapter 2
//Example 2.14
//page 101
clear;
clc;
disp("Example 2.14")
V=250; //voltage supply in volts
Ra=0.12; //armature resistance in ohms
Rf=100; //field resistance in ohms
Il=80; ... |
02e663ae03f70dee00caa4015af3cb92c16b39d2 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/blackmannuttall.sci | 6719fde0d7c588c752402296b5540504796ca610 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,688 | sci | blackmannuttall.sci | //function [w] = blackmannuttall (m, opt)
//This function returns the filter coefficients of a Blackman-Nuttall window.
//Calling Sequence
//w = blackmannuttall (m)
//w = blackmannuttall (m, opt)
//Parameters
//m: positive integer value
//opt: string value, takes "periodic" or "symmetric"
//w: output variable, vector o... |
fe97ffb4c6930bcd4407eee1b646b294d07e7643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.22/Ex5_22.sce | 587e895255158b5b0b4cbdb38d656b894b1f9175 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Ex5_22.sce |
// Ex5_22
clc;
// Given:
B=2.5;// tesla
q=1.6*10^-19;
m=1.66*10^-27;
// Solution:
f=(B*q*10^-6)/(2*3.14*2*m);
printf("The resonance frequency is = %f MHz",f)
|
f28b3b4164103ce0c999ec5dadb9e0ccb520fdfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH16/EX16.12/Ex16_12.sce | b5051352e444bb432813023bfc2a9639ca9a0961 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Ex16_12.sce | clc;
close();
clear();
//page no 532
//prob no. 16.12
c=186000; //speed of light in mi/s
fc=10*10^9; //Hz
fD=2*10^3; //frequency shift in Hz
v=c*fD/(2*fc); //speed in mi/s
mprintf('Speed of automobile , v=%.2f*10^-3 mi/s \n',v*10^3);
v=3600*v;
mprintf(' v=%.1f mi/hr \n',v);
|
5978bfc39b86ce7e322312d2712383cc45f7e56d | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.14/11_14.sci | 7a912d7185d8a1d3e7d6fa4bc91294931e01b605 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sci | 11_14.sci | //value//
s=%s;
H=syslin('c',((s+2)*(s+4))/((s^2)*(s+5)));
plzr(H)
printf("There are two adjacent placed zeros at s=-2 &s=-4 \n")
printf("One breakin point exists between s=-2 & s=-4 \n")
|
fb540019376a44f6e2d3225600f284e4c485e514 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH6/EX6.11.b/ex6_11_2.sce | 69d81180eeec1b40ad3a143634ced4c9c692aefd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | ex6_11_2.sce | syms zeta Wn ts z
// settling time ts=4/zeta*Wn
// given ts=4sec
ts=4;
zeta*Wn=ts/4
printf("now the real part of dominant root should be -1 or more")
// substituting s=s-1
p=(s-1)^3+8.5*(s-1)^2+20*(s-1)+12.5*(1+K)
cof_a_0=coeffs(p,'s',0);
cof_a_1=coeffs(p,'s',1);
cof_a_2=coeffs(p,'s',2);
cof_a_3=coeffs(p,'s'... |
16c784184cdbd39e5940a00c77073073f4a208b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH11/EX11.6/Example11_6.sce | fce612cf4db3340feb67a6d7edee920f281ef7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Example11_6.sce | //clear//
//Example 11.6:Nyquist criterion for Continuous Time Systems
//Nyquist Plot
s = %s;
//Open Loop Transfer Function
F = syslin('c',[(s+1)/((s-1)*(0.5*s+1))])
clf;
nyquist(F)
show_margins(F,'nyquist')
|
94d79e4374fb67c4e2c803e50808bbb0e37a9b4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH5/EX5.44/s44.sce | 000b5122441d8139200cb23f6ac27c7555841e84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | s44.sce | s=%s;
syms K
H=syslin('c',K*(1+s)/(1-s))
nyquist(H)
show_margins(H,'nyquist')
mtlb_axis([-1 1 -5 1])
gm=g_margin(H) // gain margin
pm=p_margin(H) // phase margin
|
5f99e860d79235ce223aa08cff52f30f237aaec2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH2/EX2.16/Ex2_16.sce | 8796e3db44d41e778b0a9a14c7a840b4ccb046a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex2_16.sce | clc
//
//
//
//Variable declaration
lambdaa=5000*10**-10 //Wavelength
theta=30 //Angular Width
dtheta=0.01
//Calculations
thetarad=((%pi/180)*(theta))
dlambda=((lambdaa*cos(thetarad))/(sin(thetarad)))*10**8
//Result
printf("\n The difference between the two wavelengths is %2.1f Angstrom",dlambda... |
7b98c0f274960de4adecf94443319bc995fe3397 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV12.prev.tst | f4fa66da4bc774e91e3076238987db662edce434 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | tst | BV12.prev.tst | [1,2,-5]/3 + [1,1,1,7]/5 = [8/15,13/15,-22/15,7/5], original = [1/3,2/3,-5/3]
|
6724a61bb2d6e6e8266d3e3e946e63be45d90c9c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/or.man.tst | 5a360eafa9f9e9609702510e3646a96c4ecf892f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | tst | or.man.tst | clear;lines(0);
or([%t %t %f])
[%t %t %f]|[%f %t %t]
[%t %t %f]|%f
|
64890ec544454f4f05bfe10d7b14a72832ecba8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.34/Ex4_34.sce | bd8cf1a9bf983b00a3df785700463bef522aa39a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex4_34.sce |
//determine the current also V1 nd V2
V=250
f=50
R1=10
L1=0.15
C1=10e-6
X1=2*%pi*f*L1
Xc1=1/(2*%pi*f*C1)
R2=8
L2=0.25
X2=2*%pi*f*L2
Z=sqrt((R1+R2)^2+[(X1+X2)-Xc1]^2)
I=V/Z
Z1=sqrt(R1^2+(X1-Xc1)^2)
V1=I*Z1
Z2=sqrt(R2^2+X2^2)
V2=I*Z2
disp('value of current='+string(I)+'amps' , 'v1='+string(V1)+'volts... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.