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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
506d9b82172b90fd07ca90277200fbe9b7fe365b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH17/EX17.4/Ex17_4.sce | 9835a88e31e36eb4008acedf75653e095a4fd13a | [] | 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,063 | sce | Ex17_4.sce | //Example 17_4 page no:834
clc;
//given
k=500;
fc=10000;
m=0.4;
//Calculating the impedence and capacitance
L=k/(4*%pi*fc);
C=1/(4*%pi*fc*k);
//calculating T-section elements
C1=2*C/m;
L1=L/m;
C2=(4*m)*C/(1-m^2);
C1=C1*10^6;//converting to microFarad
L1=L1*1000;//converting to milliHenry
C2=C2*10^6;//con... |
8d7c666730c794917a5c4b8054157905e5acfe86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.30/Ex3_30.sce | adeb108e04b9bdcedcf196af1e0c666090978cfa | [] | 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 | 544 | sce | Ex3_30.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.30
//Data given in the Problem
dens=1000
g=9.81
b=1
y0=9
//Calculations
//1)
h=y0/2
A=y0*1
F_x=dens*g*A*h
mprintf("The thrust is %f N in x direction \n",F_x)
//2)
F_y=dens... |
c8e3e6b2e02b97297f619674eb8703ed08b16df3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.22/ex2_22.sce | 35336dad63bbb44f3186955c90638f86393e1743 | [] | 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 | 286 | sce | ex2_22.sce | //chapter 2
printf("\n");
dl=1/40;
Im=125;
Rloss=1;
Rrad=80*(%pi)^2*(dl)^2;
printf("the Radiation resistance is %gohm",Rrad);
Irms=Im/sqrt(2);
Prad=Rrad*(Irms)^2;
printf("\nthe Power radiated is %gW",Prad);
n=Rrad/(Rrad+Rloss);
printf("\nthe radiation efficiency is %g",n);
|
61f11d8e054fb9fdd8fdebcae0f9495b5446d796 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.17/Ex2_17.sce | d6124090761b5ab0a595518a2c349e801dd9aa78 | [] | 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 | 566 | sce | Ex2_17.sce | //Ex_2_17
clc;
clear;
close;
format('v',5);
//given data :
CD=10/100;BE=10/100;AF=10/100;//m
BC=8/100;ED=8/100;AB=8/100;EF=8/100;//m
BCDE=BC+CD+ED;//m
BAFE=AB+BE+EF;//m
A=2*2*10^-4;//m^2
mu_r=1200;///relative permeability
N=800;//turns
fi2=2*10^-3;//Wb
mu0=4*%pi*10^-7;//permeability of air
S2=BAFE/(mu0*m... |
6284c620beeaef198e7ea5e1ab6d9d6cf33bbbfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH8/EX8.3/Ex8_3.sce | c0eecce6ab6ae37aad2e46ae341690bd55e6b750 | [] | 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 | 362 | sce | Ex8_3.sce | clear;
clc;
//Example 8.3
Rcsnk=1;//degree celsius per watt
Rsamb=5;//degree celsius per watt
Tjmax=175;//maximum junction temperature
Toc=25;
Tamb=25;
Pr=20;//rated power W
Rdcase=(Tjmax-Toc)/Pr;
printf('\ndevice to case thermal resistance=%.2f °C/W\n',Rdcase)
P=(Tjmax-Tamb)/(Rdcase+Rcsnk+Rsamb);
printf('\... |
54fdfef464a8180eeb1292c3ef9080dfbc2ee2ca | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/binomial/binocdf.tst | 4a634607aab957f96d06202094a5995b2b088b41 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,412 | tst | binocdf.tst | // Copyright (C) 2012 - Prateek Papriwal
//
//
// 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 terms
// are also available at
// http://www.cecill.info/licences/Licence_... |
011d75af9c3927aabbe76353eaaa51fff6879efb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH15/EX15.5/15_5.sce | 5e443a8bd33e5a4cc97120fccd273fb923fc8176 | [] | 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 | 123 | sce | 15_5.sce | clc
//initialisation of variables
Ka= 1.772*10^-4
//CALCULATIONS
pK= -log10(Ka)
//RESULTS
printf ('pKa = %.2f ',pK)
|
36a06ccc163e4b32bb81b71f96f3d0f681377347 | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/ClusterTest.sce | 2503e4b05cfc6355ef36c34b623a8ab7f8331062 | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,447 | sce | ClusterTest.sce | //definitions
DEFINE_DBG=0;
DEFINE_MFCC = 0;
DEFINE_PC1_PC3=1;
TRAINING_RATE=0.6;
PC1=11;
PC2=12;
PC3=13;
PC4=14;
MFCC1=15;
MFCC2=16;
Vc=1;
f=2;
d=3;
configuration=zeros(5,3,4);
configuration(:,:,1)=[1 2 3; 1 4 3; 1 8 3; 1 16 3;1 32 3];
configuration(:,:,2)=[2 2 3; 2 4 3; 2 8 3; 2 16 3;2 32 3];
configuration(:,:,3)=[3... |
0c9f6ffce700044c99895498e57f398744820225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.13/13.sce | 78d593d1db78d3ff29d21acfdaefc2ba194be34c | [] | 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 | 13.sce |
//Variable declaration
Vt=0.0258
mu_n=1300
mu_p=500
//Calculations
Dn=Vt*mu_n
Dp=Vt*mu_p
//Result
printf('Dn = %0.3f cm**2 s**-1 \n',Dn)
printf('Dp = %0.3f cm**2 s**-1 \n',Dp) |
e1c009d1b63617879b1292fec8f401ac40f8c1ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.18/Ex5_18.sce | f95c8e35637b14a9761ffe698144231316553e61 | [] | 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 | 150 | sce | Ex5_18.sce | clear
//Given
l=1.001
A=1.001
//Calculation
R=l*A
R1=R-1
A=R1*100
//Result
printf("\n Percentage change in its resistance is %0.1f percentage",A)
|
9ee9319bc8d2ff2557034df098fc144e0ff1b889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH10/EX10.10/ex_10.sce | f17aee1372accf25617738bfe4b158f7943f7cd8 | [] | 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 | 332 | sce | ex_10.sce | //Example 10 // Frequencies
clc;
clear;
close;
//given data :
l=2;// in m
v=3560;// in m/s
r=0.004;// in m
k=r/2;
v1=%pi*v*k*3.011^2/(8*l^2);
disp(v1,"The frequency,v1(Hz) = ")
v2=%pi*v*k*5^2/(8*l^2);
disp(v2,"The frequency of first overtone,v2(Hz) = ")
v3=%pi*v*k*7^2/(8*l^2);
disp(v3,"The frequency of second overtone,... |
6bde3f33134f81d20098d24e0b39425b9609a6a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH8/EX8.8/Example8_8.sce | 5c0e6b3746bfc2eb93523f7b922e1b152ac37f53 | [] | 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 | 869 | sce | Example8_8.sce | //Example 8.8
//Program to determine:
//(a)Optical gain of the device
//(b)Common emitter current gain
clear;
clc ;
close ;
//Given data
eeta=0.40; //*100 percent - QUANTUM EFFICIENCY
e=1.602*10^(-19); //Coulumbs - CHARGE OF AN ELECTRON
h=6.626*10^(-34); ... |
0ff11ccf70e4a0719d3cb13a0e0dfb1b56bf7e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.53/Example1_53.sce | b45550e6497de8da0bd54fdf8b9fc799f88ab031 | [] | 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 | 480 | sce | Example1_53.sce | // Example 1.53
clear; clc; close;
format('v',6);
// Given data
IscByIfl=5;//ratio
Sf=5;//in %
K=50;//tapping in %
//Calculations
Sf=Sf/100;//Slip
//(i) Start delta
TstByTfl=1/3*IscByIfl^2*Sf;//ratio
disp("(i) Starting torque is "+string(TstByTfl*100)+"% of full load torque.");
//(ii) Auto Transfor... |
02b2249148ccb9edcd44924ef23f4599d950ff9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH12/EX12.10/12_10.sce | 24df1a6bf65c81a1ae25eb497d3e3217e7784be1 | [] | 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 | 469 | sce | 12_10.sce | clear//
//Variables
VS = 12.0 //Source coltage (in volts)
R = 470.0 //Resistance (in ohm)
//Calculation
VD = 0 //Voltage drop across diode (in volts)
VR = VS //Value of VR (in volts)
I = VS/R //Current (in... |
8abd7942ff3209658314ed78fa8aadcddcd333f6 | 0aacc4aca603f61e9ac05bdb6de5b3b783f797fe | /Mission-U1/U1_Laplacien.sci | 5fab82232e87144336f766d39236f4616997b61b | [] | no_license | ZHamsiou/EXOLIFE-A2 | cf6001f744bf26109af2b552ecc2fe055ab8efd7 | 675a20670231c2a0a6c73333c988b1e651cab264 | refs/heads/master | 2021-04-29T19:18:23.002372 | 2018-02-16T03:22:18 | 2018-02-16T03:22:18 | 121,710,650 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sci | U1_Laplacien.sci | // Lecture de l'image
img=readpbm('U1.pbm');
//Définition de matrice de convulution laplacienne
filtre=[0,-1,0;-1,4,-1;0,-1,0];
//Application de la convultion.
imgc=conv2(img,filtre,'same');
//Affichage de l'image finale
display_gray(imgc);
|
4cecc523fb4f325d06af9a66642a614dcd6b7b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH5/EX5.12/Ex5_12.sce | 1f98ba667648364cf20f73f0bb8b7de8514433cd | [] | 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 | 395 | sce | Ex5_12.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 5 Bipolar Transistor Biasing Pg no. 165
clear;
clc;
//Given Data
//Figure 5.26
RL=10;//load resistance in ohms which is dc resistance of primary coil of transistor
R=20D3;//base collector parallel resistance in ohms
B=90;//DC CE current gain beta
//Solution... |
dc004a3e4efa88778a31d859c3c91dd794f9c861 | 2e768d577a9279039672816cbc408828923ec86d | /macros/roiFreeHand.sci~ | be987208602fece10de7d7e6077ce4e3e56e8ac8 | [] | no_license | rg77/FOSSEE-Image-Processing-Toolbox | 3eebdad59f6bef3ee1d01f42d19ccbe798a05f8e | 6e18569e0bdeba9e75387b404fd9aeb3caf1a30d | refs/heads/master | 2020-12-02T16:16:35.016043 | 2017-07-07T12:39:05 | 2017-07-07T12:45:50 | 96,527,784 | 0 | 0 | null | 2017-07-07T10:25:25 | 2017-07-07T10:25:24 | null | UTF-8 | Scilab | false | false | 14,103 | roiFreeHand.sci~ | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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 terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... | |
08f8c53986f0d1b56a14c244afeb826333dcc3c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH7/EX7.4/Ex7_4.sce | 423682c4bf1bff96c4f05541bd25e4321c615850 | [] | 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 | 271 | sce | Ex7_4.sce | clc;
clear;
A=114 //effective Richardson constant A/K^2*cm^2
e=1.6*10^-19 //in J
T=300 //in K
phi_Bn=0.82 //in eV
const=0.026 //value for kT/e in V
//Calculation
J0=A*T^2*exp(-(phi_Bn/const))
mprintf("Reverse saturation current density= %1.2e A/cm^2",J0)
|
cb90cf88f0958d604decccc83e8eb9729295c67f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH3/EX3.14/Ex3_14.sce | c7b3af64cde8c106ac0300be6e85d442872868f5 | [] | 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 | Ex3_14.sce | //Example 3.14:
clc;
clear;
close;
//given data :
alfa=0.992;// constant
Beta=alfa/(1-alfa);
format('v',5)
disp(Beta,"(a) Beta= ")
I_CBO=48*10^-9;// in A
I_CEO=(1+Beta)*I_CBO*10^6;
format('v',3)
disp(I_CEO,"(a) I_CEO (micro-A) = ")
Ib=30*10^-6;// in A
Ic=((Beta*Ib)+(1+Beta)*I_CBO)*10^3;
format('v',5)
disp(Ic,"(b) Coll... |
8f196d0995a4ecafb3c1908c9893acf0b3563d4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH12/EX12.9/Ch12Ex9.sce | 644613b67c2c221a004dd2a4078a05f5122d01dc | [] | 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 | Ch12Ex9.sce | // Scilab Code Ex12.9 : Page-607 (2011)
clc; clear;
n = 50;....// Total number of cycles per sec, Hz
V = 1e-03;....// Volume of the specimen, metre cube
t = 1;....// Time during which the loss occurs, s
A = 0.25e+03;....// Area of B-H loop, joule per metre cube
E = n*V*A*t; // Energy loss due to hysteresis, J/... |
1a2f1e52a9fecea5044240b5d03fc8d061e5770d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/unique.man.tst | 77196dc78f5492d10e75022be0ccd87574b4095b | [
"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 | 110 | tst | unique.man.tst | clear;lines(0);
M=round(2*rand(20,1));
unique(M)
[N,k]=unique(M)
unique(string(M))
[N,k]=unique(string(M))
|
091101c6634ebb78d7e1d1aae8ff03bd0e42a5cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH6/EX6.12/Ex6_12.sce | aa11fa46cd8a35f74480e6e35f91ef1557813434 | [] | 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 | 723 | sce | Ex6_12.sce | //=============================================================================================
// chapter 6 example 12
clc;
clear;
//input data
d1 = 0.05; //inner diametr in m
d2 = 0.07; //outer diameter in m
l = 2000; //length in m
p = 6*10^12; //specific resistance in ohm-m
... |
afd5e8e5845f9096177944f183cfa2ee2df06437 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.5/3_5.sce | 1fe8be0f0a0dcad0f5f1a5210cfcc4a687a2c36c | [] | 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 | 663 | sce | 3_5.sce | clc,clear
printf('Example 3.5\n\n')
V=250
I_av=10
V_av=(240+220)/2 //average voltage across load
W_dash=V_av*I_av //Power absorbed
t1=25,t2=6
R_sh=200,R_a=0.3//resistance of field winding and armature
W=W_dash*t2/(t1-t2) //Stray Losses
I_l=25 //Input current
I_sh=V/R_sh //current through field winding... |
318f62207e99c579e5fe4f008786bee81909148a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH1/EX1.9/Ex1_9.sce | d538b6108d74ce071b4b835a4de3bc43a975ed59 | [] | 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 | 401 | sce | Ex1_9.sce | clear
// Variable declaration
R_i=0.3// The inside surface resistance in (m**2 K)/W
R_c=1/2.8// The thermal conductance of plastered surface in (m**2 K)/W
R_o=0.05// The outside surface resistance in (m**2 K)/W
// Calculation
R_t=R_i+R_c+R_o// The total thermal resistance in (m**2 K)/W
U=1/R_t// The overall transmitta... |
1660f845e5f4946622a7242051ba117a9a9c5916 | 189317284c359f59c635a4494221a1e29a603c9a | /Montante.sce | 28d9786c54fc73c65dbe64451759864eecd29561 | [] | no_license | sdkvictor/Scilab-Programs | 6f316a0d143ce6e754a13858e3e6c30ae6c8d99c | 7aae73a5996535406311027efa8c4e3e46f45640 | refs/heads/master | 2020-04-25T05:22:36.591339 | 2019-02-25T17:20:36 | 2019-02-25T17:20:36 | 172,540,701 | 0 | 0 | null | 2019-02-25T16:19:25 | 2019-02-25T16:19:25 | null | UTF-8 | Scilab | false | false | 179 | sce | Montante.sce | function X = Montante(MAT)
pivote = 0
for(i = 1:size(MAT,1)
end
endfunction
MAT = input("Da la matriz")
X = Montante(MAT)
disp(X)
|
fccdb88ad9852ce09bf69ef100ebeaefe82ca678 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/no_index_02.tst | 22b4cb8cb26d1215890bea8f30646ba38aaa36f1 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | tst | no_index_02.tst | // @Harness: verifier
// @Purpose: "Test that indexing is applied only to the appropriate types"
// @Result: "TypeDoesNotSupportIndex @ 7:13"
architecture no_index_01 {
enum E { r = 0 }
subroutine foo(e: E): void {
local foo: int = e[0];
}
}
|
723692fbdf3ae73c14fb6849f8fa1f28e8c47c99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.20.b/20_b.sce | b891d6cd1043b6cbf30577c8d1528eabcf42875c | [] | 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 | 330 | sce | 20_b.sce | //decimal to signed binary number//
//example 20.b//
clc
//clears the command window//
clear
//clears//
//decimal to signed binary number system//
x=-29
a=dec2bin(-x)
//decimal to binary conversion//
a=dec2bin(-x+bin2dec('100000'))
disp('the answer is:')
disp(a)
//since the number is negative it starts wi... |
139671da0ba58eae73caa89498d3d7c40e6360cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH8/EX8.4/Ex8_4.sce | 6a71b78e621b4d049071ace860fb4cd3aa46c68b | [] | 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 | 264 | sce | Ex8_4.sce | clc
//to calculate wavelength
n=2 //second order for longest wavelength
d=2.82*10^-10 // spacing in angstrom
sintheta=1
lambdamax=2*d*sintheta/n
disp("the longest wavelength that can be analysed by a rock salt crystal is lambdamax="+string(lambdamax)+"m")
|
2118f584e264e9510d1d47845fd74e810d76e03a | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH2/EX2.1.b/solution2_1.sce | ab892e3cbf561ae12b1fbfd917eb8f94c3e885e7 | [] | 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,626 | sce | solution2_1.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution2_1.sce')
//Obtain path of data file
datapath = path + filesep() + 'data2_1.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate weightage points for all materials
//U - Ultimate tensile strength, H - Hardenability index... |
1ebff264a2d8d2ef2937bac4298b3ebe5fc583cd | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD6/Scripts/tentative1.sce | 6e4810b4185e81c9e58911c2ff5ae5765d7b48fc | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,220 | sce | tentative1.sce | function [Q1, Q2, Q3] = aleaProp(Tmax, lambda, mu)
Q1 = [0, 0, 0]; Q2 = Q1; Q3 = Q1;
i = 0;
ta = 0;
while (ta < Tmax)
ia = randExp(1, lambda)
i = i+1
ta = ta + ia
nq = num_serv()
ts = randExp(1, mu(nq))
select nq
case 1
Q1 = insere(Q1... |
188915a571f477f2cf588eeb2072c1efcdee4f1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH25/EX25.8/Example25_8.sce | 5a9061b52b968f9ef2a01c90818d5470f43b900d | [] | 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,644 | sce | Example25_8.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 18: POWER DISTRIBUTION SYSTEMS
// EXAMPLE : 18.8 :
// Page number 442-443
clear ; clc ; close ; // Clear the work space ... |
3f1afe9d109b8720e8de57d062b694022c6ce802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH2/EX2.3.8/2_3_8.sci | 91e9da307246bd39c5d1ebf0fbc48a40957c7376 | [] | 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 | 355 | sci | 2_3_8.sci | //page 93
clear;
close;
clc;
disp('Here,the vector v1 by itself is linearly independent , but it fails to span R2.The three vectors v1,v2,v3 certainly span R2, but are not independent. Any two of these vectors say v1 and v2 have both properties -they span and they are independent.So they form a basis.(A vector space do... |
aa77189ea05d0d3a200f6cd5bc80f3eccc4f34e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH1/EX1.6/Solved6.sci | 6447da8857ed69cb1aca11ca5a02cad1d07cccc8 | [] | 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 | 920 | sci | Solved6.sci | //Solved Example 8:
//Checking for the equality of 2 rational numbers by reducing them
function[]=equal(x1,x2,x3,x4)
rational1=struct('numerator',x1,'denominator',x2)
rational2=struct('numerator',x3,'denominator',x4)
y=0
if(rational1.numerator>rational1.denominator)
a=rational1.numerator;
b=rational1.de... |
ca9920b9d10995b6367b18c0691c116674a2ae84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH7/EX7.3/7_3.sce | 0a603fa2c7313ad3c21337a43cc8e58cbfef9ff2 | [] | 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 | 614 | sce | 7_3.sce | //To find the velocity
clc
//Given:
NAO=600 //rpm
OA=28/1000,BD=46/1000 //m
//Solution:
//Refer Fig. 7.10
//Calculating the angular velocity of crank AO
omegaAO=2*%pi*NAO/60 //rad/s
//Calculating the velocity of A with respect to O
vAO=omegaAO*OA //m/s
vA=vAO
//By measurement from the velocity diagram, Fig.... |
46af56f702525922f30a2fa7a8b43173d6dd61e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.19/Exa2_19.sce | 1c49078cdada091ad309d1f415a7c23d1d20267f | [] | 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 | 259 | sce | Exa2_19.sce | //Exa 2.19
clc;
clear;
close;
//Given data :
VCC=20;//in volt
VBE=0.7;//in volt(For Si)
Beta=50;//unitless
RE=200;//in ohm
R1=60;//in kohm
R2=30;//in kohm
V2=VCC*R2/(R1+R2);//in volt
VEO=V2-VBE;//in volt
disp(VEO,"Voltage across RE in volt : "); |
26439897c434471a808da3eaf715b2f5a5e8a26d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH28/EX28.6/ques6.sce | 01e21167eae592d358a04e9a62999e6338466bd5 | [] | 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 | 654 | sce | ques6.sce | //ques5
clear
clc
disp('Here c^2=1 , h=1/3 , k=1/36 , therefore t=(c^2)*k/(h^2)=1/4');
disp('So bendre-schmidits recurrence relation ie u(i)(j+1)=1/4(u(i-1)(j)+u(i+1)(j)+2u(i,j)');
disp('Now since u(0,t)=0=u(1,t) therefore u(0,i)=0 and u(1,j)=0 and u(x,0)=sin(%pi)x');
c=1;
h=1/3;
k=1/36;
t=(c^2)*k/(h^2);
A=... |
047b6c85357717fde145e110d8452d229f66e9f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH9/EX9.5/Ex9_5.sce | 92706c109f4c09c19f69048927abcdbe5018090d | [] | 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 | 438 | sce | Ex9_5.sce | clc
// initialization of variables
clear
P=120 //kN
b1=120 //mm
b2=120 //mm
h1=48 //mm
h2=24 //mm
P=P*10^3
A=h1*b1+b2*h2
R=(b1*h1*96+b2*h2*180)/A
Am=b1*log(b1/72)+h2*log(240/b2)
r=72
Mx=364*P
S_thB=P/A+(Mx*(A-r*Am))/(A*r*(R*Am-A))
r1=120 //mm
t=24 //mm
A1=h1*r1
Am1=r1*log(r1/r)
S_rr=(A*Am1-A1*Am)*M... |
e6cbc9fc755913ec5f84d7223c1e9fc55403ee75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH8/EX8.1/Ex8_1.sce | a0c4b9e37ab386bd5b036b6173e6197aeb91372e | [] | 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 | 319 | sce | Ex8_1.sce | clear;
clc;
d = 6;//inches
b = 3/4;//inch
P = 18;//tons
e = 1/8;//inch
A = b*d;//sq.in
M = P*e;//ton-in
Z = (1/6)*b*d^2;//in^3
p_0 = P/A;// tons/in^2
p_b = M/Z;// ton/in^2
p_max = p_0+p_b;// tons/in^2
p_min = p_0-p_b;// tons/in^2
printf('p_max = %.1f tons/in^2.,tensile\n p_min = %.1f tons/in^2.,tensile',p_max,p_min);
|
6e3578f14a92107a03ea422cf0befa06648247f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.17/i_17.sce | bf838785f7b41ba1b43fb4178f46347b93485746 | [] | 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 | 920 | sce | i_17.sce | // To calculate current in each branch of the given network.
clc;
clear;
// Refer diagram (a) in the book
R1=6;// one of the resistance between a and b
R2=3;// one of the resistance between a and b
R3=8;// resistance between c and a
R4=15;// resistance in the middle branch
R5=4;// resistance between d a... |
be931d419cc784d2fc02f2422a4c70c9f4a6410d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.40/ex2_40.sce | 21228a84266f0a5f9cc07dbb11de964367086f33 | [] | 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 | 252 | sce | ex2_40.sce | // Example 2.40 page no-127
clear
clc
T=301.6
vt=T*1000/11600
vf=50 //mV
vr=-50 //mV
k=(%e^(vf/vt)-1)/(%e^(vr/vt)-1)
printf("\nratio=%.2f\nNegative sign is oecause, the direction of \ncurrent is opposite when the diode is reverse biased",k)
|
4f82c45140d21e205368862c36411dc7fad8c968 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/CuspPt.sci | 33f1d80763c9ef74f3ee14a953a6ed703acfd6a0 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | sci | CuspPt.sci | // 08.09.10
function Out=CuspPt()
global CUSPPT
Out=CUSPPT;
endfunction;
|
9d6e8adf1ca08de024ca0f0aaf0e0f67688c8f32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH4/EX9/cha4_9.sce | 265470a21188a3f747eb6ba49703b548522990ec | [] | 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 | 310 | sce | cha4_9.sce | Iarated=100;Vt=100;
Ra=0.1;
Ia1=200;
Ia = 25;
Iastart=Vt/Ra
Rae=(Vt-20)/(200)
Ea2=Vt-Iarated*(Ra+Rae)
Rae2=(Vt-Ea2-20)/(200)
Ea3=Vt-Ia*(Ra+Rae2)
Ea3=Vt-Iarated*(Ra+Rae2)
Rae3=(Vt-Ea3-20)/200
Ea4=Vt-Iarated*(Ra+Rae3)
Rae4=(Vt-Ea4-20)/200
Ia=(Vt-Ea4)/Ra
R1=Rae-Rae2
R2=Rae2-Rae3
R3=Rae3-Rae4 |
a9a9989cf24ad817579cbc1eec361209dc8619d8 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Miscellaneous/Exercise 3 Variation/Exercise 3a.sce | ac8aba7ac630aabccdcaa1d31a74d4718c59b8f2 | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,786 | sce | Exercise 3a.sce | //====================================================================
// Exercise 3: Short Surface Gravity Waves
// Animation of equivalent vertical displacements of pressure surfaces
//====================================================================
// Author: Jochen Kaempf, March 2015 (update)
f = gcf(); ... |
ed664eafc5ebbfb43c5dab2e1204468fb81ab6c3 | 352a2b6c7e8e0fbc76f9dacb222075df0cc1bbc6 | /TP3/viterbi.sci | 4425a6e9c0ffd116e90b61f03494f6d0632e9381 | [] | no_license | BenFradet/RO05 | 443dd2807b521eefdd65ff901d25b46bce8a0838 | 0aa5855de282bfccacae999536f1424a303ca72e | refs/heads/master | 2020-06-06T17:45:47.138916 | 2014-12-18T15:32:12 | 2014-12-18T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sci | viterbi.sci | function[mostProbableStatePath, positionsStatesMatrix] = viterbi(...
sequence, ...
transitionMatrix, ...
emissionMatrix)
// Author: Benjamin Fradet
exec('makeViterbiMatrix.sci', -1);
viterbi = makeViterbiMatrix(sequence, transitionMatrix, emissionMatrix);
// finds the state wit... |
7aaf4f56e18756978064bd5ccc908a3b4a3374f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH1/EX1.1/1_1.sce | 8790081be5c69eca325b8b1e28e555dfa20691f7 | [] | 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 | 150 | sce | 1_1.sce | clc
//initialisation of variables
d=1000//m
h=60//min
//CALCULATIONS
V=d/h*(2/3)//m/min
//RESULTS
printf('The unit of velocity =% f m/min',V)
|
eb854a0a52018119b2592603a20180968f5458ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH2/EX2.12/Ex_2_12.sce | 67e91ca5b8c4f5fd3de7880f3a0f559bec2bc756 | [] | 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 | 565 | sce | Ex_2_12.sce | //Example 2_12
clc;
clear;close;
//Given data:
Vs=230;//V
f=50;//Hz
alfa=90;//degree
//Solution :
Vm=Vs*sqrt(2);//V
Vdc=Vm/%pi*(1+cosd(alfa))//V
disp(Vdc,"Vdc in V");
Vrms=Vm/sqrt(2)*sqrt(1/%pi*[%pi-%pi/2+sin(%pi)/2]);//V
disp(Vrms,"Vrms in V");
Is_by_I=sqrt(1-%pi/2/%pi);
Is1_by_I=2*sqrt(2)/%pi*cos(%... |
99ec4bc6a98af7e3fa410eeafeca875b2f56270a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH5/EX5.3/EX_5_3.sce | 37a5941677fdca190b20b5514c734ece83436983 | [] | 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 | EX_5_3.sce | //Example 5.3 // resistance of the heater element
clc;
clear;
close;
w=15;// in kg
t1=15;// in degree celsius
t2=100;//in degree celsius
t=25;// time in minutes
I=10;// in ampere
n=85;//efficiency of conversion in percentage
ho=w*(t2-t1);//output heat required in kcal
R=((ho*4187*100)/(I^2*t*60*n));// resistance in ohm... |
ca5abe606dc5766502e04f1326edf546f05e2b6c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/file.man.tst | 749cdf4a0ef1bbf0b0515b25870ef592831d5324 | [
"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 | 243 | tst | file.man.tst | clear;lines(0);
u=file('open',TMPDIR+'/foo','unknown')
for k=1:4
a=rand(1,4)
write(u,a)
end
file('rewind',u)
x=read(u,2,4)
file('close',u)
//
file('close',file() ) //closes all opened files (C or Fortran type).
//
[units,typs,nams]=file()
|
d2b89da95931ef7abfb762237919cc884ce32639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH6/EX6.23/Ex6_23.sce | d93dc86f72dfd3ec31b8c7a175cd69b97e55d550 | [] | 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 | 805 | sce | Ex6_23.sce | clear
//
//
//Initilization of Variables
K=5 //N/mm //Stiffness
L=100 //mm //Solid Length
q_s=60 //N/mm**2 //Max shear stress
W=200 //N //Max Load
G=80*10**3 //N/mm**2
//Calculations
//K=W*dell**-1
//After substituting values and further simplifying we get
//d=0.004*R**3*n ........(1) //mm //Diameter of wire
//n=... |
997dbbcb63d097c4aabb3638b7ff272484c9f726 | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/stereoCalibrateAndRect.sci | e48eb0df4e078c34c126468fbb914dc98654bf80 | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 4,022 | sci | stereoCalibrateAndRect.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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 terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
a47e2ab014ba778fc7818e8fd1e7c52c9d6180e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH5/EX5.1/Exp_5_1.sce | d6066c2c425d246814a549194f7e1e3e35e778a8 | [] | 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 | 779 | sce | Exp_5_1.sce | //Optical Fiber communication by A selvarajan
//example 5.1
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
optical_power=10*10^-6//optical power in W
R=0.5//Responsivity in A/W
Is=optical_power*R//shot noise current in A
Id=2*10^-9//dark current in A
Rl=1e6//Load resistance in ohm
B=1... |
9d99594508c8a757105146c18118293bb5ee610f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH11/EX11.3/11_3.sce | dab85e4e27606f2d0761d624d62638502c3b168d | [] | 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 | 189 | sce | 11_3.sce | clc
//initialisation of variables
P1= 2000 //in^3
T= 80 //F
T1= 250 //F
//CALCULATIONS
P2= (P1+14.7)*(460+T1)/(T+460)
P3= P2-14.7
//RESULTS
printf ('guage pressure = %.f psi',P3)
|
d96b184c18adad51859e9e7a3c196277c487336f | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH4/EX4.14/4_14.sce | 8785b761ba888d584838b0420898d3b512a76a58 | [] | 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 | 336 | sce | 4_14.sce | //Eg-4.14
//pg-179
clear
clc
deff('[z]=f(x)','z=4*x^3+3*x^2+2*x+1');
deriv=0;
a=[1 2 3 4];
F5=feval(5,f);
F=a(4);
x=5;
for i=1:3
deriv=deriv*x+F;
F=F*x+a(4-i);
end
printf('The value of the function at x = 5 is %f\n',F5)
printf(' The value of the derivative of the function at x = 5 i... |
19a5f7a59dab3be4bca384558ff6d420485485a4 | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/makeGraph.sci | 0e38c4f02c8298fc70dc8f24f41e029ca29aca34 | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,756 | sci | makeGraph.sci |
// Creates an edge list from a diagram objects list.
// An edge is a tuple which elements are: source sink block event_source etc.
function graph = makeGraph(objs, link_list)
graph = tlist(['graph', 'edge', 'node'], list(), list())
[edge_list, node_count] = makeEdgeList(objs, link_list)
no... |
0748a99e3702162ab471f7c9fe7087af1c2f8754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH11/EX11.6/11_6.sce | 7e405f55241c17aa9286e71da79ee63cdf3d1667 | [] | 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 | 483 | sce | 11_6.sce | clear;
clc;
//Example - 11.6
//Page number - 390
printf("Example - 11.6 and Page number - 390\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 11.6 on page number 390 of the book.
printf(" This problem involves provi... |
42b4c97da1b73c58893a74b854de8bd0a6fb2b6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.21/ex4_21.sce | 6ff4746b96a797d24f72b02e7645c46e18831f52 | [] | 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 | 243 | sce | ex4_21.sce | // Exa 4.21
clc;
clear;
close;
format('v',5)
// Given data
g_m = 2500;// in µS
g_m = g_m * 10^-6;// in S
R_L = 12;// in k ohm
R_L = R_L * 10^3;// in ohm
//Av = -g_m*(r_d||R_D||R_L);
Av = -g_m*R_L;
disp(Av,"The voltage gain is");
|
a376d05ce2dbe41cc0f4d4a87925b7c13024f501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH12/EX12.4/89ex1.sce | e6cf3f5665519467367d3f8add016c57a238b1bd | [] | 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 | 954 | sce | 89ex1.sce |
//Given: For model A, material(m) cost(c)=4$,labour(l) 5$,profit(p) 5$.For model B, m=3$, l=9$,p=6$.Altogether 240$ for m and 450$ for l.
clc;
clear;
clf();
//let a is number of model A and b for model B to be made
//constraints on m & l as pair of ineqalities 4a+3b<=240,5a+9b<=450.maximize the profit 5a+6b
a=l... |
ac44c6efaa379de65ce9e9b64058a99d41cc2530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH13/EX13.3/Ex13_3.sce | b745b3501096bcf7bf1e8be787bc5446c1e84a40 | [] | 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 | 688 | sce | Ex13_3.sce | // Ex13_3 Page:259 (2014)
clc;clear;
mu_0 = 4*%pi*1e-007; // Magnetic permeability, H/m
e = 1.6e-019; // Charge on an electron, C
m = 9.1e-031; // Mass of an electron, kg
Z = 1; // Atomic number of the material
a = 2.55e-010; // Lattice constant of cubic structure, m
chi_dia = -5.6e-006; // Dia... |
83a524f561cedc20837e9a0c80b5659bc87b0420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.22/example10_22.sce | 34975e8fa5499b5bbd6e2462995b68da11e115b2 | [] | 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 | 928 | sce | example10_22.sce | //clc()
N = 100;//moles ( Basis - Fresh feed )
Pconv = 20;//%
xco = 0.33;
xh2 = 0.665;
xch4 = 0.005;
//R - recycle stream, P - purge stream
//x - mole fraction of CO in recycle stream ,
xch4r = 0.03;
//CO = x, H2 = 1 - xch4r - CO = 0.97- x;
//methane balance over the entire system,
P = xch4 * N / xch4r;
/... |
0b6125eada97bc027836523405867e158369319b | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/tanh_block.sci | 9c6db781d8d2970de8b8bd5f0d6f4ac61b70bcb9 | [] | 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 | 2,077 | sci | tanh_block.sci | function [x,y,typ]=tanh_block(job,arg1,arg2)
// Copyright INRIA
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
... |
7f0dfd3f13e818cf93c3e74123440b96c1a9c934 | 9e8ee5cada387d28d7b64dd58a1d43add9abf855 | /Test/examples/notany.tst | 701045ee8d768e5d58640a45ca997811a80068fb | [
"MIT"
] | permissive | nvitucci/pyke | 2804504666cdf0bd3219daa6a1aca8a58d4bfdb8 | dc4fc6056a3d2bb701cda645359dcb92332d7f51 | refs/heads/master | 2023-04-01T17:21:59.906819 | 2021-04-16T23:20:00 | 2021-04-16T23:20:00 | 267,141,385 | 7 | 3 | MIT | 2021-04-20T21:26:38 | 2020-05-26T20:09:55 | Python | UTF-8 | Scilab | false | false | 780 | tst | notany.tst | # notany.tst
>>> import sys
>>> import pyke
>>> import os
>>> new_path = os.path.join(os.path.dirname(os.path.dirname(pyke.__file__)),
... 'examples/notany')
>>> sys.path.append(new_path)
>>> import driver
>>> driver.fc_test()
egon has no uncle
ralf has... |
183f280822cc5e8ba16d5aee8d4d4fe0e64dc22d | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH8/EX8.13/13.sce | 86735e71e9446e065ef6fdd921329ee36e619d14 | [] | 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 | 231 | sce | 13.sce | clc
H2=0.5; //m
H1=2; //m
A=4; //m^2
f=0.005;
L=20; //m
d=0.025; //m
g=9.81; // m/s^2
a=%pi*d^2/4;
t=integrate('-A*sqrt((4*f*L/d)+2.5)/a/(sqrt(2*g))*(H)^(-1/2)', 'H', H1, H2);
disp("Time taken =")
disp(t)
disp("s") |
3506bc6942539350cfbc35c996ff283dd249ebbf | b5b8080da626573a49252737f2fd67dca771b156 | /0_include.tst | 031b9b59024e0305649c06882eca99e08e58976c | [] | no_license | GabrielYSirat/GPU | 6cd378854d02b2d39f73db0307fe3b51c71baed2 | a64bf434d687ddc90453afefea6441fc91333efc | refs/heads/master | 2021-08-30T07:11:51.429075 | 2017-12-16T16:41:44 | 2017-12-16T16:41:44 | 114,474,856 | 0 | 0 | null | 2017-12-16T16:41:45 | 2017-12-16T16:31:10 | C++ | UTF-8 | Scilab | false | false | 257 | tst | 0_include.tst | //#define STARTDEVICE // OK
//#define TESTTHREADS // OK
#define TESTDISTRIBDEVICE OK
//#define TESTSCRATCH // NOT WORKING
//#define DISTRIBPOS
//#define OFFSET
//#define TESTAGG
//#define PSCRATCHTEST
#define TESTDISVAL
#define DISTRIBVAL
#define TESTSIMU |
9e0aa13fcf8d936e0a0a91f171944da3f1d077e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH8/EX8.2/TL_Ex_8_2.sce | e8a08a17e6c08d520fe358fedec1461b46be5927 | [] | 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 | 513 | sce | TL_Ex_8_2.sce | clc
//Chapter8
//Example8.2, page no 314
//Given
v=3e8// velocty of light
f=1.2e6// Operating Freq
lambda=v/f
//disp(lambda)
l=100// length of the Tx-Line
phi=2*(%pi*l)/(lambda)// Phase shift in degrees
Zo=500// Characteristic impedance
//a Open circuited Line
Zin=-%i*Zo*(cos(phi)/sin(phi))
//b Short c... |
960db68531a35640d25c2ef9cbf6843c6b8a25ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH4/EX4.11/4_11.sce | b8da7df28727bddd093f59e1188ecd4530fb6187 | [] | 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 | 672 | sce | 4_11.sce | //clear//
clc
clear
exec("4__11.sci");
t = 0:1:500;
function w=f(t,C)
w =zeros(4,1);
v = v0+v00*t;
w(1)= -k*C(1)*C(2)-v00*C(1)/v;
w(2) = -k*C(1)*C(2)+v00*(Cb0-C(2))/v;
w(3) = k*C(1)*C(2)-v00*C(3)/v;
w(4) = k*C(1)*C(2)-v00*C(4)/v;
endfunction
x=ode([.049;0;0;0],t0,t,f);
l1=x(1,: )'
l2=x... |
b1a22d7fcae328ae6edf4256b992906afebb0221 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH2/EX2.4/2_4.sce | 7ec97f99128dee8ff880fdf60e00de0f755825ba | [] | 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 | 2_4.sce | clc
//Initialization of variables
z1=1 //in
z2=2 //in
z3=2 //in
sOil=0.8
sWater=1
Pa=3 //psi
//calculations
Pd=(Pa) + (z2+z1)*sOil*62.4/144 + 62.4*z3/144
Fa=Pa*144*%pi*z3^2
Fb=sOil*62.4*(z2+z1-(z2+z3)*z2/((z2+z1)*%pi))*(%pi*z3^2 /2)
Fc=sOil*62.4*(z2+z1)*(%pi*z3^2 /2)
Fd=62.4*(z2+z3)*z2/((z2+z1)*%pi)*(%pi*... |
e8b32d95498af57f84d88fc544b29711fe0ea2e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH5/EX5.7/Ex5_7.sce | 549cdc666068b93b36fc63ac4bfb36e1355780d7 | [] | 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 | 516 | sce | Ex5_7.sce | clc
//Chapter5
//Ex_7
//Given
Nd=10^15 //in cm^-3
Nc=2.8*10^19 //in cm^-3
Ti=556 // in Kelvin
k=8.62*10^-5 //in eV/K
delta_E=0.045 //in eV
T=300 //in kelvin
//part(a)
disp("From fig 5.16 the estimated temperature above which the si sample behaves as if intrinsic is 556 Kelvin")
//part(b)
Ts=delta_E/(k*log(... |
ef07af7a4dc3c2c1f94dd60aae1d3ade35d8d960 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.6.a/data10_6.sci | 589d2666645e6df504a390866aacd506c9a58e0e | [] | 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 | 526 | sci | data10_6.sci |
//(Springs) Example 10.6
//Velocity of the railway wagon v (m/s)
v = 1.5
//Mass of the wagon m (kg)
m = 1500
//Spring compression delta (mm)
delta = 150
//Spring index C
C = 6
//Ultimate tensile strength of the spring material Sut (N/mm2)
Sut = 1250
//Rigidity modulus of the material G (N/mm2)
G = 81370
//For plain en... |
205e0be9a0f80996c42dae8d9329f496527dabe1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/W05.prev.tst | 7061e4fc7fb572a4e1c787aff8d91f4781f87cbc | [
"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 | 4,194 | tst | W05.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8" />
<meta name="rob... |
a519dd7a8484a7f30f2cf3a7651ac7bf5f27297c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH5/EX5.5/Ex5_5.sce | 0819fa57636ebbce191d5e223fd0ef1b39dd0942 | [] | 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 | Ex5_5.sce | //Example 5.5:
clc;
clear;
close;
//given data :
n=10;//turn ratio
Rl=10;//ohm
Rld=n^2*Rl;//in ohm
Ic=100;//in mA
Irms=Ic/(sqrt(2));//in mA
P=Irms^2*Rld;//in W
format('v',3)
disp(P*10^-6,"maximum power output is ,(W)=")
|
b05b6c664077d10e350e6a18c813ac5554106581 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/findHomography.sci | 2cfe4a083e82e7a2cd2a8a3a69f06b1ce0559458 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 2,532 | sci | findHomography.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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 terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
d99335ced4fa4abc36becdd3961c1179c6971d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH7/EX7.9/example7_9.sce | 9e942a99342b90bc6c936f3a0aa3316daccf499c | [] | 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 | 541 | sce | example7_9.sce | clear;
clc;
// Stoichiometry
// Chapter 7
// Combustion
// Example 7.9
// Page 465
printf("Example 7.9, Page 465 \n \n");
// solution
// using mean heat capacity data Table 7.21
// basis 100 kmol of dry flue gas
H7 = 1.0875*100*30.31*(423.15-298.15)
H71 = 3633.654*(423.15-298.15)
fi7 = H71*3900*.... |
9e192025ba53c02a6ace2d3ccfd7ac7544622709 | 2707da68619819d8105f9ae472647dc578c75730 | /MethodOfLoopCurrent.sci | 447c8e61bd7a385d22f5222a733b3fe5a20c8604 | [
"Apache-2.0"
] | permissive | KrayzeX/ToE | 1aa62db747841e960fb47fbd59e38c6afa3a0723 | ad81dd433c0d3b23ebb00f0e65095ab6c1bed34e | refs/heads/master | 2020-05-26T09:19:33.970171 | 2017-06-02T08:50:16 | 2017-06-02T08:50:16 | 82,474,743 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,751 | sci | MethodOfLoopCurrent.sci | //Модуль, реализующий метод контурных токов
//В качестве параметров принимает контурную матрицу, матрицу сопротивлений ветвей,
//матрицу ЭДС источников, матрицу источников тока. Возвращает матрицу контурных токов.
//УПРОЩЁННЫЙ МКТ - ТОЛЬКО ДЛЯ ЦЕПЕЙ С ОДНИМ ИТ
//В данном модуле введено представление для ИТ и ИН в... |
15d57e642d041f56f8549221a8a39b4e2f10f307 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH20/EX20.9/example_20_9.sce | ae0676194e439d62a1473af8bf9b2a92d5fa61f8 | [] | 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 | 411 | sce | example_20_9.sce | clear;
clc;
disp("--------------Example 20.9----------------")
offset = 100;
HLEN=5;
total_length_field=100; // 100 bytes
first_byte=offset*8; // formula
header_bytes=HLEN*4; // formula
data_bytes=total_length_field-header_bytes; // formula
last_byte=first_byte+data_bytes-1; // formula
printf("The first byte ... |
c298dd52cb138e961f86a9766b0ccb9870f38ad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH19/EX19.4/Ex19_4.sce | 3e0565e7dfa488f93c846bed64b7382aab3e7558 | [] | 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 | 401 | sce | Ex19_4.sce | clear
//Given
v=-80.0 //cm
//Calculation
f=v
P=100/f
//Result
printf("\n (a) Power of the lens is %0.3f D", P)
printf("\n (b) No the corrective lens is concave and it reduces the size of the image. Because it bring the object at the far point of the eye")
printf("\n (c) The myopic person may hav... |
c116f5fb4b52e0ba90fc7adc1b55c6a25fb7bb44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH7/EX7.13/7_13.sce | 4a8b12a74a8bc42431902263e07fa94bcd7aace0 | [] | 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 | 852 | sce | 7_13.sce | //Example 7.13
//Newtons Backward Formula
//Page no. 248
clc;close;clear;
printf(' x\t y\t d\t d2\t d3\t d4\t d5\n')
printf('--------------------------------------------------------')
h=0.5;
deff('y=f2(x)','y=(z(x,4)-z(x,5)+z(x,6))/h^2')
z=[1.5,3.375;2,7;2.5,13.625;3,24;3.5,38.875;4,59];
for i=1:6
... |
07b8b39bb919ace07fbc7b34f019dd8adc0b7b84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH3/EX3.3/ex3.sce | 553842dae740fc13c69fc7a73e8eccfc9c73c3a0 | [] | 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 | 327 | sce | ex3.sce | //Example 3.3 : Evaluating junction scaling constant
//i-I_S*exp(v/(n*V_T)) implies I_S=i*exp(-v/(n*V_T))
n=1;
i=10^-3; // (A)
v=700; // (V)
V_T=25; // (V)
I_S=i*exp(-v/(n*V_T))
disp(I_S,"I_S (A) for n=1")
n=2;
I_S=i*exp(-v/(n*V_T))
disp(I_S,"I_S (A) for n=2")
disp("These values implies I_S is 1000 times gre... |
b12aadccca50609942728ad772f5a1c589cf0840 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.1/ex4_1.sce | bd7b471fe43b307ce7093dcbc279174d5822d971 | [] | 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 | 716 | sce | ex4_1.sce | //Example 4.1
clc
//use of several input output library functions
//c,d are cahracter type variables
//x, y float variables
// i, j, k, int type variables
printf("Enter character: ")
c=scanf("%1c"); //character input
printf("Enter folating point number: ... |
1699e1802026d111fe8e0dcd6c1ec82875c03b24 | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH6/EX6.4/Ex6_4.sce | 95466731ec9d9a9577fac9fb9ab466e5fd6e55f6 | [] | 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 | 322 | sce | Ex6_4.sce | //Example 6.4
//Program to c a l c u l a t e Twiddle f a c t o r exponent s f o r each s t a g e
clc ;
N =32; //Given
// Ca l c u l a t i o n o f Twiddle f a c t o r exponent s f o r each s t a g e
for m =1:5
disp (m, ' St a g e : m =' );
disp ( ' k =' );
for t =0:(2^(m -1) -1)
k=N*t/2^m;
disp(k);
end
end
... |
c454006b17832edf5499d110c25f880a2d751e7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH22/EX22.6/C22P6.sce | e81bb10aa44b64f80a82ccc8b07682c1fa73a7f7 | [] | 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 | 636 | sce | C22P6.sce | clear
clc
//to find fraction of molecules having speed in range 599-601m/s
//Given:
//temperature
T = 300//in K
//molar mass of oxygen
M = 0.032//in Kg/mol
//molar gas constant
R = 8.31//in J/mol.K
//velocity
v = 600//in m/s
//Solution:
//fraction of molecules having speed in range 599-601m/s
//differ... |
7356a14f95ed98d1ee57eadd1fa21dae0f455181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH7/EX7.9/Ex7_9.sce | ad4ef22aea05cb212a0bdc9b891226e4d2bd3352 | [] | 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 | 788 | sce | Ex7_9.sce | //Example 7.9
clc
clear
function [I] = simp13 (fun,a,b,n)
// Integrate the function over the interval using Simpson's 1/3rd rule
// simp13 (fun,a,b,n)
// fun - function to be integrated
// a - lower limit of integration
// b - upper limit of integration
// n - No. of times simpson's 1/3rd rule needs to be ... |
8aff3e5bbe477e894bb97aaa18090741dc462755 | cd4d8e3b52c054f74913b7e71046f85f5446331c | /Projecte_3R_extra.sce | 650c6d7f6d7dc3d670b432090bcada4117207647 | [] | no_license | Betuuxxii/C_Projecte3R_MR | 0a7fc5e5ab68cd71ed7342f100d4fae2f1b98c0a | ab0972daf1b4670a370e99e0f31366e138aa12f4 | refs/heads/master | 2020-12-10T00:23:52.838876 | 2020-01-12T21:00:19 | 2020-01-12T21:00:19 | 233,457,463 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,714 | sce | Projecte_3R_extra.sce | //Definició de variables
L1 = 0.62
L2 = 0.57
g1 = 0.1
g2 = 0.2
g3 = 0.3
x = 0.9
y = -0.2
gamma = 0
mL1 = 4
mL2 = 3
mEE = 2
//----------------------------------TOTES LES FUNCIONS-----------------------------------//
// ----------------------Function inverse kinematics----------------------------//
function[theta1,th... |
321a714b7db1370d30ef13b9e8db8792567f4968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH4/EX4.14/ex4_14.sci | 24e456b2136c2d51f368281b4bf5c21658dba18e | [] | 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 | 849 | sci | ex4_14.sci | funcprot(0)
function [polar] = rect2polar(x,y) //Function to convert rectangular coordinates to polar coordinates
polar=ones(1,2)
polar(1)=sqrt((x^2)+(y^2))
polar(2)=atan(y/x)
polar(2)=(polar(2)*180)/%pi
endfunction
clc
//Refer to the data given in the question
P=10.44*10^3 //Power in kWh
Vl=2... |
7ddfb6886b05a0e8661dc42e18deb984583c61f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH12/EX12.10/Ex12_10.sce | 31260aee0f814c9e55d9fd547e9ae904f3108519 | [] | 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 | 575 | sce | Ex12_10.sce | clear
//Given
A_1 = 0.125 //sq.in , The area of the crossection of AB
A_2 = 0.219 //sq.in , The area of the crossection of BC
l_1 = 3*(5**0.5) //in , The length of AB
l_2 = 6*(2**0.5) //in , The length of BC
p = 3 //k , Force acting on the system
E = 10.6*(10**3) //ksi - youngs m... |
03fc831a46a7f151dba38be8d18d0639b51863c6 | 3975bf371bc347ed099b97b899a824cdefb3600a | /Scenarios/Face Perception N170.sce | b70cdac5e092675461ccbed51226c7dfb0ee2328 | [] | no_license | emailyc/Face-Perception-N170 | 994759c20ae7f42b7fd667fa9abcb579912c2e9f | 5ca4328f17d4d59969f8d0cca8981d8af4bcbbcb | refs/heads/master | 2020-03-21T08:59:21.966028 | 2018-06-23T07:08:09 | 2018-06-23T07:08:09 | 138,377,626 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 88,089 | sce | Face Perception N170.sce | # -------------------------- Header Parameters --------------------------
scenario = "Face Perception N170";
active_buttons = 2;
no_logfile = false;
response_logging = log_active;
response_matching = simple_matching;
button_codes= 1, 2;
target_button_codes = 9, 0;
write_codes = true;
pulse_width = 6;
resp... |
47f11ae36ee7b8b7f5007e01641f51914d0d7e88 | 9e57423395d669e8526d4e6145939b9a3be2518f | /Others/gpca.completo.sci | bf4cc79776cd773c745c95662564d5f5a812e37c | [] | no_license | ronas/GPCAZ | 4ab88728a9dcf73eb2550ec2e89d82ba49ae8a7a | f4d0e50f6365c065c4b123b71502e7f339244cb2 | refs/heads/master | 2016-09-05T12:32:25.193710 | 2013-02-09T21:10:10 | 2013-02-09T21:10:10 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 2,695 | sci | gpca.completo.sci |
A1 = {1,1,2;4,8,6;0,2,3}
A2 = {6,8,5;3,5,7;2,2,3}
A3 = {2,3,8;2,2,8;1,5,3}
A4 = {1,1,2;4,8,6;0,2,3}
A5 = {6,8,5;3,5,7;2,2,3}
A6 = {2,3,8;2,2,8;1,5,3}
n=3;
for i = 1:n,
for j = 1:n,
M(i,j) = (A1(i,j) + A2(i,j) + A3(i,j) + A4(i,j) + A5(i,j) + A6(i,j))/6;
end;
end
M
Atil1 = A1 - M
Atil2 = A2 - M
A... |
ed10c1b849c8f453ed717d3496850957d0bd230f | 8515a296e01b69a939982d59f7997b6daf2e4cbd | /projects/01/Mux4Way.tst | b2079146e6d50139f3bccdcd7cad5b778c4c13e2 | [] | no_license | hiragi-gkuth/n2t | 9e1b41a136aaa79bff78854d5ccb7cd86f714603 | 566cc2d5801d1258c547cb6f2dd10272af3b9f79 | refs/heads/main | 2023-06-10T21:34:49.395174 | 2021-07-03T09:06:34 | 2021-07-03T09:06:34 | 353,191,765 | 0 | 0 | null | 2021-07-03T09:06:35 | 2021-03-31T01:44:53 | Assembly | UTF-8 | Scilab | false | false | 710 | tst | Mux4Way.tst | load Mux4Way.hdl,
output-file Mux4Way.out,
compare-to Mux4Way.cmp,
output-list a%B2.1.2 b%B2.1.2 c%B2.1.2 d%B2.1.2 sel%B2.2.2 out%B2.1.2;
set a 0,
set b 0,
set c 0,
set d 0,
set sel 0,
eval,
output;
set sel 1,
eval,
output;
set sel 2,
eval,
output;
set sel 3,
eval,
output;
set a 1,
set se... |
f183ef4277d4dab16d01071f7e90a05a572f3606 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH6/EX6.22/EX_6_22.sce | 80b67d458848525e01a35b4391fa1b385518d34b | [] | 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 | 313 | sce | EX_6_22.sce | // Example 6.22;// input impedence with feedback
clc;
clear;
close;
A= 1000;// open voltage gain
Beta=0.005;// feedback ratio
Zi=2;//input impedance without feedback in kiilo ohms
Zif= (1+A*Beta)*Zi;//input impedance with feedback in kiilo ohms
disp(Zif,"input impedance with feedback in kiilo ohms is")
|
e2ec263b8f38dedbf52b83a42543f6cffd03f225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.6/2_6.sce | 94819c326c3275c3307ca4e9958468e37be390d9 | [] | 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 | 635 | sce | 2_6.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.6
//calculation of the slope of curve at a given point
//given data
AB=5; //length of AB line segment
BC=4; //length of BC line segment
DE=5; //length of DE line segment
EF=-4; //length of EF line segment
//ca... |
300d127d2a6185165ef8f69e1597275c18d632b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH10/EX10.2/Ex10_2.sce | 116db80619faeba19e491a40377de335160333b8 | [] | 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 | 302 | sce | Ex10_2.sce | //Example number 10.2, Page number 225
clc;clear;
close;
//Variable declaration
T=2.5; //temperature(K)
Tc=3.5; //critical temperature(K)
H0=3.2*10**3; //critical magnetic field(A/m)
//Calculation
Hc=H0*(1-(T/Tc)**2); //critical field(A/m)
//Result
printf("critical field is %.3e A/m",Hc)
|
69eebd3390123894aa5ae3da4f684846777b55f1 | 717ddeb7e700373742c617a95e25a2376565112c | /851/CH6/EX6.2/Example6_2.sce | d93bcbe8845e5f59a3aa135de62256e380ef65ae | [] | 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,256 | sce | Example6_2.sce | //clear//
//Caption:Duobinary Encoding
//Example6.2: Precoded Duobinary coder and decoder
//Page 256
clc;
b = [0,0,1,0,1,1,0];//input binary sequence:precoder input
a(1) = xor(1,b(1));
if(a(1)==1)
a_volts(1) = 1;
end
for k =2:length(b)
a(k) = xor(a(k-1),b(k));
if(a(k)==1)
a_volts(k)=1;
else
... |
303d8c3f09600e06c6866ced0d36de409fc8ab72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH17/EX17.5/SCB_5.sce | afb463f2e04f1d3d0a851d3c55adcb948f558652 | [] | 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 | 472 | sce | SCB_5.sce | // sum 17-5
clc;
clear;
W=22000;
nj=960/60;
p=2.4;
u=20*10^-9;
d=sqrt(W/p);
d=96;
r=d/2;
l=d;
S=0.0446;
pact=W/(l*d);
//x=r/c;
x=sqrt(S*pact/(u*nj));
c=r/x;
ho=0.2*c;
Q=r*c*nj*l*4.62;
Q=Q*60/10^6;
// printing data in scilab o/p window
printf("d is %0.0f mm ",d);
printf("\n l is %0.0f mm ",l... |
202b9da81ec0c9894c8ae3cb351a82df1f09f550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH14/EX14.1/14_1.sce | aacd7d76ee053411dee09ff8db5ebcdf3fa19559 | [] | 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 | 261 | sce | 14_1.sce | clc
//initialisation of variables
n=0.013//ft
s=4.90//ft
v=0.590//ft
d=0.463//ft
w=3.9*10^-2//ft
p=1.696//ft
//CALCULATIONS
V=s*v//fps
Q=s*d//cfs
N=(w*p)^2*1000//percent
//RESULTS
printf('the velocity of flow and rate of discharge=% f percent',N)
|
8d50482923b55b5942c899c4a86e881210fb696e | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH6/EX6.1/exapmle_6_1.sce | 51967529af46851d153468ee01aa24e86271b9a3 | [] | 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 | 619 | sce | exapmle_6_1.sce | //Chapter 6
//Example 6.1
//Page 142
//Secondary
clear;clc;
N_1 = 2000;
N_2 = 500;
V_1 = 1200 * (cos(0)+%i*sin(0));
I_1 = 5 * (cos(-30*%pi/180) + %i * sin(-30*%pi/180));
//Calculations
a = N_1 / N_2;
V_2 = V_1/a;
I_2 = a * I_1;
Z_2 = V_2 / I_2;
Z1_2 = Z_2 * a^2;
printf("\n\n V_2 = %.0f /_%.0f V \n\n",abs(V_2),((atan(i... |
cc1b199e6d812338559032df615397a8fd128d53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH17/EX17.3/3.sce | 4b0bb4f88a7d5249e2fbd14fdb6a6d4f18e27524 | [] | 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 | 592 | sce | 3.sce | clc
//Example 17.3
//Calculate the distance between the wall and edge of the laminar sublayer and buffer layer
V=10//ft/s
l=0.25//ft
v=1.08*10^(-5)//ft^2/s
R=V*l/v//dimentionless (reynold's number)
f=0.0037//dimentionless (fanning friction factor)
u1=V*(f/2)^0.5//ft/s
u01=5//dimentionless
y01=5//dimentionless... |
8513bc4ff11b2af3da4f6d4c2a789970e1c2f6fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.7/example13_7.sce | 46c76e70e3d47fee0028ed9e0aa933ae4c7878d8 | [] | 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 | example13_7.sce | clear;
clc;
//Example13.7[Radiation Heat Transfer between Parallel Plates]
//Given:-
T1=800,T2=500;//Temp of parallel plates[K]
e1=0.2,e2=0.7;//Emissivities
//Solution:-
q12=(5.67*10^(-8))*((T1^4)-(T2^4))/((1/e1)+(1/e2)-1);
disp("is transferred from plate 1 to plate 2 by radiation per unit surface area of eit... |
ac74b941a6209606139695a95b33e95b9a8294cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH11/EX11.5/11_5.sce | c97e51e8f773023211a498ef7d34affae0ea510f | [] | 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,295 | sce | 11_5.sce | //Example 11.5
//Gauss-Seidel Method
//Page no. 373
clc;clear;close;
U=[0,500,1000,500,0;1000,0,0,0,1000;2000,0,0,0,2000;1000,0,0,0,1000;0,500,1000,500,0]
deff('y=d(i,j)','y=(U(i-1,j-1)+U(i+1,j+1)+U(i-1,j+1)+U(i+1,j-1))/4') //diagonal 5 point formula
deff('y=s(i,j,l)','y=(U(i-l,j)+U(i+l,j)+U(i,j-l)+U(i... |
5c8d2ec7cbefa899462679a5d45db36766f3df42 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.2_5.tst | dfc0c69774bf99262d594314fd428898d994441d | [] | 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,597 | tst | bow.2_5.tst | 2 14:0.09090909090909091 21:1.0 41:0.14285714285714285 81:0.25 110:0.3333333333333333 141:0.3333333333333333 269:1.0 289:1.0 343:1.0 544:1.0 730:1.0 764:1.0
2 6:1.0 141:0.3333333333333333 424:1.0
2 6:3.0 9:1.0 14:0.2727272727272727 16:0.014705882352941176 21:1.0 27:0.2 50:0.375 52:1.0 81:0.25 84:0.25 90:1.0 91:1.0 126:... |
176c8018aa9353f61345536147debae0ab339334 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.5_9.tst | 0c38e794f3a1adf08732155e5e74a5d47183d361 | [] | 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 | 6,334 | tst | bow.5_9.tst | 5 56:1.0 119:0.08333333333333333 251:0.25 266:1.0 308:0.3333333333333333 1147:1.0 1311:1.0
5 1:0.5 3:0.015384615384615385 7:2.0 25:2.0 30:1.0 44:0.06666666666666667 57:0.07692307692307693 134:1.0 283:1.0 430:1.0 436:0.3333333333333333 508:1.0 561:1.0 598:1.0 931:1.0 1029:1.0 1105:1.0 1636:1.0 1747:1.0
5 1:0.16666666666... |
23b5637abb841737537774f395e5221cdcad4e6f | 2e8fd638cb86a3b3ea69dddd8a2de255992d1ad0 | /2)Eigen.sce | 908b211521fd9c4913356d533807bea7dd8471ed | [] | no_license | swati-25/SciLab-Assignment4 | 75ebb446b1f559ed06a264876f9628b943ba9216 | 073e3cc9dc96976087e0323a19d9ad7b0fe3f454 | refs/heads/master | 2022-04-13T03:35:12.764191 | 2020-04-10T14:59:03 | 2020-04-10T14:59:03 | 254,661,565 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | 2)Eigen.sce | clc;clear;close;
n=3
disp("Enter the elements for matrix A")
for i=1:n
for j=1:n
A(i,j)=input("Enter the element ")
end
end
lam=poly(0,'lam')
lam=lam
charMat=A-lam*eye(3,3)
disp(charMat,' charateristic Matrix is')
charPoly=poly(A,'lam')
disp(charPoly,' charateristic polynomial is')
lam=s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.