blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
95e79f1e1917618f1d829eb48bde79e41003fb7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1316/CH1/EX1.16/example1_16.sce | c2a991dbccbf7ee8ceb9a587d226eb1f598f737d | [] | 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 | 202 | sce | example1_16.sce | //Chapter 1
//Example 1.16
//Page 40
clear;
clc;
R = 12.5;
I = 2.21;
Scale = 10;
Acc = 0.2;
//Finding the voltage across resistor
printf("The voltage across resistor is %.1f V",I*R);
|
0c0b56cda28360c0bb47f5ccee7d4ecb374215b0 | 9110ad109e15cc1ca881fb88246a137d7d8063e0 | /multiplication.sce | 1943c37a6bacf0bf117109252160ea4f68469930 | [] | no_license | S-SHASHANK/scilab_codes | aee26d14a12426c63122b6a0706602fc15b8f333 | 26334a114caacbe7375bab22ae14c445f5ab715c | refs/heads/master | 2021-01-19T20:18:40.064520 | 2015-05-07T16:59:53 | 2015-05-07T16:59:53 | 35,232,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | multiplication.sce | x = linspace(0,720,100)
y = sind(x)
z = cosd(x)
mul = []
for i = 1:length(x) //Note that the for loop should start from value 1 and not 0
mul($+1) = y(i)*z(i)
end
//Continuous time plot
subplot(321)
plot2d(x,y)
xlabel("time-->")
ylabel("y = sin t")
subplot(323)
plot2d(x,z)
xlabel("time-->")
ylabel("z = ... |
d0219b654fefb97eb80e4cb498e325fa6f6284b5 | 102783f1f5fcfc27b23f62ff32aa5958ace16e5e | /helloworld.sce | 7a57bcd026949a9fe365dce3bb1abb6d976b2f27 | [] | no_license | DanylZozulya/Scilablearning | e717c74a29fa6512c2f012929ff5569870111a4b | 7cc93947041cd7aabefc16af903cbdc6842dfb13 | refs/heads/master | 2021-08-23T22:32:07.789589 | 2017-12-02T14:45:29 | 2017-12-02T14:45:29 | 103,492,795 | 0 | 0 | null | 2017-12-10T15:33:15 | 2017-09-14T06:09:05 | Scilab | UTF-8 | Scilab | false | false | 27 | sce | helloworld.sce | s="Hello World";
disp(s)
|
dfdfa31a974750ce97f8f4aa51ac0c840706547b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.10/8_10.sce | cca0ee27c5c8b3233c9019fe0958c5e1d6ffd0cd | [] | 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 | 229 | sce | 8_10.sce | clc
//Initialization of variablesk=1.38
R=1.986
T1=900 //R
M=29
pr=0.1
Wrev=50 //Btu/lbm
cp=0.245
k=1.3
//calculations
KE = -cp*T1*(pr^((k-1)/k) -1) -Wrev
//results
printf("Change in kinetic energy = %d Btu/lbm",KE)
|
5adb24cd7d3de84c881829997425d2656ac8bfd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH11/EX11.3.b/11_3_soln.sce | 6ff970a960dc16096c6ce364bb240c5d52ebe168 | [] | 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 | 456 | sce | 11_3_soln.sce | clc;
pathname=get_absolute_file_path('11_3_soln.sce')
filename=pathname+filesep()+'11_3_data.sci'
exec(filename)
// Solution:
// heat generation rate,
kW=((p*10^5)*Q)/1000; //kW
// oil flow-rate,
Q_kg_s=895*Q; //kg/s
// temperature increase,
T_increase=kW/(1.8*Q_kg_s); //deg C
// downward oil temperature,
T_downward=T... |
a46cf6af06eca08062d9dd6827a400d32d68b612 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH1/EX1.7/Ch01Ex07.sce | 8be5ff18922b1738d6f9297feda486ee6ce5c0f6 | [] | 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 | 416 | sce | Ch01Ex07.sce | // Scilab code Ex1.7: Pg.32 (2008)
clc; clear;
Beta = 0.5; // Boost factor = v/c
delta_ct_dash = 2; // Distance, m
gama = 1.15; // Relativistic factor = 1/sqrt(1-(v/c)^2)
delta_x = gama*Beta*delta_ct_dash; // Spatial separation of events, m
printf("\nSpatial separation of events measured in S frame =... |
affe542ee12292d7e22509be886c59add3f071cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH11/EX11.4/Example11_4.sce | dfeaf3e22b9d747e448f26830e5cfb89a7f065c5 | [] | 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 | 277 | sce | Example11_4.sce | //diffraction
clear;
clc;
printf("\t Example 11.4\n");
n=1;
lambda=154;//wavelength, pm
theta=19.3;//angle of reflection, degree
d=n*lambda/(2*sin(theta*%pi/180));//spacing between the planes
printf("\t the spacing between planes is : %4.0f pm\n",d);
//End
|
386ba30160b9de0722c7c4b4308817ce4e00db44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH11/EX11.7/example_11_7.sce | 3c98e56e0196dc755299c572c4ed07255fb0f1db | [] | 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,652 | sce | example_11_7.sce | //Chapter 11
//Example 11.7
//page 423
//To find short circuit currents
clc;clear;
v_pf=1; //prefault voltage
a=0.5+0.8660254*%i;
//according to the fig.11.28 we can write Z-bus matrix for positive and negative phase sequence
printf('\nstep by step for finding Z1_bus\n')
//Bus1 to referance bus
Z1_bus=[0.15];
printf(... |
b6c8bfb6a56bee879d8cca4971613faebcd01f3f | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_27/results/27/g20-2/result4s0.tst | 37c2af396b33bf64ccdd1c5d1762440259303af7 | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,742 | tst | result4s0.tst | @relation unknow
@attribute mcg real[0.11,1.0]
@attribute gvh real[0.13,1.0]
@attribute alm real[0.21,1.0]
@attribute mit real[0.0,1.0]
@attribute erl real[0.5,1.0]
@attribute pox real[0.0,0.83]
@attribute vac real[0.0,0.73]
@attribute nuc real[0.0,1.0]
@attribute class{MIT,NUC,CYT,ME1,ME2,ME3,EXC,VAC,POX,ERL}
@inputs... |
42d70662159ba830f181e24399838dfd89f34ea5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.4/Example1_4.sce | a7ea577068a0e5f56f9c06ccf81285d8e1852b35 | [] | 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 | 464 | sce | Example1_4.sce | //Example 1.4
clear;
clc;
Rf=120*10^3;//Assuming feedback resistance Rf=120*10^3
//Imposing in equation Vo=-((Rf/R1)V1+(Rf/R2)V2+(RF/R3)V3)
R1=Rf/6;//From coefficient of V1
R2=Rf/8;//From coefficient of V2
R3=Rf/4;//From coefficient of V3
printf("Designed Summing Amplifier :");
printf("\n R1=%.... |
a996b89a03b18c4a870e0f700436a8e80c23dcd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH3/EX3.1/Chap3_Ex1.sce | 85fbb09a355440d8b8762729e691a23f1ab4963c | [] | 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,125 | sce | Chap3_Ex1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-3,Example 1,Page 48
//Title:Specific volume and Specific internal energy
//================================================================================================================
clear
clc
//INPUT
X... |
2786d200ea53ba811856dd21de05333ce7a35510 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/VM3.prev.tst | 88f811ab31ce33ddccdf10bab47b5fa61c9e5eb4 | [
"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 | 31 | tst | VM3.prev.tst | {a=>4a,x=>1+4x,y=>2y,z=>1+8z}
|
9a0524b5d858dd14e6d2739df8c70f4f9058424c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.2/Example5_2.sce | c16828eab5f94bf408ee6fc50bda7412f34f5dae | [] | 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 | 425 | sce | Example5_2.sce | //Exa 5.2
clc;
clear;
close;
//Given data :
R=0.4;//ohm
X=0.4;//ohm
P=2000;//kVA
pf=0.8;//power factor
VL=3000;//V
VR=VL/sqrt(3);//V
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
I=P*1000/3/VR;//A
VS=VR+I*(R*cos_fi_r+X*sin_fi_r);//V
Reg=(VS-VR)/VR*100;//%
disp(Reg,"% Regulation");
LineLoss=3*I^2*R/1000;//... |
4e29beae74be49d19881711af50f3dd43a760d9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.7/example18_7.sce | d62574daa48a338466ca1af8ae0bb632cba56f87 | [] | 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 | 376 | sce | example18_7.sce | clc
// Given that
mu = 0.126 // maximum value of the permeability in N/A^2
mu_ = 4 * %pi * 1e-7 // magnetic permeability of space
// Sample Problem 7 on page no. 18.23
printf("\n # PROBLEM 7 # \n")
printf("Standard formula used \n ")
printf(" mu_r = 1 + Chi \n")
mu_r = mu / mu_
X = mu_r - 1
printf("\n Magnetic suscep... |
b323358d81e0595e8ad25eeb709fee7eb8b36000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.8/ex2_8.sce | e1e0ea7f707f00284f48afba8f3d4b1bc25bc9e9 | [] | 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 | 184 | sce | ex2_8.sce | Vm=1; //Assuming Vm=1;
function y=f(t),y=Vm*sin(t),endfunction //Defining voltage equation
T=%pi;
Res=intg(%pi/6,%pi,f)/(T);
disp("Volts",Res,"Average voltage value"); |
11e3f5e9f0d68ff3668f632a9766428c74127577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH11/EX11.4/ex11_4.sce | 5c83cd4ee43eee12bfc4df640476b10f0bdd6dfb | [] | 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 | 238 | sce | ex11_4.sce | // Example 11.4, Page No-461
clear
clc
reso=10
//Part A
k1=bin2dec('10001010')
Vo=k1*reso
Von=Vo/1000
printf('\nVo= %.2f V', Von)
//Part B
k2=bin2dec('000100000')
Vo1=k2*reso
Von1=Vo1/1000
printf('\nVo= %.2f V', Von1)
|
3a2df5c0f6e968ae75973b99fc4791bf63ceb56f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH11/EX11.4/Ex11_4.sce | a29739d072699a99790e2db1043105087bf5f5dd | [] | 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 | 659 | sce | Ex11_4.sce | // Problem 11.4,Page no.275
clc;clear;
close;
D=40 //cm //External diameter of column
d=30 //cm //Internal diameter of column
e=20 //cm //Eccentricity
P=150 //KN //Load
//calculations
A=%pi*4**-1*(D**2-d**2) //cm**2 //Area of the column
Z=%pi*32**-1*((D**4-d**4)*D**-1) //cm**3 //Section modulus
M=P*10**3*e //N*cm /... |
90ffdaec978e6bb4c6bda511c5d0984a159709e8 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/KovaFlow_3DH1D_P8_16modes_Mapping-implicit.tst | e3e08a72b4de2a7df134d7d7e144019bc9b92b49 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,085 | tst | KovaFlow_3DH1D_P8_16modes_Mapping-implicit.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Kovasznay Flow 3D homogeneous 1D, P=8, 16 Fourier modes, using implicit mapping</description>
<executable>IncNavierStokesSolver</executable>
<parameters>KovaFlow_3DH1D_P8_16modes_Mapping-implicit.xml</parameters>
<files>
<file descriptio... |
d7cc42b0145ba64da0cacd225cdad3f6b183612c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH2/EX2.17/Ex2_17.sce | 078756ca0affb8f248b3baba793bab4585528baa | [] | 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 | 403 | sce | Ex2_17.sce |
//Variable Declaration
pi = %pi
T=1.009638376 //Time in Julian centuries from Example 2.11
UT=13 //Universal time(hours)
//Calculation
GST=(99.6910+36000.7689*T+0.004*T**2)*3.142/180 //GST(radians)
UT=2*pi*UT/24 //Universal time converted to fraction of earth rotation (radians)
GST=GST+UT
GST=(modulo(GST,2*p... |
cf6631ee82082fc55b35e9b0f70f78a40425fca2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH3/EX3.4/3_4.sce | de3c5306c9dbab3d9bbc6ab8d703d75a842d1ee9 | [] | 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 | 848 | sce | 3_4.sce | //To determine the line currents if one inductor is short circuited
clc;
clear;
V=460; // Line to Line voltage
pf=0.8; // Power Factor
P=8*(10^3); // Power Consumed by the network
Vph=V/sqrt(3);
Iph=P/(sqrt(3)*V*pf);
theta=acos(pf);// Power factor angle
Z=(Vph/Iph)*(expm(%i*theta));
Va=V*expm(%i*0... |
1013cb9b3a7682f0a36030bc51b35b9385f5033c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH5/EX5.11/Ex5_11.sce | b9dec8e8e58d2daa7f01b64ea25c74ae69aebdc5 | [] | 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 | 195 | sce | Ex5_11.sce | clc;
//page no 167
//prob no. 5.11
//All frequencies in MHz
fc=40;
fIF=5
fLO=fc-fIF;
disp(fLO,'(a) The LO frequency is ');
fImage=fLO-fIF;
disp(fImage,'(b) The image frequency is ');
|
15a5642bc084112e85d7ac5a8a32369eb705875c | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH6/EX6.4/6_4.sce | 4a3a037b22b6307e6c389f4e67e02a53ea9f0e1d | [] | 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,971 | sce | 6_4.sce | clear;
clc;
//Example - 6.4
//Page number - 221
printf("Example - 6.4 and Page number - 221\n\n");
//Given
T_1 = 298.15;//[K] - Standard temperature
T_2 = 500;//[K] - Reaction temperature
a_NH3 = 6.5846;
a_N2 = 6.903;
a_H2 = 6.952;
b_NH3 = 0.61251*10^(-2);
b_N2 = -0.03753*10^(-2);
b_H2 = -0.04576*10^... |
1cc01ef7e04a6461bb1474ea072df83449f149cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH18/EX18.8/18_8.sce | 71f7471030fcfbbb3617b6a073ed0c5bde14cff0 | [] | 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 | 628 | sce | 18_8.sce | //Ball falls vertically
//refer fig. 18.8
//Velocity of the ball which striking plane=3*g
//Component of velocity down the plane=3*g*sind(20)
//Component of velocity in the line of impact before striking
//vy=-3*g*cosd(20)
//velocity after the impact after striking plane
//vy=2.4*g*cosd(20)
//Acceleration in th... |
b9e7eac8f804120c58ffad9f0c3a7f6ae0873dec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.39/39.sce | 5e06487cad56a6b7c56f83d6402ef0f5ef90a663 | [] | 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 | 573 | sce | 39.sce | clc
// Given that
N = 6000 // Grating lines per cm
w = 10 // Width in cm
n = 2 // Order
m =3 // Order
lambda = 6000 // wavelength of light in angstrom
// Sample Problem 39 on page no. 177
printf("\n # PROBLEM 39 # \n")
printf(" Standard formula used \n")
printf(" lambda/d_lambda = n*N \n")
n_tot = w*N // T... |
d993713218d2d108a7ae98da4a3ddca263abb35a | 3953ee8faa83677c4470242adc45315acd353eff | /examples/nav/nav30Q.tst | bd19b33064c36431b231273aad7f4192faa9d779 | [
"BSD-2-Clause"
] | permissive | zutshi/S3CAMR | 83be6ba820207273e6f4b81c55d737b48b097e2a | e7a354137729fcc1f87e647efc8d91e5cd40c83d | refs/heads/master | 2021-05-04T11:52:09.707263 | 2019-06-25T00:37:11 | 2019-06-25T00:37:11 | 51,499,986 | 4 | 0 | null | 2016-03-29T22:01:38 | 2016-02-11T07:22:38 | Python | UTF-8 | Scilab | false | false | 2,261 | tst | nav30Q.tst | # REFERENCE:
# EMSOFT paper
inf = float('inf')
plant_pvt_init_data = None
# x0 = np.array([4, 5], [21, 22])
# v0 = np.array([[0.2, 0.5], [-0.5, 0.5]])
# Property
initial_set = [[4.0, 21.0, -1.0, -1.0],
[5.0, 22.0, 1.0, 1.0]]
ROI = [[-1, -1, -5,-5],
[26, 26, 5, 5]]
P = [[6., 7., -inf, -inf]... |
8ce718391f58a40fe9de5b9a2120de9e98ee1008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH1/EX1.3/example1_3.sce | 6076aa96f8b59e6998b097bd72f04eea7cead053 | [] | 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,086 | sce | example1_3.sce | clear;
clc;
//Example1.3[Heat Loss from Heating Ducts in a Basement]
//Given:-
T_in=60+273;//Temperature of hot air while entering the duct[K]
T_out=54+273;//Temperature of hot air while leaving the duct[K]
T_avg=(T_in+T_out)/2;//Average temperature of air[K]
Cp=1.007;//[kJ/kg]
disp("kJ/kg",Cp,"K is",T_avg,"The consta... |
9286e34905ed227af0da1be255781b72fc6a2b3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH6/EX6.3/Chapter6_Example3.sce | ee4bcdf7b936f8c56f0305c5a0459b29e3f4e83b | [] | 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 | 627 | sce | Chapter6_Example3.sce | //Chapter-6, Illustration 3, Page 309
//Title: Refrigeration cycles
//=============================================================================
clc
clear
//INPUT DATA
TL=-10;//Temperature of brine in oC
TH=20;//Temperature of water in oC
L=335;//Latent heat of ice in kJ/kg
//CALCULATIONS
Qr=(4.187*(TH... |
3e08a2a1623a21485f1bb325525d8ad0719274be | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/olo.tst | f1b3a7d8077a271cbe0b3a407eca57426eee020d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414,865 | tst | olo.tst | lomaittua lomaitetah V;IND;PL;3;POS;PRS
lomaittua lomaittua V;NFIN
lomaittua lomaittau V;IND;SG;3;POS;PRS
lomaittua lomaitan V;IND;SG;1;POS;PRS
yhteiskundupoliitiekalline yhteiskundupoliitiekalline ADJ;NOM;SG
yhteiskundupoliitiekalline yhteiskundupoliitiekallizen ADJ;GEN;SG
yhteiskundupoliitiekalline yhteiskundupoliiti... |
1c8d07f69835d83a4833a500c39dfeac600985b6 | e208f5ba61d660fa360b30a22b8cf307f5fc17bb | /forward-kinematics.sce | 35cfabc4ff25f0da5f9e62d68f75c273498b0bcb | [] | no_license | f-frhs/PUMA | 2b234603fec1ab108cbe8e8fc37f873599c80e8c | e33dbebe89dcce5c2fdaeee7385aaaa483a3ac16 | refs/heads/master | 2021-01-17T08:15:32.214080 | 2016-07-01T13:57:17 | 2016-07-01T13:57:17 | 62,227,864 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | forward-kinematics.sce |
// リンクパラメータ a, alpha, d は定義済み
step = 45
theta = [...
0:step:360; // q1
zeros(1, 9); // q2
zeros(1, 9); // q3
zeros(1, 9); // q4
zeros(1, 9); // q5
zeros(1, 9) // q6
]
// 変数の初期化
clear([...
'x',
'y,',
'z',
'T'])
// リンクiの関節部座標を計算する
for t= 1:size(theta,2) do
T = eye(4)
... |
006b98af305fab1d86695e16e60310f21bf4e3d4 | c8e1f3497e421ab8171304b956b541392620b46c | /fminbnd-optimization-algorithm/Example2.sce | 31432eea7517dfaaa9444c32316d44603cab386b | [] | no_license | Prankurtiwari/Optimization-FOSSEE-project | 73ef60cb45aa1084cd0f22d14fdbd181299b3a1a | b5f0f39542e70aacdf361bdb98ceff75861b70d3 | refs/heads/master | 2022-06-24T11:57:53.047101 | 2020-05-05T14:42:26 | 2020-05-05T14:42:26 | 261,466,839 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,305 | sce | Example2.sce | //Problem to test fminbnd
//Problem taken from Engineering Optimization b Singiresu S.Rao
//In a two stage compressor, the working gas leaving the first stage of compression is cooled(by passing in through a heat exchanger) before it enters the second stage of compression to increase the efficiency. The total work in... |
28bee94294878f22ad4e1349f1cfa474a2fdc2e0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/auto/lqr.sci | 36c89c240d1c575f41785cef3f11944dbc0cf6e1 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 1,403 | sci | lqr.sci | function [K,X]=lqr(P12)
//lqr gain for full-state LQ problem
//(discrete or continuous)
// discrete continuous
// |I 0 0| | A 0 B | |I 0 0| | A 0 B |
// z|0 A' 0| - |-C'C I -S'| s |0 I 0| - |-C'C -A' -S' |
// |0 B' 0| | S ... |
8107e866af1cd79a24bed87e895c50c82dbef304 | 20e1ce60c516a737e583089b58739647749845ac | /lib/matrice_ponderations.sce | 349658ae4c6d5719b6a009dc828465b0a6cbf498 | [] | no_license | idhd/projet-math | 83320adbb68bba0ae6e6dfcfaaa48146146af3e7 | a982b65947a2ed15d6b4340779c5645da2a03ed4 | refs/heads/master | 2020-06-04T22:03:10.736659 | 2011-06-03T22:38:03 | 2011-06-03T22:41:04 | 1,808,626 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | matrice_ponderations.sce | function [Q, d] = matrice_ponderations(M)
N = sum(M, 'r');
d = bool2s(N == 0);
Q = zeros(M);
for j=1:size(M, 'c')
Q(:,j) = M(:,j)/(N(j)+d(j));
end
endfunction |
3f77fdf5d758d857b86410d8dadab1dc5fd6eb36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH10/EX10.1/10_1.sce | 170b0c9fb3acd1742e19201bb36c5b436a2d58b8 | [] | 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 | 210 | sce | 10_1.sce | clc
//Initialization of variables
capacity=50 //tons
hp=10 //hp
//calculations
beta=778*3.33*capacity/(hp*550)
//results
printf("Coefficient of performance = %.2f",beta)
//The answer given in textbook is wrong
|
aeaac86478ef1385543b163667aa359531daedda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH8/EX8.3/Ex8_3.sce | f4d12c2a6d0d338e51d7bc29b3a3e11b8c57d8dd | [] | 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 | Ex8_3.sce | //Ex8_3
clc
R11=1*10^(3)
disp("R11= "+string(R11)+ " ohm") // resistance at input terminal of OP-AMP Adder
RF=100*10^(3)
disp("RF= "+string(RF)+ " ohm") //Feedback resistance
R12=10*10^(3)
disp("R12= "+string(R12)+ " ohm") // resistance at input terminal of OP-AMP Adder
R13=100*10^(3)
disp("R13= "+string(R... |
ae7f12b3bb49e1a7b1a1649997734b56ea2e4b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.5/Ch05Ex5.sce | e54cec29f8d7622861306d40334ad7d89b45a49a | [] | 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 | 517 | sce | Ch05Ex5.sce | // Scilab code Ex5.5: Pg:217 (2008)
clc;clear;
Lambda = 5e-05; // Wavelength of spectral line, cm
n = 2; // Second order principal maxima
theta = 30; // Direction of principal maxima, degree
aplusb_inv = sind(theta)/(n*Lambda); // Number of lines in one cm of grating where a is the width of slit and b... |
d8634db1561c9374b6a8c4b282e3f212e364da26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH9/EX9.4/ex9_4.sce | 2ddd76ed1887db0522e7b90ff43a5110d6f29fb9 | [] | 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,170 | sce | ex9_4.sce | clc;
p1=0.1; // Pressure of air at inlet in MPa
T1=300; // Temperature of air at inlet in kelvin
p2=0.6; // Pressure of air at exit in MPa
T3=1200; // Maximun temperature of air in kelvin
k=1.4; // Index of reversible adiabatic process
Cvo=0.7165; // Specific heat at constant volume in kJ/kg K
Cpo=1.0035; // Spe... |
f899f2016f93f0aeefbf2f4f02f9585dd8c3f710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH16/EX16.2/Ex16_2.sce | 9f8ecc25ec8d5559d0b7d7a9014de1ec51620b95 | [] | 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 | 298 | sce | Ex16_2.sce | //Caption:Find equivalent circuit resistance
//Exa:16.2
clc;
clear;
close;
Wc=60//Core loss(in watts)
a=90//Voltage across first rotor is 90% of applied voltage(in %)
V=230//Voltage applied to motor(in volts)
v=V*(a/100)
Ic=Wc/v
rc=v/Ic
disp(rc,'Equivalent circuit resistance(in ohms)=') |
9556532294db397f66686c2cc813020529016dc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH4/EX4.4/ex4_4.sce | 0634595aef0757356acce75a2b0443e0cc14f8f5 | [] | 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 | 944 | sce | ex4_4.sce | // Exa 4.4
clc;
clear;
close;
format('v',6)
// Given data
h_ie = 1.1;// in k ohm
h_re = 2.5*10^-4;
h_fe = 50;
h_oe = 25*10^-6;// in A
V_CC = 15;// in V
R1 = 20;// in k ohm
R_C = 2;// in k ohm
R2 = 10;// in k ohm
R_S = 1;// in k ohm
R_E = 1;// in k ohm
// (i) Current Gain
Ai = -h_fe/(1 + h_oe*R_C*10^3);... |
4a5a884d073924991bd4faef4eb743786927d358 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/DOLLAR_f.sci | d616244d16149b2ee3a6d43672cf84a475d57ee7 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 959 | sci | DOLLAR_f.sci | function [x,y,typ]=DOLLAR_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1(2... |
9370dac6198033d53b597f099c4ab26ebab0c9da | e9dd4206710f078df0cbbfefc5d59466b8ade810 | /SCILAB/plot_quadratic.sce | 1669099b1738aa627852901ed5f1b37363103bf1 | [] | no_license | symtalha14/Numerical-Computation | 28263659bfbbf2eb14d376b085b0355742257d82 | 9fcdaf2c958c6cd4a2a57157bf4fb4b2e3b9c253 | refs/heads/master | 2020-09-14T01:25:54.180235 | 2019-11-22T11:07:48 | 2019-11-22T11:07:48 | 222,967,340 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | plot_quadratic.sce | function f =quadratic(x)
f=x**2
endfunction
function f =quadratic_2(x)
f=2*(x**2)+3
endfunction
data_x = linspace(1,10,60)
data_y_1 = quadratic(data_x)
data_y_2 = quadratic_2(data_x)
xtitle("Graph of Quadratic equations","X-values","Y-values")
plot(data_x,data_y_1 ,'+',data_x,data_y_2,'o')
|
25af5e9f441a0b1bff631318114c6152e0a15d8e | b841f2f51bf192b088abdb3b6004b264c963e200 | /labas/05(МТ)/tests.tst | e298efdca687d6fdd984707e7c96b9396d8296d4 | [] | no_license | artem-barsov/informatics | 4856240f5835f3eba3771989b10b513d82235f8b | ac248ccabcb6683721926e4eaab4e4863a4bc68b | refs/heads/master | 2022-11-27T18:17:23.626349 | 2020-08-04T13:01:46 | 2020-08-04T13:01:46 | 280,749,211 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | tst | tests.tst | 1
^
10
^
11
^
101
^
100110
^
1011110111
^
1110000101011101111110011011
^
1101111100000111011011
^
111111111
^
100000000000000
^ |
7262146229be7812f7e02f534f2d76c133621dde | 494b677053e1199325a80808377463794e1003e5 | /experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.vehicle/result0s0.tst | 84cdd9f162e7c0dd2b4d91b2ec338e647d8baef4 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,576 | tst | result0s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attri... |
2781672be1f460f34703bcae710fe259b1e112e1 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/ARDUINO_DIGITAL_READ_sim.sci~ | ad132bb8aeb59aef483c00a936d5bb54529ae3c4 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,083 | ARDUINO_DIGITAL_READ_sim.sci~ | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The ter... | |
6656b7f9c93acd5e0990723f2858f191810c6871 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/gausssidelmethod.sci | 2063e6b3ab5038f3dbd1655b6a950682f8245d22 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,260 | sci | gausssidelmethod.sci | function [x, y, norm3] = gausssidelmethod(A, b)
disp(x);
m = size(A, 1);
n = size(A, 2);
// compute L
for i=1:m
for j=1:n
if j<i
L(i, j) = A(i, j);
else
L(i, j) = 0;
end
end
... |
15db449894cd9ce81922d2f37d65ebaa6a32b599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.26/EX8_26.sce | 3e5e9ae1b6a4ca8629747e6b31f0153944dbcbec | [] | 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 | 115 | sce | EX8_26.sce | //EXAMPLE-8-26 PG NO-543
R=15.86;
R1=10;
MA=R/R1;
disp('i) mid band gain = '+string (MA)+' ');
|
127949b6d77595fc6e7f071c160aea513ab9fa2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.2/7ex2.sci | e67aff1763c9a08c1035d7c80260a828ea7724bb | [] | 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 | 900 | sci | 7ex2.sci | disp('Experiment:three coins are tossed and the number of heads are observed')
S=[0,1,2,3]; //the sample space for the experiment where 0 implies no heads,1 implies only one head out of the three coins and so on
disp("the probability space is as follows ")
P0=1/8; //probability of getting no head on any of the ... |
c36c09696755a7463745a969f1220f82e84d1c91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH2/EX2.2/example_2_2.sce | a600dd2587c9cae1ec42937c7640fc7989b2a150 | [] | 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,131 | sce | example_2_2.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 2
// Heat Conduction in Solids
// Example 2.2
// Page 31
printf("Example 2.2, Page 31 \n\n")
d_i=0.02; // [m] inner radius
d_o=0.04; // [m] outer radius
r_i=d_i/2; // [m] inner radius
r_o=d_o/2; // [m] outer radius
k=0.58; // [w... |
8ed8f0c82edb296204dd67d47b027a417d6f747b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.42/example4_42.sce | 4a9c7306eb3197f10a9bb8de74c4b601e903017f | [] | 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 | 431 | sce | example4_42.sce |
//example 4.42
//calculate mean precipitaion using thiesson polygon method
clc;funcprot(0);
//given
a=4; //dimension of plot sides
P1=4.8;P2=13;P3=8;P4=5.4;P5=3.2;P6=9.4; //precipitaion at respective stations
A1=a^2/8+a^2/(4*1.73);
A2=a^2/8;
A3=A2;A4=A1;
A5=a^2/(4*1.73);
A6=a^2/2;
A=A1+... |
4583163bf7d4e0ff6f89866ace2c914811fc933e | 07bf6db3fade722ce6caf9bb9044a8de97fdec55 | /scripts/dag/vectorize.sce | 2e877f80fbbb196499c4cf87bcf288bbbeac6169 | [
"BSD-2-Clause"
] | permissive | rfabbri/minus | 8cce65a53e4afe617843aa8a8e31ee5dcee28cb2 | 21a847fd66c0d1ecb40962bce9c9b2c1a6df02fa | refs/heads/master | 2023-07-19T15:49:05.920669 | 2023-06-23T00:13:53 | 2023-06-23T00:13:53 | 172,530,430 | 39 | 8 | NOASSERTION | 2022-04-26T14:13:13 | 2019-02-25T15:19:04 | C++ | UTF-8 | Scilab | false | false | 3,432 | sce | vectorize.sce | // desired_sizes = [3 4 6 18 20 32 42 44 52];
desired_sizes = 10000;
poweroftwo = %f;
//min_ranksize = 10;
//max_ranksize = min_ranksize+30;
//min_ranksize = 0
//max_ranksize = 1000
vslp = [];
vslp = [vslp; 'using namespace Eigen;'];
// regenerate the vector expressions by traversing ranks
// TODO: minimum siz... |
784a57cc9cb3ee186b5f7bd4323e3d1950308147 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/EC35G.prev.tst | ecae512655b9b5b2030cb74a7ae90b02291ecc1f | [
"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 | 33,141 | tst | EC35G.prev.tst | gen 20 -14 -7 -17
gen 28 -21 -18 -19
gen 28 -19 -18 -21
gen 9 -6 -8 -1
gen 12 -9 1 -10
gen 20 -17 -14 -7
gen 103 -64 1 -94
gen 134 -95 -86 -97
gen 134 -97 -86 -95
gen 46 -37 -36 -3
gen 122 -101 -92 -19
gen 27 -24 -19 10
gen 39 -36 17 -26
gen 90 -59 -58 -69
gen 90 -6... |
cf8bd25d15d99daa3d67fed78cd2eacd309f7fae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH6/EX6.16/Ex6_16.sce | 78ab025be88b912503696973d833aa2b25a0a173 | [] | 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 | 712 | sce | Ex6_16.sce | clc,clear
//Example 6.16
//To convert from cartesian to polar coordinates
//part(a)
x=3 ;
y=4 ;
//53.13 is in same quadrant as(3,4)
r=sqrt(x^2+y^2) ;
theta=atand(y/x) ;
printf('PART A\n(r,theta)= %f,%f',r,theta) ;
printf('\nOR\n') ;
r=-sqrt(x^2+y^2) ;
//tan theta is +ve in 3rd quadrant
//so 180 + 53.33... |
2c7e6355ddb93b4e8f63dc0daafdd8f4b3f8c2ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH3/EX3.1/1.sce | a794d2fbdaad4b002585b6c9db83af23fb0cab84 | [] | 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 | 204 | sce | 1.sce | // Caption: Finding Torque acting on the rotor
close;
clc;
syms alpha;
I=10;//current
B_o=0.5;//magnetic field
R=0.1;
l=0.6;
T=2*I*B_o*R*l*sin(alpha);
disp(T,'Torque acting on the rotor='); |
7075cbc0b22c15118fc01e8ede6b7aeac308b5ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH9/EX9.1/Ch09Ex1.sci | f7cbe4c308481161c6927f8059f35cb581a68cbf | [] | 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 | 922 | sci | Ch09Ex1.sci | // Scilab Code Ex9.1 Exception of Dulong-Petit law at room temperature: Page-303(2010)
h = 6.626e-034; // Planck's constant, joule second
k = 1.38e-023; // Boltzmann constant, joule/mol/kelvin
T = 300; // Room temperature, kelvin
f_Ag = 4.0e+012; // Vibrational frequency for silver, cycles/second
f_Dia... |
5b3b7be0f3daf0ac6798ac093a46643ff63661de | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH21/EX21.28/21_28.sce | 08fab7bec31e894a0388d3878de640a63515a21b | [] | 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 | 949 | sce | 21_28.sce | //Problem 21.28: A 500 V shunt motor runs at its normal speed of 10 rev/s when the armature current is 120 A. The armature resistance is 0.2 ohm. (a) Determine the speed when the current is 60 A and a resistance of 0.5 ohm is connected in series with the armature, the shunt field remaining constant. (b) Determine th... |
f876be2c455eb6075c910492a2f1297128bd5feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH5/EX5.11/Example5_11.sce | 7cf55d9d950a4ffaea5a4520745d3dbd40e47c4a | [] | 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 | 655 | sce | Example5_11.sce | //Scilab Code for Example 5.11 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
wc=1;
y=1;
for n=-%pi:%pi/80:%pi
if n<-wc | n>wc then
X(1,y)=1;
y=y+1;
else X(1,y)=0;
y=y+1;
end
end
n=-%pi:%pi/80:%pi;
a = gca ();
a.y_location ="origin";
a.x_location ="origin"... |
f3a7e324a1ac2483e68b0f79f548cb465e28861a | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH8/EX8.4/example_8_4.sce | 9ecc064b510fb14a1bb588f20d6066ddf98a8f95 | [] | 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 | 157 | sce | example_8_4.sce | //Chapter 8
//Example 8-4
//ProbOnVoltageGain
//Page 223
clear;clc;
a = %i; //Infinity
Gain = 1+(2/a) ;
printf ( "\n\n Voltage Gain = %.4f ", Gain ) |
949d58a2db9b286c19d9cabecba4552fb1b82cd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH13/EX13.11/Ch13Ex11.sce | d45c3338fd2261bf3ca2600e6b07d6827913ac2d | [] | 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 | 696 | sce | Ch13Ex11.sce | // Scilab code Ex13.11: Pg 490 (2005)
clc; clear;
T_half = 5370*3.6e+07; // Half life of C-14, s
lambda = 0.693/T_half; // // Decay constant for C-14 disintegration, per sec
N_C12 = 6.02e+023/12*25; // Number of C-12 nuclei in 25.0 g of carbon
N0_C14 = 1.3e-012*N_C12; // Number of C-14 nuclei in 25.0 g of ... |
f710d2193a0b6ebb16c42e59f6a90b24e74784a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH7/EX7.9/eg7_9.sce | ff8d27df256040c4e310cb53f51c8437ab24d1d8 | [] | 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 | 767 | sce | eg7_9.sce | V1 = complex(10);
V2 = complex(10*cos(-%pi/3),10*sin(-%pi/3));
Z1 = complex(1,1);
Z2 = complex(1,-1);
Z3 = complex(1,2);
//by mesh analysis we get the following equations:
//I1*Z11 - I2*Z12 = V1
//-I1*Z21 + I2*Z22 = -V2; where I1 and I2 are the currrents flowing in the first and second meshes respectively
Z11... |
da3373d3cb1f66266c9292ebfe89f3eff90b5fe3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_16.tst | c596662ecdba4dddc61954f346884ce47059c982 | [] | 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 | 3,880 | tst | bow.15_16.tst | 15 13:1.0 63:0.5 83:0.05555555555555555 340:0.4 427:1.0 441:1.0 463:2.0 476:1.0 486:0.5 823:0.5
15 19:0.0625 41:1.0 47:0.25 63:0.5 131:1.0 155:1.0 179:1.0 187:0.5 272:1.0 276:1.0 354:1.0
15 1:0.09523809523809523 13:4.0 19:0.0625 41:1.0 46:0.25 63:1.5 90:0.2 99:0.3333333333333333 122:0.16666666666666666 179:1.0 250:0.33... |
b6905773e012dab4d74f1b65903a20db00f862d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.15/Ex2_15.sce | e93ab1cf573b4deebe1cee8ffe42fc838db5a4ec | [] | 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,775 | sce | Ex2_15.sce | clear
//
//
//Initilization of Variables
L=800 //mm //Length of bar
F1=30*10**3 //N //Force acting on the bar
F2=60*10**3 //N //force acting on the bar
L=800 //mm //Length of bar
d=25 //mm //diameter of bar
L_AC=275 //mm //Length of AC
L_CD=150 //mm //Length of CD
L_DB=375 //mm //Length of DB
E=2*10**5 //Pa //Modulu... |
4df1c15e9b91aff9905deb7700ff06550d3bf43f | e59f7b8d4c0c495a34f4dfd66df058aa9c228b7b | /Tools/01_Scripts/PlotAstos.sci | d3e91212814c9ac25d90e22908484701cd7cf9d4 | [] | no_license | maxxonair/BlueBook-Descent-and-Landing-Analysis-Toolkit-DaLAT | d1b2071adc584cbe1551090834cd01142beb0725 | 6c71c971c2aa62e9f81f3c00c211d80caf8680eb | refs/heads/master | 2021-07-13T07:26:26.655134 | 2020-05-30T11:28:41 | 2020-05-30T11:28:41 | 169,849,595 | 3 | 0 | null | 2020-05-30T11:28:43 | 2019-02-09T09:09:13 | Java | UTF-8 | Scilab | false | false | 2,141 | sci | PlotAstos.sci | clear
filename = fullfile('C:\Users\Max Braun\Documents\Max_Braun_2017\09_LunarExplorationAnalysis\02_Engineering\AscentStudy\', 'Astos.csv');
filename2 = fullfile('C:\Users\Max Braun\Documents\Max_Braun_2017\09_LunarExplorationAnalysis\02_Engineering\AscentStudy\', 'BB_mk3.txt');
ASTOS_ascent_01 = csvRead(filename, "... |
cdda6dff6c654227c7eb3e7b78f8b029c4fb9fa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.18/Ex3_18.sce | 277c82c278d0b3a600372d48d448b1b02dc73895 | [] | 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,193 | sce | Ex3_18.sce |
//Variable declaration
Idss=16 //drain current bias to zero(mA)
Vp=-4 //pinch off voltage(V)
Rg=1 //gate resistance(ohms)
Rs=2.2 //sourse resistance(ohm)
Vdd=9 //drain drain vol... |
d051dd0802c8de357ee28a6385dfc22222fa5054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH11/EX11.7/exa11_7.sce | 3d2451d8497459ef9dc3a58e72fc94548094b650 | [] | 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 | 608 | sce | exa11_7.sce | // Example 11.7
// Design of an Active Filter
f_l=200;
f_u=4000;
// f_l=1/(2*%pi*R1*C1) and f_u=1/(2*%pi*R_F*C_F)
// which limits the value of capacitance to
// 5nF<C_1<500nF and 0.25nF<C_F<25nF
// R_F= 1/(omega_u*C_F) and R_1=1/(omega_l*C_1)
// K=C_1/(20*C_F)
// thus i can increase the midband gain by taking ... |
15cbd4df3c872e321c50d62bce4cf7d93eddd9df | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH14/EX14.4/ex_14_4.sce | 1099a8e1a831867bd3911d032ce5fdc7fe5a5e3d | [] | 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 | 192 | sce | ex_14_4.sce |
clc
//solution
//given
//ref fig 14.1
W=50*10^3//N
L=100//mm
x=1.4//m
fb=100//N/mm^2
M=W*L//N-mm
//let d eb dia
//M=(%pi/32)*fb*d^3
d=(M/9.82)^(1/3)//mm
printf("the dia of axle is,%f mm\n",d) |
e342180ad1226bc7a1d7c5ed6aa05552b37d9d99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH10/EX10.1/ex10_1.sce | 1dcc21c068b78b548b30aefea957c8daacbe57c3 | [] | 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 | 200 | sce | ex10_1.sce | //Determine the gain of feedback amplifier
clear;
clc;
//soltion
//given
A=100; //internal gain
B=0.1;//feedback factor
Af=A/(1+A*B);
printf("The gain of feedback amplifier %.2f",Af);
|
88d079329fceba801bacfa0f342af3141362d2d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.36/5_36.sce | 8d8e9ef963e36269a9e5fa12136af4714bcafc87 | [] | 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 | 501 | sce | 5_36.sce | //Example 5.36
//Lagrange's Interpolation Method
//Page no. 176
clc;close;clear;
x=[7,8,9,10]
y=[3,1,1,9]
x0=9.5
printf('\tx\ty=f(x)\n-----------------------\n')
for i=1:4
printf('x%i\t%i\t %i\n',i-1,x(i),y(i))
end
p=1;p1=1;i=1;
for k=1:4
for j=1:4
if k~=j then
p=p*(x0-x(j)... |
03366c8a37d11104c881654eb906812e29a1f11a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.3/EX8_3.sce | 0a67bd9aa76590f4ebc7c9283dab24bc2ac4985c | [] | 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 | 576 | sce | EX8_3.sce | L=0.015; //INDUCTANCE
C=0.5*10^-6; //CAPACITOR
Z=200;
Fc=1/(4*%pi*(L*C)^0.5);
Z0=(L/C)^0.5;
Z2=(%i*2)*%pi*Z*L;
Z1=1/(%i*2*%pi*Z*C);
F1=2000;
Z01=[(Z1*Z2)/(1+(Z1/(4*Z2)))]^0.5;
A=8.147;
disp('ii) Impedance (ZO) is = '+string ([Z0]) +' W ');
disp('ii) FREQUENCY is = '+string... |
627b6a97ed57e6acbe2fb77d7479afdaaf8875cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.17/1_17.sce | 0a4e2966f67ee94de8b44ce8a70a5a93165acaa0 | [] | 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 | 488 | sce | 1_17.sce | //pathname=get_absolute_file_path('1.17.sce')
//filename=pathname+filesep()+'1.17-data.sci'
//exec(filename)
//Total volume(in m^3):
v=2+2
//Mass of air in container 1(in kg):
m1=20
//Mass of air in container 2(in kg):
m2=4
//Temperature of the system(in K):
t=300
//Gas constant for air(in J/kg-K):
R=287
/... |
1b1be21f46b0046c8b1ac1b3fb8cfb6ae32fa4f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1340/DEPENDENCIES/vector.sci | 00153f92b17276ca51c50fdefe546a14eeca434b | [] | 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 | 165 | sci | vector.sci | function [y,angle] = vector(a,b)
y = sqrt((real(a)-real(b))^2+(imag(a)-imag(b))^2);
angle = atan((imag(a)-imag(b)),(real(a)-real(b)))*180/%pi;
endfunction |
2ae8ede99fd9bef1da9b44bc097d62eb9159f994 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH17/EX17.1/ex_17_1.sce | 9ac6122834f6fa9ec5cb6b8a084b85444543eccd | [] | 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 | 408 | sce | ex_17_1.sce | //determine dia of the wheel
clc
//solution
//given
d=50//mm
p=12.5//mm
W=10000//N
D=60//mm
R=30//mm
u=0.15//tan(q)=u
u1=0.18
P1=100//N
//tan(a)=p/(%pi/d)=b=0.08
b=0.08
//P=W*tan(u+a)
//P=W*[(tan(a)+tan(q))/(1-tan(a)*tan(q))]
P=W*[(b+u)/(1-(b*u))]//N
T=(P*d/2)+(u1*W*R)//N-mm
//let D1 be dia of wheel
... |
431a7b8002409ff0f7bb9f1077eda1ae04a586dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH16/EX16.15/16_15.sce | 53b0fba91ae4f84a07ed2806cd5c0cb6fcc2d0d2 | [] | 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 | 255 | sce | 16_15.sce | pathname=get_absolute_file_path('16_15.sce')
filename=pathname+filesep()+'16_15data.sci'
exec(filename)
Nt=4*E*alpha*a*t*T0;
Mxt=2*E*alpha*t*T0*a^2;
Myt=-E*alpha*t*T0*a^2;
printf("\nNt: %f ",Nt);
printf("\nMxt: %f ",Mxt);
printf("\nMyt: %f ",Myt); |
8d909530748ad4fb0c48ba42a2f110421300d798 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.14/EX1_14.sce | 19b9d60bb6eb70a3810a2b47c82bbe06c2b2faa5 | [] | 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 | 554 | sce | EX1_14.sce | //EXAMPLE 1-14 PG NO-22
R1=4; //Resistance
R2=2; //Resistance
R3=8; //Resistance
RS=R1+R2; //resistance When Point A&B is short circuit
disp('i)resistance Wh... |
8572cba3caae6ff9721430cfe767c63bab0d7eaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH6/EX6.9/ex6_9.sce | a16505099a010f34146e269182f9dacb5eb662c9 | [] | 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 | 373 | sce | ex6_9.sce | //Part A Chapter 6 Example 9
clc;
clear;
close;
T1_HE=2000;//K
T2_HE=300;//K
T1=500;//K
T2=300;//K
Q1=integrate('0.05*T^2+0.10*T+0.085','T',T1,T2);//J
deltaS_system=integrate('0.05*T+0.10+0.085/T','T',T1,T2);//J/K
//Putting deltaS_system+deltaS_reservoir>=0
//deltaS_reservoir=(Q1-W)/T2
W=deltaS_system*T2-Q1... |
24e9546edb042b6dca2b2477ce0d799135651053 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH32/EX32.8/328.sce | 418971ff5b854b369f85ef2a8868521eec389032 | [] | 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 | 706 | sce | 328.sce | clc;
//Example 32.8
//page no 514
printf("Example 32.8 page no 514\n\n");
//a filter press is in operation
//we have to determine the appraisal value of the press
i=0.03375//intrest on fund
n=9//time,year
SFDF=i/((1+i)^n -1)//sinking fund depreciation factor
P=60000//cost of filter press,$
L=500//salvage valu... |
64e12c8b7d9068d8cbd13a04b2dd78cc3ec7854d | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/PrepAudioForProcessing.sci | 61ad0eef81125ea1c73c9aecc636324045b3484b | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sci | PrepAudioForProcessing.sci | function signal =PrepAudioForProcessing(signal, SamplingFreq)
signal = DownSampleTo3675(signal, SamplingFreq);
endfunction
function signalat3675 = DownSampleTo3675(signal, SamplingFreq)
select SamplingFreq
case 44100, signalat3675 = DownSample(signal, 12);
case 22100, signalat3675 = DownSample(s... |
199234c0a48211d4426fd894039b7d84dc9d6597 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.10_20.tst | d50f71b28ddab8ae18c9a6ae853d689c77a0d4b2 | [] | 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 | 15,749 | tst | bow.10_20.tst | 10 26:0.25 101:0.14285714285714285 130:0.5 445:1.0 763:1.0 1156:1.0
10 30:1.0 47:1.0 48:1.0 101:0.14285714285714285 191:0.1111111111111111 239:1.0 313:1.0 605:1.0 653:1.0 654:1.0 660:1.0 1518:1.0 2296:1.0
10 5:0.5 46:0.25 73:0.125 101:0.14285714285714285 220:1.0 925:1.0
10 39:0.1111111111111111 48:1.0 72:2.0 191:0.2222... |
da169f11ceda1eb5b63acc2a54df315f3d0401df | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH3/EX3.14/example_3_14.sce | 1fbdc3198fa7c1cc698931293908145af90a6541 | [] | 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,124 | sce | example_3_14.sce | //Chapter 3
//Example 3-14
//ProbOnVoltageGain
//Page 62,63, Figure 3-11
clear;clc;
//Given
Rf = 40*10^3;
R1 = 10*10^3;
//Example 3-14(a)
Acl = (Rf + R1)/R1;
printf("\n\n Value of Voltage Gain = %.4f \n\n",Acl)
//Example 3-14(b)
x=[0 2.5 5 7.5 10]
y=[-2 0 2 0 -2]
subplot(2,2,1)
a=gca()
a.thickness = 1... |
0e37f4c4d72de8da9c29cd09678b1c845ae1966c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH12/EX12.9/ex12_9.sce | 3643ffbb67097ff7c936f208bafa65a5f5bf3b91 | [] | 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 | 535 | sce | ex12_9.sce | //Transmission Lines : example 12-9 : (pg 599)
j=%i;
RL=120;//load resistance from smith chart
ZL=75+j*50;//load impedance
Z0=50;//characteristic impedance
a=75/Z0;
y=50/Z0;//normalized load impedance
z=2.4;//normalized z at a point that is purely resistive
ar=z*Z0;//actual resistance
x=sqrt(Z0*RL);
printf("\... |
5873ebf038cbbf5e5a09f6046875d0dce033faca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.25/M_Ex_3_25.sce | a7307b99c2b75a76c87840fa3198b217eff5cbc1 | [] | 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 | 584 | sce | M_Ex_3_25.sce | clc
//Chapter3: Modulation
//Example3.25, pageno 175
//Given
//em=3sin(2*pi*1000t)+5cos(2*pi*3000t)
//ec=50sin(2*pi*500e3*t)
m1=0.06//(sine wave amplitude/ peak carrier voltage)
m2=0.1//(cosine wave amplitude/ peak carrier voltage)
Vc=50//Carrier voltage
R=50//load resistance
Pc=(Vc^2)/(2*R)//Peak carrier pow... |
55be14443564a11252faf40f25b6169bdfb9563c | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bsc/test_1.sce | 513b0a1a0e526a98ba539af28e64df9f480a65ec | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./allpasslp2bsc.sci',-1);
[n,d]=allpasslp2bsc();
//!--error 10000
//Number of input arguments should be 2
//at line 28 of function allpasslp2bsc called by :
//[n,d]=allpasslp2bsc();
|
9e826ee725180d2f0cbb935675de5e0949bf2c35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.45/Ex1_45.sce | 3b79bf8dcd6a2ea8a6b7632a4e8f05ff8237a9d7 | [] | 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,060 | sce | Ex1_45.sce | clc;
v1=10; // voltage applied to primary when secondary is short circuited
ip=60; // primary current when secondary is short circuited
k=0.8; // turns ratio
E1=250; // input voltage for load voltage has to be calculated
E2=200; // rated voltage of secondary
il=100; // load current
pfo=0.24; // power factor duri... |
210fcdc3c623218ff6f76cb61e3fee13ab40d05f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.17_15.tst | 5992ccb62f45ab74ea5e9078b3ece0e7ec27870d | [] | 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 | 605,000 | tst | 5.17_15.tst | 17 1104:1 1121:1 1156:1 1855:1 1886:1 2245:1 3137:1 3537:1 3607:1 4199:1 4777:1 5414:1 5452:1 5802:1 5962:1 6580:1 6739:1 7075:1 7234:1 7362:1 7532:1 8406:1 10238:1 10389:1 10457:1 10563:1 10743:1 12317:1 12623:1 12711:1 12875:1 13247:1 14012:1 14049:1 14492:1 15050:1 15366:1 15449:1 15618:1 15943:1 16011:1 16188:1 162... |
67b335ceeb114532364485af2999f0276e929d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH6/EX6.2/Ex6_2.sce | fb9cd8c5130556ed438643b2917ccd23d2b866a6 | [] | 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 | 774 | sce | Ex6_2.sce |
clc
clear
//Input data
t=60;//The temperature of water while supplying it to desuperheater in degree centigrade
ws=200;//The amount of steam carrying in a steam line in t/h
p=35;//The pressure of steam in bar
ts=400;//The temperature to be maintained by the steam in degree centigrade
to=450;//The outlet tempera... |
4f8874a7e2c806b74d1cd9ae40084abaacd74165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH6/EX6.1/S_6_1.sce | c8a9c9bb3bfc6e916bc284ae17ce32af623a5d09 | [] | 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 | 823 | sce | S_6_1.sce | clc;
//Entire truss
//Applying sum(M_C)=0
E=(10*12+5*6)/3;//kN
//Applying sum Fx=0
Cx=0
//Applying sumFy=0
Cy=10+5-E;//kN
//At joint A
//By proportion 10kN/4=F_AB/3=F_AD/5
F_AB=10/4*3;//kN, force in member AB
F_DA=10/4*5;//kN, force in member AD
//At joint D
F_DB=F_DA;//kN, force in member DB
F_... |
2d4699b1fbd32fbf89d4078a4f06bf3470c6a748 | 4a12429e81234c5b957efa71fdec67e9ec829479 | /contact/Implicit_exo.sce | dc7f52c10f95a91896ffd03de9c4436cf49ca074 | [] | no_license | agoryu/M3DA | c94d51fafbbb9443f20318eba1251057f6cbb728 | aeb9b8701fdf439460e237d5e832d85e07e3cc3a | refs/heads/master | 2021-01-18T23:58:47.060425 | 2015-12-18T16:59:46 | 2015-12-18T16:59:46 | 42,066,671 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,477 | sce | Implicit_exo.sce | getd();
global noeuds;
global noeudsDeplaces;
global g ;
global m ;
global k;
global dt;
global segments;
global L0;
global _MYDATA_;
function [value] = cost(dV)
numNoeuds = size(noeuds,2);
F_t = zeros(2*numNoeuds,1);
// force inertielle + gravité
for i=... |
4fa1d5dc446bbdec2c5e6a464d3dfe5461ba3b37 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_co_bfa_mt_d/~BivLCM-SR-bfas_co_bfa_mt_d-PLin-VLin.tst | 0bcf87041d37d1616663e2d42b68bcad3a0523cf | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_co_bfa_mt_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.286667D+00
2 -0.363952D-02 0.229918D-02
3 0.702521D-01 -0.26597... |
041ffe2efa044b90d3f23953a16c7b5def8a527d | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.35/ex_4_35.sce | 0126b46d914d3c2545817eacb1b50a9e6e4e8288 | [] | 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 | 180 | sce | ex_4_35.sce | //unilateral z-transform
clear;
clc;
syms n z a;
x=a^n;
X=symsum(x*z^-n,n,0,%inf)
disp(X,"ans=")
//x[n]=a^(n+1)*u[n+1]
x=a^(n+1);
X=symsum(x*z^-n,n,0,%inf)
disp(X,"ans=") |
96a9ed6c91d5221d6e5d28c9a12c116c864bc334 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/pgm13.sci | 6c1c32dc0c577dc7f8398a2feb4afd76606e0b37 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sci | pgm13.sci | function [x, y] = pgm13(a, b, n, initialCondition)
h = (b-a)/n;
y = [];
x = [];
x(1) = a;
y(1) = initialCondition;
for i=1:n
x(i+1) = x(i) + h;
y(i+1) = y(i) + h * pgm14(x(i), y(i));
end
endfunction
|
fb3bc5c0b08b6a05c5a9b472dfe559412a67a49e | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH3/EX3.19/example3_19_TACC.sce | 54ec435561e9fe256b9a7f1f7362ec2fb82b5cc4 | [] | 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 | 532 | sce | example3_19_TACC.sce | //example 3.19
clear;
clc;
//Given:
H1=-84.68;//heat of formation : 2C(s)+3H2(g)->C2H6(g) [KJ/mol]
H2=2*716.68;//heat of formation : 2C(s)->2C(g) [KJ]
H3=3*436;//heat of formation : 3H2(g)->6H(g) [KJ]
H4=412;//taking it as bond energy for one C-H bond[KJ/mol]
//to find the C-C bond energy in ethane bond... |
f6c25a10b151f9e2abf88b5feb3c77330f57b359 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH5/EX5.4/Ex5_4.sce | 718fd8520956ca6f6f0bdee787b1fd29d60e0b97 | [] | 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 | 461 | sce | Ex5_4.sce | // Example 5.4
clc;
clear;
close;
// Given data
format('v',5);
f= 700;// in Hz
C= 0.01;// in µF (assumed)
C= C*10^-6;// in F
// For 50% duty cycle, Ton= Toff = T/2 and R_A= R_B
// From equation, f= 1.44/((R_A+R_B)*C)= 1.44/(2*R_A*C)
R_A= 1.44/(2*f*C);// in Ω
R_A= R_A*10^-3;// in kΩ
R_B= R_A;// in kΩ
C= C*... |
cad48319989b788449b3f352711a5b50fa5740ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH14/EX14.3/ex14_3.sce | 151f489b408be8e2e2f7d3b3e7b0ea63b136bb50 | [] | 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 | 676 | sce | ex14_3.sce | //Example 14.3
clc;
//Given Data
//All resistences in ohm
R1=2200;
Rf=10000;
R=120000;
Ra=R;
Rb=R;
Rc=R;
a=-1000; //Temperature coefficient in k/deg C
E=5; //applied potential to bridge in V
Rt=120000;
//At 25 deg C Bridge is balanced
//as all bridge elements have same value
//At 0 deg C
... |
11807432846b074d4e3764b01958c64706cedc04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.12/Ex7_12.sce | 1e0d8f35ab7fe889d8cd6d0f1fa7ec8602e2dba9 | [] | 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 | 461 | sce | Ex7_12.sce | // Example 7.12
clc;
clear;
close;
// Given data
format('v',6);
R= 10*10^3;// in Ω
C1= 0.1*10^-6;// in F
C2= 0.0025*10^-6;// in F
f_H= 1/(2*%pi*R*C2);//higher cut-off frequency in Hz
f_H= f_H*10^-3;// in kHz
f_L= 1/(2*%pi*R*C1);//lower cut-off frequency in Hz
BW= f_H-f_L*10^-3;// bandwidth in kHz
disp(f_... |
fb6fdeb1c557ad8db98bab587bd79a7aefe189ae | 12636981a5302a614e1005bab7d20fa7e4fcda56 | /Raizes de polinômios/Juros-financiamento.sce | c99ec5644a99d328c3161a1d6b00e1452b244339 | [] | no_license | willcribeiro/CN | 080593d5b9ce2f3ea04a6bee2f9df9abde77bc17 | d2329b39ac26221e544b497c88f3e2a2799118d6 | refs/heads/master | 2020-05-24T22:56:53.422197 | 2017-04-18T12:22:52 | 2017-04-18T12:22:52 | 84,888,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Juros-financiamento.sce | clc
clear
function P1=f1(j) //Função juros 1
P1=65000*(j./(1-(1+j).^(-48)))-1860
endfunction
function P2=f2(k) // Função Juros 2
P2=65000*(k./(1-(1+k).^(-60)))-1640
endfunction
//j=0:0.001:1
//plot(j,f1(j))
k=0:0.001:1
plot(k,f2(k))
|
db4d2780fb915813ea0ab1113a4731ea351e605d | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH3/EX3.11/Ex3_11.sce | c6df722064206970a7a65d0b2e2a276ee9a498b2 | [] | 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 | 375 | sce | Ex3_11.sce | clc
//Initialization of variables
D = 850 //kg/m^3
R = (0.06/0.10)^2
Qs = 0.005 // m^3/s
Ql = 0.05 // m^3/s
A2 = (%pi)*(0.06^2)/4 // m^2
// Calculations
Ds = (Qs^2)*(D)*(1 - R^2)/(2*(A2)^2) // N/m^2
Dl = (Ql^2)*(D)*(1 - R^2)/(2*(A2)^2) // N/m^2
// results
printf (" the pressure differnce range is %.2f kPa... |
4c69e98e2cf4b9269b56a4fe3fd194cb0f2ad48d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%spe.sci | c6ddc90a4a744433e5c8d377c85cf1b29f984002 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 137 | sci | %spe.sci | function r=%spe(i,j,a)
// r=a(i,j) for f sparse in some special cases
//!
[lhs,rhs]=argn(0)
if rhs==2 then
a=j;
a=a(:)
r=a(i)
end
|
bbfa2fd99e471b9f20a02b542e53a70cd0f7f2d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.21/5_21.sce | 34f374a7d7769b14852322ff03c3d72f4b9b34d6 | [] | 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 | 225 | sce | 5_21.sce | //ques-5.21
//Calculating pH of given NaOH solution
clc
M=10^-8;//molarity of NaOH
D=M^2+4*(10^-14);//discriminant
x=(-M+sqrt(D))/2;//content of hydrogen ion
p=-log10(x);
printf("pH of given NaOH sample is %.2f.",p);
|
305e493c62e20e052c0bb85de17056f4f2b25a84 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /ak47 onetaps.sce | 47268eab82dc82f019520f8a542d7911d15e8898 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29,399 | sce | ak47 onetaps.sce | Name=ak47 onetaps
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=kovaim1.map
MapScale=4.0
BlockProjectilePredictors=true
BlockCheats=true... |
864e0fca78921747d155b6a21e45774cf6c90593 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/specs/scilab/rlocus_ex1-old.sce | 312d3d943992782cd0065a76191528f6da524507 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | rlocus_ex1-old.sce | H = tf(1,[1 -1 0],-1);
evans(H)
H = tf(1,[1 -1 1 0],-1);
evans(H) // Default
xset('window',1)
evans(H,5) // kmax = 5
k=-1/real(horner(H,[1,%i]*locate(1)))
|
fdfec26d837e4d2511d61d10d0562c7c052f17c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH6/EX6.7/Example_6_7.sce | ed4c8fe09147d888d2e1733a4c20bce1b1c57b52 | [] | 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 | Example_6_7.sce | //Example 6.7
clear;
clc;
//Given
NA=6.023*(10^23);//avogadros number
W=6;//number of orientations
n=1;//moles present
N=NA;//number of particles
R=8.314;//gas constant in J mol^-1 K^-1
//To determine the residual entropy of a crystal in which the molecules can adapt 6 orientations of equal energy at 0 K
... |
61404687ecb3644b93e438b2ea6062d241384915 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/demo_examples/example_inputs.sce | 71f3f6dc1a76c93c42f4b51f5f07a1169701e86c | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,460 | sce | example_inputs.sce | dac_adc_in=(0.2:0.1:2.1);
lpf_in=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1.2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];
t=0:(1/2000):1.5;
f0=logspace(0.1,2,length(t));
myVariable_chirp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.