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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c8b3fe64e95e8205a2cf695b44b9cf27e53969c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH15/EX15.16/15_16.sce | 5a2dc989f9226b74085db66914f289537d81d05b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 15_16.sce | //Find Band gap energy
//Ex:15.16
clc;
clear;
close;
c=2.99*10^8;//speed of light in m/s
h=6.62*10^-24;//planck's constant
w=1.771*10^-6;//wavelength in J
eg=h*c/w;//in J
disp(eg,"Band gap energy (in J) = "); |
f9b27c034c62f48d08fc26d9ec08f3982f11ba26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH21/EX21.7/193ex3.sce | 30ec92737ebe9b5954603a3f277aade28a77d8e2 | [] | 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 | 211 | sce | 193ex3.sce |
//resistance of a current wire varies as length varies also, varies inversly as the cross section of wire
clear
clc
close
//R=the resistance
//l=the length
//the cross section
mprintf("\n R=k*l/A \n ")
|
f5db900b8539dd456eb8c5a2c76fadddc05dc44b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH8/EX8.6.A/additional_ex_6.sce | 53728ae8dc2244dd5cc7197ed9f92189401d0956 | [] | 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 | 242 | sce | additional_ex_6.sce | clc;
clear;
p1=1/2;
p2=1/4;
p3=1/8;
p4=1/16;
p5=1/16;// probabilities
H=p1*log2(1/p1)+p2*log2(1/p2)+p3*log2(1/p3)+p4*log2(1/p4)+p5*log2(1/p5);
Bw=4000; //Bandwidth in Hz
R=2*H*Bw ;
disp(R,"Rate of the source ( in bits/s) is");
|
ef0c49a01dd8358c6070e5823bf51fffe6b0b566 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.6/Example10_6.sce | ac2e1a25de70ee04a82f2016f890779659f47456 | [] | 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 | 896 | sce | Example10_6.sce | /////////Chapter 10 Properties Of Steam
///Example 10.6 Page No:186
///Find Enthalpy of superheated steam
///Input data
clc;
clear;
IT=25; //Initial temperature
m=5; //Heat required to generate steam in kg
pf=10; //Final pressure in bar
tsup=250; //Water t... |
85558329bac413c6ce4474c958090cca37713f61 | 717ddeb7e700373742c617a95e25a2376565112c | /68/CH5/EX5.8/ex8.sce | b19f04f0bceaedbe5506449d5e280a2ec981a605 | [] | 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 | 433 | sce | ex8.sce | // Example 5.8 : Analyse the circuit to find node voltages and branch currents
V_CC= 10; // (V)
R_C=2000; // (ohm)
V_BB=5; // (V)
R_B=100*10^3; // (ohm)
B=100; // beta value
I_B=(V_BB-V_BE)/R_B;
disp(I_B,"Base current (A)")
I_C=B*I_B;
disp(I_C,"Collector current (A)")
V_C=V_CC-I_C*R_C;
disp(V_C,"Collector vo... |
73a5955fab7e2429bb1d87018f14f77b8a60f48c | fa027c6ce45d4a33061e6ec403d01800dd77388e | /GEDCOMParser/createXMLMultipleTree.tst | e71667a2a159c757de9d663c90bb82efb1a6b8e7 | [] | no_license | rajarajanr/randomshear | 8011b3736184cdff662e8bfa3dd217086cfb2612 | 9c632cc8a5693f3fecf8129fdda9bd4912d851b9 | HEAD | 2016-09-08T02:39:32.950226 | 2013-08-20T15:35:21 | 2013-08-20T15:35:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | tst | createXMLMultipleTree.tst | <gedcom><INDI id="@I1@"><NAME>Jamis Gordon /Buck/<SURN>Buck</SURN><GIVN>Jamis Gordon</GIVN></NAME><SEX>M</SEX></INDI><INDI id="@I1@"><NAME>Jamis Gordon /Buck/<SURN>Buck</SURN><GIVN>Jamis Gordon</GIVN></NAME><SEX>M</SEX></INDI></gedcom> |
a0f88e3cc2fef799a3171233926c0394c72664e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH7/EX7.3/exa_7_3.sce | 7c33d41d559ed52bd115a260f52f737cab05bfc4 | [] | 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 | 874 | sce | exa_7_3.sce | //Exa 7.3
clc;
clear;
close;
//given data
epsilon=0.5;
T1=1200;// in K
T2=300;// in K
//(a) Heat transfer rate between the two plates is
// Formula Fg12=1/((1/epsilon1+(1/epsilon2-1)*A1/A2))
epsilon1=epsilon;
epsilon2=epsilon;
A1byA2=1;
Fg12=1/(1/epsilon1+(1/epsilon2-1)*A1byA2);
// Formula q12= sigma*A*F... |
9c80750d0919748d729f22f9c27336d65400af4a | 6b929dff9686140bc1f843f238cc6f898ac25f9f | /kmeans-js.sci | 006b67bf12f8362bf4861b8c695cf10fdd5aa2c4 | [] | no_license | arek91w/clusterisation | 9a984550435ca2ee445555c56a017f7ddf3e8231 | cad6910b94e022f9fb340824803ee2d8672c18f1 | refs/heads/main | 2023-02-24T06:51:05.620365 | 2021-02-03T11:46:14 | 2021-02-03T11:46:14 | 335,606,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,115 | sci | kmeans-js.sci | // dokumentacja mówi żeby to wstawić w skryptach, gdzie używa się rand()
rand('seed',getdate('s'));
function z = manhattan_distance(a, b)
z = sum(abs(a - b));
endfunction
// funkcja wybierająca n losowych liczb z wektora a bez zwracania
function z = choose_random_numbers(a, n)
z = []
if n <= length(a)... |
b60df6777fbc7e3fa1e273df78a4b97c2adf3533 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH6/EX6.3/s3.sci | eb28ecbb7f94f1eb9c5910aa54ed37ede602a410 | [] | 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 | 384 | sci | s3.sci | function[a1]=selection(a,n)
i=n;
while(i>=1)
large=a(1);
indx=1;
for j=1:i
if(a(j)>large)
large=a(j);
indx=j;
end
end
a(indx)=a(i);
a(i)=large;
i=i-1;
end
a1=a;
disp(a1,"Sorted array is:");
endfunction
//Calling Routine:
a=[23 21 232 1... |
698743c4b33757a574a5af116473072d8ec49a2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH31/EX30.10/EX30_10.sce | 579216c17a4931b2b915fa1f3f0e33d7675f6148 | [] | 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 | 486 | sce | EX30_10.sce | // Grob's Basic Electronics 11e
// Chapter No. 30
// Example No. 30_10
clear; clc;
// Calculate the value of Rd to provide an Id(on) of 10m Amps.
// Given Data
Vdd = 15; // Suppy Voltage(Drain)=15 Volts
Vgson = 10; // Voltage Gate-Source(on)=10 Volts
Idon = 10*10^-3; // Drain Current(on... |
036c8358355e001907bed90cc0e31020a859dd5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.30/ex5_30.sce | 9c1dce58090ead506e14b6849f6e91ea4bf3d011 | [] | 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 | 527 | sce | ex5_30.sce | // Exa 5.30
clc;
clear;
close;
format('v',6)
// Given data
L = 150;// in µH
L = L * 10^-6;// in H
// f = 1/(2*%pi*sqrt(L*C)) or C = 1/(4*%pi^2*f^2*L)
//For f= 500 kHz
f1 = 500;// in kHz
f1 = f1 * 10^3;// in Hz
C1 = 1/(4*%pi^2*f1^2*L);// in F
//For f= 1500 kHz
f2 = 1500;// in kHz
f2 = f2 * 10^3;// in Hz
... |
2caa7e0183b7d720b233845d4866665cb15593d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH11/EX11.2/11_2.sce | f51ef5e29997a1abf238fd8f659d7f450bf08be0 | [] | 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,132 | sce | 11_2.sce | //Eg-11.2
//pg-472
// To find the work done pressure is to be integrated with respect to volume which is compressed from 20 to 5 litres at 300k
// i.e integrating the function [RT/(V-b)-a/V^2] from 20 to 5. Here we take 500 intervals between the given limits 20 and 5.
// b and a represent the upper and lower l... |
b35c41609a94f383321a53831ae526475d76ffb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH6/EX6.5/65.sci | 8eaabed8647207edd639c0b32019dbe7634ac8e3 | [] | 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 | 471 | sci | 65.sci | //chapter 6 example 5//
clc
clear
//absorption coeffcient=a,refractive index=n1,reflection coeffcient=Rf,fraction of the incident power absorbed=K,distance=d//
n1=3.5;
d=3*(10^-6);
a=10^5;
W=3*(10^-6);
Rf=((n1-1)^2)/((n1+1)^2);
K=exp(-a*d)*(1-(exp(-a*W)))*(1-Rf);
printf("\n fraction of incident power absorbed... |
4e44961b09595e77eea438c891dc5570c52e1b43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.10/10Ex10.sce | 642a90760b4a1930df53e499058ac772c7238e27 | [] | 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 | 124 | sce | 10Ex10.sce | //chapter 10 Ex 10
clc;
clear;
close;
Diff=21;
per=65/100
num=Diff/(4/5-per);
printf("The number is %1.0f.",num);
|
7bba2bf05391294c6e789fe0502bd0fddd18d708 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH2/EX2.8/2_8.sce | e4c0268f0c4c30deb13b3204cbe18873cb91f8da | [] | 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 | 209 | sce | 2_8.sce | clc
//initialisation of variables
R= 8.31*10^7 //ergs mole^-1
T= 27 //C
M= 28 //gram per mole
//CALCULATIONS
c= sqrt(3*R*(273+T)/M)
//RESULTS
printf (' root-mean-square velocity = %.2e cm per sec',c)
|
b9116c3177df8b458d2814cbcd92a799c86a6f3e | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD3/TD3 - 1/AlleK.sce | 5140cf7f3643a097d9e0a2f6ca04e4d525dbed6b | [] | 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 | 668 | sce | AlleK.sce | clear
clf
r = 1 ; A = 0.8 ; I=0.05 ; // variables du modèles
Kvect=1.5:0.1:2.5; // variable qui varie
x = linspace(0, 2.2, 301); // vecteur contenant les valeurs de la vitesse d'accroissement
function f = allee_imig(x) // fonction qui calcule la vitesse d'accroissement
f = r * x .* (x / A - 1 ) .* (1 - x / K)+ I ... |
e38c40c7889bd35d727e1d56615655bfdca49dde | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH1/EX1.6/Example6.sce | 1650a8b5d5b4fb40b10de15c6794e91d83b73757 | [] | 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 | 647 | sce | Example6.sce | clear
mode(-1)
clc
disp("Example 6 : Display all the files in the current directory and files beginning with ->Ex<-")
printf("\n*******************************************************************\n")
disp('Answer : ')
halt('Press [Enter] to continue')
disp('Files in the current directory ')
mode(0)
ls
... |
fe486405cc65f921be72a2d9130745cd14dcc071 | 699bbb1f6c4a720a48f3844d3ee3cff329d417cd | /IntroduçãoScilab.sci | 67042e7e2141e68868bcc665ffd1693a7758185d | [] | no_license | bruna-prog/Scilab | a665405577f57c2de1117bbc8d2f4457ebefe753 | a5c8786130310258cf3a108f5f8f7759115f79e5 | refs/heads/main | 2023-01-05T19:48:25.264773 | 2020-10-31T01:52:19 | 2020-10-31T01:52:19 | 308,180,244 | 0 | 0 | null | 2020-10-31T01:52:20 | 2020-10-29T01:02:27 | Scilab | UTF-8 | Scilab | false | false | 1,182 | sci | IntroduçãoScilab.sci | //Exercício1-Bruna de Sousa Silva
//Exercícios 1º lauda
mkdir("file")
chdir("file")
A=ones(2,2)
disp(A)
save('teste.dat','A')
clear("A")
load('teste.dat','A')
removedir("file")
//Lauda 2
//Exercícios 2º lauda
i=sqrt(-1)
Z1=3+5*i
Z2=7+3*i
disp(Z1+Z2)
disp(Z1*Z2)
disp(Z1+sqrt(-20))
Z1=sqrt((3^2)+(5^2))
Z2=sqrt((7^2)+(... |
3fde8f3be0a5accd1af998b36c6bd86a3de319f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH19/EX19.3w/19_3w.sce | f2cc230a9ee544ea2829a1c66b6ad18a3650132c | [] | 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 | 603 | sce | 19_3w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 19.3w
//calculation of the position of the image ,linear magnification and the angular magnification
//given data
u=-3.6*10^-2//object distance(in m)
f=4*10^-2//focal length(in m)
D=25*10^-2//least distance for clea... |
96ebb024cf5ab2a57ee8ac4bedeefab43d8a627c | 420d4bcc40d948804a4370652e50a00cbe639cfe | /Graphs API/make-tests/omega02.tst | 1c4561acc78fbf47a77f90a14b3cb6e4558aaae8 | [] | no_license | itsbriantruong/projects | 8cce3eba78a98e598e249f0adffcd9c3b9e3d5ab | 252ad31d3c74ef77e1cee43244e8f51ca47f9b63 | refs/heads/master | 2021-05-29T19:08:04.548321 | 2015-09-09T09:03:16 | 2015-09-09T09:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | tst | omega02.tst | java -ea make.Main -f make-tests/omega02.mk -D make-tests/preomega02 stew
|
dbe48999fd291c430cdb64002231cf9e5266b2be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.6/Ex6_12_6.sce | ed5d5c4380d2b0eb1baa55620ff89b80a0533134 | [] | 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 | 260 | sce | Ex6_12_6.sce | //Section-6,Example-1,Page no.-P.38
//To find the change in chemical potential of the substance in the given condition.
clc;
R=8.314
T=298
P=0.5
P_0=1
mu_1=R*T*log(P/P_0) //mu_1=mu-mu_0
disp(mu_1,'Change in chemical potential of the substance(J/mol)')
|
40885c7c5dc4d5bbdbdfd33baab3d898369b70d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH14/EX14.9/example14_9pp.sce | 6b3b5bbfd9592d26d58d1afeb9366aaf7b3b4a45 | [] | 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 | 410 | sce | example14_9pp.sce | clc
clear
disp('example14.9')
c=4000 //capacity of system
f=50 //frequency //operatingload=rated area capacity
h=5 //time constent
r=0.025 //
dl=0.01 //change in load
df=0.01 //change in frequency
rr=r*f //
d=(dl*c)/(df*f)
dpu=d/c
kp=1/dpu
tp=(kp)*(2*h/f)
tt=(rr+kp)/(rr*tp)
sfe=(kp*rr*dpu)/(rr+kp)
... |
c80e86ea1fcf99d62a99f9b122d0c989bc95442e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH13/EX13.1/spec_ex.sce | a120413fad290ce3f4c31c0e64b14cc95114d5be | [] | 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 | 317 | sce | spec_ex.sce | // Spectral factorization, as discussed in Example 13.3 on page 467.
// 13.1
exec('spec1.sci',-1);
exec('flip.sci',-1);
exec('polmul.sci',-1);
exec('polsize.sci',-1);
exec('poladd.sci',-1);
A = convol([-0.5 1],[-0.9 1]); dA = 2;
B = 0.5*[-0.9 1]; dB = 1; rho = 1;
[r,beta1,sigma] = spec1(A,dA,B,dB,rho)
|
ec7b021163fe136541deefe5f3b97475a8846e89 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/cstr.tst | fcd1407143a21bcbf68e41a5dae14f126463ed20 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | tst | cstr.tst | $thermo = VirtualMaterials.NRTL/Ideal/HC
. -> $thermo
/thermo + 1,2-PROPYLENE_OXIDE METHANOL WATER 1,2-PROPYLENE_GLYCOL SULFURIC_ACID
mycstr = KineticReactor.CSTR()
mycstr.NumberRxn = 1
/mycstr.Rxn0.Formula = theRxn:1.0*'1,2-PROPYLENE GLYCOL'-1.0*!'1,2-PROPYLENE OXIDE'-1.0*WATER
/mycstr.CustomEquationUnitSet... |
eccb8eef8c3cdd3c36b62b0d98dca49162bf4f31 | 8b9a8f57e173e7b4f3e0697bb8fa4391992830c1 | /Assignment_2/Assignment 2/PriorityMUX2bit4to1/PriorityMUX2bit4to1A.tst | e7e387d0d77248dde31e3b0309f88b50209c3dcd | [] | no_license | AtharvaC1511/ComputerSystemDesign | 9bdcdd5178e55f21c9c23cc105feb6f1cdf47cf6 | e3d9bdcb961aa6d2f13c58532bb89908dda70d3b | refs/heads/main | 2023-06-25T19:04:51.971391 | 2021-07-19T14:24:00 | 2021-07-19T14:24:00 | 387,486,807 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109,780 | tst | PriorityMUX2bit4to1A.tst | load PriorityMUX2bit4to1.hdl,
output-file PriorityMUX2bit4to1A.out,
compare-to PriorityMUX2bit4to1A.cmp,
output-list R0%B3.1.3 R1%B3.1.3 R2%B3.1.3 R3%B3.1.3 X0%B3.2.3 X1%B3.2.3 X2%B3.2.3 X3%B3.2.3 Y0%B3.2.3;
set R0 0,
set R1 0,
set R2 0,
set R3 1,
set X0 %B00,
set X1 %B00,
set X2 %B00,
set X3 %B00,
eval,
output;
set... |
3a60973f20f8c68535745002d962ae465c083d58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH5/EX5.18/Ex5_18.sce | b22dcdb9ebe18786f4cd31338e282b073b9ac535 | [] | 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 | 889 | sce | Ex5_18.sce | clc
clear
//DATA GIVEN
L=0.25; //stroke of the engine in m
D=0.15; //diameter of cylinder in m
V2=0.0004; //clearance volume in m^3
Vs=(%pi/4)*D^2*L; //swept volume in m^3
Vt=Vs+V2; //total cyl... |
2d1ce3a39ba30e325492b8e8b621d573df8f77ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH2/EX2.20/20.sce | 95e0422af153b7fc761331064b8a9f5c05ad6c2b | [] | 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 | 175 | sce | 20.sce | clc
clear
//input
v=3*10^5//orbit speed
r=4.6*10^20//distance
g1=6.7*10^-11
//calculation of mass
m=v*v*r/g1 //Newtons law
//output
printf("the mass is %2.3e kg",m)
|
827ce730f60d613ca9f7f25c822b0c1efd544152 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/Data-Mining/SP_LogRegrSWEff-NZ-UM-01.tst | 7314b9c2a364fa4c3216adb6b4adfe9a02896aa0 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,905 | tst | SP_LogRegrSWEff-NZ-UM-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
b0b769f92e49408a1cbd80780dbf602d6b267710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.12/12.sce | 95553a7bc852cc0214370132611074390cba29a1 | [] | 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 | 12.sce | //problem 1.12
l=4
b=2
h=3
w=9810
s=0.8
p1=w*l*b*h*s
p2=w*s*l*h*1.5
p3=w*s*b*h*1.5
disp(p1,"total pressure on horizontal base")
disp(p2, "total pressure on larger vertical base")
disp(p3,"total pressure on smaller vertical walls")
|
78b9d93c4cdf379f78c7068d43ec8b941f76fa93 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/WK47ZQE/ATWM1_Working_Memory_MEG_WK47ZQE_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 2aded7f2496b5df88097ddfb793cd8587c66441b | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
e04f15906f661763c55c352f674a3ee76cffcdbd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH1/EX1.13/Example1_13.sce | 51bdd1bccb2529f75abf11f7f23c367b023f017e | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Example1_13.sce | errcatch(-1,"stop");mode(2);//Example 1.13
//Program to Compute convolution of given sequences
//x(n)=[1 2 1 1], h(n)=[1 -1 1 -1];
;
;
;
x=[1 2 1 1];
h=[1 -1 1 -1];
y=convol(x,h);
disp(round(y));
exit();
|
34b17ca1be740759f24ab171e4f0ff3d6941d33d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH9/EX9.2/example9_2.sce | f6dc86fea304b9a835c6d870725fc13c4997d82d | [] | 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 | 490 | sce | example9_2.sce | clc
// Given that
E1 = 3*10^5 // electric intensity when space between plates evacuated in V/m
E2 = 1*10^5 // electric intensity when space between plates is filled with dielectric in V/m
e_ = 8.85e-12 // electric permittivity of air in C^2/Nm^2
// Sample Problem 2 on page no. 9.11
printf("\n # PROBLEM 2 # \n")
printf... |
f20dcb98d03a07195499d1895e5d3e8279b39c0d | 8277b4cef8c96ff5b520fc43b2200dc67ea6b2ed | /exp2.sce | b78d92f32283ece296ab11fe453112f4e55dcd1a | [] | no_license | divyashah98/OST | 5f7f3acf268fb9ab7e4ae889229e87d9ad31e6be | 214ee78db4e98e6387fca13cbe889054f3d9c298 | refs/heads/master | 2020-03-24T20:12:02.774742 | 2018-09-25T05:08:32 | 2018-09-25T05:08:32 | 142,964,900 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | exp2.sce | x=[1,2,3,4];
i=sqrt(-1);
s=0;
for k=1:length(x)
v(k)=0;
for n=1:length(x)
v(k)=v(k)+(x(n)*exp(-i*((2*3.14)/length(x)*(k-1)*(n-1))));
end
end
disp(v);
dft=round(v);
v1=abs(dft)
disp(dft);
k=1:length(x);
a=gca();
a.data_bounds=[0,0;4,10]
plot2d3(k,v1)
|
a24bb259a937f576a53f7e5af0453a29d9e12de5 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/infer_objects.sci | 814fb6928c259ccab46ff4d0a20df769b86802d7 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 569 | sci | infer_objects.sci | function infer_objects()
// Attempt to infer better dtypes for object columns.
//
// Syntax
//df.memory_usage(index = False)
//
// Parameters
//
// For additional information on parameters, See https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.infer_objects.ht... |
1db65beafdb0ee9b647804c69fe86d280ef7d194 | f61fc5f9d8415f72e01ba3158422f55376e459db | /session/papyros/stages/u2t/indicators/artwork/wifi_orange.sci | 982646153682407c22ab76a1e6b3d53bf6ba200c | [] | no_license | JosephMillsAtWork/u2t | 58c226eb15710affeceb41a747ca031dbaf0e5ca | b0f0f6de19ea21648cfd692f6f8afd8b60565fc9 | refs/heads/master | 2021-01-10T16:39:13.317851 | 2016-01-27T23:01:35 | 2016-01-27T23:01:35 | 50,544,130 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sci | wifi_orange.sci | border.top: 29
border.bottom: 629
border.left: 129
border.right: 129
horizontalTileRule: Repeat
verticalTileRule: Repeat
|
60f5939c3b775ef8b8e1947b408475d3880697ef | e806e966b06a53388fb300d89534354b222c2cad | /macros/imgSetToList.sci | fcbc37c7510d36f4b7efe2919e8911dc89e43c5c | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,662 | sci | imgSetToList.sci | function imgSetList=imageSetToList(imageSet)
if isstruct(imageSet)<> %T then
error(msprintf("Error: The input argument is not of type imageSet."));
end
fieldNamesActual=["Description";"ImageLocation";"Count"];
fieldNamesInput=fieldnames(imageSet);
if fieldNamesActual <> ... |
50900e8b4d2e4951dd5456704b2b8cdb46b1b876 | d0efa9f4759b46e22ac9687b2871bb3464002002 | /example2.sce | 8947dc78cbb4dc5a8fc6104e68cfdff990d38e7e | [] | no_license | Adithya-Shetty100/Scilab--Linear-Algebra | c0198c7dd3a4f599b88904b5d7554589aaa5e995 | ed63e672f56b8b4f1bff7f33e50352db3e8568fe | refs/heads/main | 2023-04-19T12:41:56.959465 | 2021-05-11T08:46:41 | 2021-05-11T08:46:41 | 366,313,853 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | example2.sce | clc
clear
A=[2 3 -1;4 4 -3;-2 3 -1]; //coefficient
B=[5;3;1]; //constant
n=length(B);
Aug=[A,B];
//forward elimination
for j=1:n-1
for i=j+1:n
Aug(i,j:n+1)=Aug(i,j:n+1)-(Aug(i,j)/Aug(j,j)*Aug(j,j:n+1));
end
end
//backward substitution
x=zeros(n,1);
x(n)=Aug(n,n+1)/Aug(n,n);
for i=n-1:-1:1... |
51e9c90d5d8ad10f2b5d541c183c0a02977e05d3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/%i2sci.sci | 60b05672f8c0172263bd2e65454ac6097baf7dd5 | [
"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 | 659 | sci | %i2sci.sci | function [stk,txt,top]=%i2sci()
//
//!
// Copyright INRIA
txt=[]
rhs=abs(evstr(op(3)))-2
sto=stk(top);top=top-1
sfrom=stk(top);top=top-1
top=top-rhs+1
s2=stk(top)
if rhs==1 then
if s2(1)<>':' then
if sto(3)=='0'|sto(4)=='0' then
txt=sto(1)+'(1,'+s2(1)+') = '+sfrom(1)+';'
else
txt=sto(1)+'('+s2(1)+... |
590f7a61958d85ec0d0a5d6afdfd5dd0c98d0091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH6/EX6.7/Example67.sce | 7de538d0be382a6e0502fab2b48629efe23a9973 | [] | 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,136 | sce | Example67.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 6, Example 7")
disp("Blade speed U is given by: in m/s")
D = 1050;
N = 2800;
U1 = %pi*D*N/(60*1000)
disp("The velocity diagram is sh... |
7af957329f2671373d4f96fb90b5eb6b1c5c4f04 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_0616_c4_frequency_response/C4_Frequencey_response_0617.sce | 88c838f79a9edc8b6cb2d7516bc6706206995ec3 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,295 | sce | C4_Frequencey_response_0617.sce | // Frequency Response
// Experiment Condition: Input (+- 100mV)
Input_Amplitude= 207; // (mV)
// Input cap: x18, Input cap: x6, Gain_OTA 500pA Feedback_OTA 35pA
Freq_resp_x18_x6_500pA_35pA = [
// Freq(Hz) Amplitude (mV)
0.5 33.83;
1 63.83;
2 138.4;
5 349.1;
10 298.3;
20 167.4;
50 71.25;
100 46.33;
200 33.2;
500 27.81... |
0ab58eee997e977fcaeda76a58901eac457267d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.25/25.sce | 7a151dd01aeb7763d542715d647d84b3606add55 | [] | 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 | 610 | sce | 25.sce | clc
clear
//INPUT DATA
r1=0.1258*10^-9//atomic radii of the iron atom in BCC structure in m
r2=0.1292*10^-9//atomic radii of the iron atom in FCC structure in m
T=910//metallic iron changes from BCC to FCC in centigrade
//CALCULATION
a1=((4*r1)/sqrt(3))//lattice constant of BCC structure in m
v1=((a1*a1*a1)/2... |
b3279c71902cacb55527531531977b4536c5493c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.5/example15_5.sce | b6b6fd3e38ca48a380b7bd53b04ecb42f1243a5e | [] | 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 | 328 | sce | example15_5.sce | //Example 15.5 (fig 15.4)
//transfer function of the system
clear;clc;
xdel(winsid());
mode(0);
s=poly(0,'s');
//G1 and G2 are connected in series
G1=s^2/(s+4)^2
G2=(s+1)/(s^3*(s+3))
//H1 is feedback loop
H1=(s^2+s+1)/(s*(s+3))
// Tf=transfer function
Tf=(G1*G2*H1)
A=type(s);
disp(A,'Type of the syste... |
a614439c97d949c50f291a1cf3dbd195ecfe1159 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH2/EX2.13/2_13exam.sce | e27d00bfc01115c93f03b06c07a356e4f69386c0 | [] | 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,983 | sce | 2_13exam.sce | //Engineering and Chemical Thermodynamics
//Example 2.13
//Page no :73
clear ; clc ;
//Given data :
del_h0_f_CO2 = -393.51 ; //[kJ/mol], From Appendix A.3
del_h0_f_CO = -110.53 ; //[kJ/mol], From Appendix A.3
del_h0_f_H2O = -241.82 ; //[kJ/mol], From Appendix A.3
del_h0_f_C3H8 = -103.85 ; //[kJ/mol], From Ap... |
81df77b8e978de954b99ce633adeebcd86363917 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/EnTh/enth11.tst | 121d31395dbd179ce98fe5c56139843006216a03 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,191 | tst | enth11.tst | aberle
abernethy
abramowitz
absinthe
ace
achenbach
achin
activate
acuna
adelaide
adi
adlam
admi
adret
aerobics
aerodynamic
aerolite
afc
agnotozoic
aiken
ainsley
airport link
aiton
albans
albedo
albers
alejos
allantois
allee
allometric
allsopp
allyson
altaides
alum
aman
amara
amblgonite
american football
amherst
amor
am... |
a1c29afb27e7fdae184433c61c2c1fb8b9f875bf | 26a768bbd9ab2f5e38d26240a0dd5e9bc2713009 | /models/NETLIST/c499.tst | a697546e82bc364f7c310c634a681d8b7db939bd | [] | no_license | dmironov/AGMToolsProject | 90918d1caddd12dc3d716a5e308810f4c7d2a333 | a6ae4bc57496e29ba0104a351a13d59f3c1e4900 | refs/heads/master | 2021-01-17T12:20:32.116568 | 2014-05-13T19:14:55 | 2014-05-13T19:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 156,137 | tst | c499.tst |
.VECTORS 85
.PATTERNS
11101000110010111100010101101000101000000hhllhlhhhhlllhlhlhhlhlllhlhllllllhlhllhlhllhlhllhhllhhhllhhlhllhhllhlllllllhhhllhhhhlhllllhhhlllllhhllhhhllhllhhhhlllhlhhhlhlllllllhlhllhlhllllhhhllhhhhlhllllhhhhlhlllllllhhllhhhllhhlhllhhllhlllllllhhhhlhllllhhhhhllhhhllhlllllllhhhllhhhlllllhlhllhlhllll... |
5c97a2f1f44ca94b390edaa2963439ede54b0b35 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/compile_standalone.sci | 610ebecce8cc7a836cb816a58d04960a4ff2ced1 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sci | compile_standalone.sci |
//==========================================================================
// Modified for RT purposes by Roberto Bucher - RTAI Team
// roberto.bucher@supsi.ch
function ok = compile_standalone()
//compile rt standalone executable for standalone
// 22.01.2004
//Author : Roberto Bucher (roberto.bucher@die.supsi.ch)
... |
52ee94e8e5db1533e06649972c1a6a87f50b8ac5 | 35071fb08cee13f4a9e79c396f7c8c028f69db0e | /Tests/Gencode/OK/two_cst_print.tst | 0e95b90511cf2f53d47d6865a9624816dc86c4ab | [] | no_license | V1nc3ntL/Compilation | 2cd9d4fa728055cebd44659cba517e49298142bc | e2008449ddb509021f6ddcfd0a92226807bec9ab | refs/heads/master | 2023-06-01T09:42:01.069684 | 2021-06-02T19:15:13 | 2021-06-02T19:15:13 | 357,205,127 | 0 | 0 | null | 2021-05-31T12:13:32 | 2021-04-12T13:30:46 | C | UTF-8 | Scilab | false | false | 38 | tst | two_cst_print.tst | void main()
{
print("sum: ","\n");
}
|
4fe7ae986f0f65c31455a51d399e427753c6e5a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.32/example32.sce | 08abd93cd393875a0e42239b9d10b18de0ca1cd6 | [] | 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 | 553 | sce | example32.sce | //Chapter-11 example 32
//=============================================================================
clc;
clear;
//input data
F1 = 490;//freq shift lower limit in Mhz
F2 = 510;//freq shift upper limit in Mhz
//calculations
SC = (F1+F2)/2;//Spectrum Centre in Mhz
BW = F2-F1;//bandwidth in Mhz
CPW = 1/... |
b959318fae02d2386459392ce2402b0c55b4d092 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.1/Exa1_1.sce | c34b538740527b2c29cacbf96f3222bb1d25df73 | [] | 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 | 187 | sce | Exa1_1.sce | //Exa 1.1
clc;
clear;
close;
//given data :
E=4;//in V/m
Eta=120*%pi;//constant
//Formula : E/H=Eta
H=E/Eta;//in A/m
disp(H,"Strength of magnetic field in free space in A/m : "); |
37e23ee53ab6c4b67de8778bb022a59997e4da0d | 04235b80bb5ac43154dbceab7b2b952b54418bc8 | /planner/irl/loadp.sce | cd90bdb625506cb2b041cfa67a8033a4c1807070 | [] | no_license | NO2/dmps | 4370cfc08f2796f8776543d5282efc4a997fadad | 9266714e5ffbc9d5f6109baac2da16651ea6fd4d | refs/heads/master | 2021-03-12T21:31:05.322501 | 2015-03-11T14:43:30 | 2015-03-11T14:43:30 | 32,451,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | loadp.sce | H=5;
ws=H*H+4*H+6;
[fdg, err] = mopen("gen0.dat");
[fdp, err] = mopen("path0.dat");
gsize=strtod(mgetl(fdg,1));
grid=mgetl(fdg);
expert=strtod(mgetl(fdp));
epls=zeros(size(expert,1)-1,1);
for i=2:size(expert,1)
epls(i-1)=expert(i)-expert(i-1);
end
//use part to search character
//define feature vectors for a state
... |
13d5bb7245446fb66f23a2c7f9bb98bc031db016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.5/6_5.sce | dd65b538f842a85a24cfc0410a7079c659bcf7c9 | [] | 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 | 6_5.sce | //cubic spline method
//example 6.5
//page 214
clc;clear;close;
x=[0 %pi/2 %pi];
y=[0 1 0];
M0=0,M2=0;
h=%pi/2;
M1=(6*(y(1)-2*y(2)+y(3))/(h^2)-M0-M2)/4;
deff('y=s1(x)','y=2*((-2*3*x^2)/(%pi^2)+3/2)/%pi');
S1=s1(%pi/4);
disp(S1,'S1(pi/4)=');
deff('y=s2(x)','y=(-24*x)/(%pi^3)');
S2=s2(%pi/4);
disp(S2,'S2(pi... |
7c3ff0c3cb540cdf4055c6f37d990ac81bac1774 | 88f74b5fffdd03abe6e83f706181fd7f42a18b28 | /60002190054_SciLab2(Conv-Corr).sce | dbaba93e481c261d8593b8ccefc32fc8eea13578 | [] | no_license | khushiig/SciLab | 915c9fc2d762f09cb83da128d6a8885f988b6fb8 | 3ee1b02318f8c056690edd678eabb49f520e29f9 | refs/heads/main | 2023-01-25T03:42:14.747948 | 2020-11-25T10:31:41 | 2020-11-25T10:31:41 | 315,850,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 60002190054_SciLab2(Conv-Corr).sce | clc;
clear all;
close;
//Convolution and Correlation
x1=[1,3,7,-2,5];
x2=[2,-1,0,3];
y1=conv(x1,x2);
z=xcorr(x1,x2);
n=0:3;
x3=mtlb_fliplr(x2)
y2=conv(x1,x3);
c=mtlb_fliplr(x2(2:4))
x=[c x2(1)];
y=mtlb_fliplr(-n);
plot(y,x);
figure;
x4=mtlb_fliplr(z);
c1=mtlb_fliplr(z(2:4));
k=[c1 z(1)];
l=mtlb_flipl... |
6b4692fa1ea717ae215352eb20ef551847e0d03e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH1/EX1.1/1_1.sce | ee8b66e74fc18581802df0b7691a4ff33b1a20aa | [] | 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 | 493 | sce | 1_1.sce | clc,clear
printf('Example 1.1\n\n')
Pole=4
Z=440 //number of conductors in armature
phi=0.07 //flux produced by each pole in webers
N=900 //Speed of armature in r.p.m
//Part(i) lap wound
A1=Pole //no of parallel paths for lap winding
E1=phi*N*Z*Pole/(60*A1)
printf('(i) e.m.f generated (lap-wound) ... |
346698146528fedd4156d680873d5ff99bac4f94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.3/Ex6_3.sce | fbaeb84e201234ed26644c37257057d660fe78ba | [] | 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 | Ex6_3.sce | //calculating pH
//Example 6.3
clc
clear
//for hydrogen electrode
Ecell=0.6734//Emf of cell in V
pH=(Ecell-0.2422)/0.0591//pH of the solution
printf('Thus the pH of the solution = %2.3f ',pH)
|
c36c9040ddc9a26c09c8666b7dadfd86564cf370 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH2/EX2.11/ex2_11.sce | a86adc4bf947ddddddcb9c39213c3a8a033b578d | [] | 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 | 434 | sce | ex2_11.sce |
//Exa:2.11
clc;
clear;
clc;
close;
//Given:
//Vt=[50+205msin(5*10^3*pi*t)]cos(2*pi*10^7)V
//comparing it with Vt=[Vc+Vesin(Wm*t)]cos(wc*t)V
Vc=50;
Ve=20;
wc=2*%pi*10^7;
wm=5*10^3;
fm=500/2;
fc=10^7;
m=Ve/Vc;
Pc=Vc*Vc;
Ps=(m*m/4)*Pc*2;
Pt=Pc+Ps;
printf("\n\n\t carrier frequency =%f",fc);
printf("\n\... |
df4f1d2d213198ec41ab27370e40cc9c58f69e4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.9/1_9.sce | 716cc9de9449da2b7f1d464c15619b3717fb72c1 | [] | 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 | 455 | sce | 1_9.sce | // Maximum current and frequncy at which it occurs and respective voltages
clc;
clear;
R=5;
L=4*(10^-3);
C=0.1*(10^-6);
V=10;
w0=1/(sqrt(L*C));
Ir=V/R;
Vl=w0*L*Ir;
Vc=Ir/(w0*C);
mprintf('The Maximum Current at resonance = %f A \n',Ir)
mprintf('The frequency for resonance = %f rad/sec \n',w0)
... |
3ff34d82eaab38fad90f5d74001dfdb32c94d84c | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/regular.tst | f080d2c176a13ec9fe47b806e2714a399eb2976f | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 262,227 | tst | regular.tst | #
# This test takes some CSD Z'=2 structures and tests the \MATCH command
#
\set time slow
\rele print CROUTPUT:
\TITLE CSD_CIF_MIF_AFEBAO
\LIST 1
REAL 9.5830 10.7400 15.2470 106.7900 90.6500 104.0900
END
# The spacegroup symbol must have a space between each of the operators.
\SPACEGROUP
SYMBOL P -1
E... |
cc9ce54be9b0e254f651067988cdc6cbc4c697d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH1/EX1.1/Ex1_1.sce | fde3ff67c124d1c8cb26191d181d544a1ccf27b8 | [] | 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 | 755 | sce | Ex1_1.sce | //Ex1_1 Pg-43
clc
disp("Refer to the figure 1.52")
disp("Hold the resistor as shown in the figure such that tolerance is on your extreme right.")
disp("Now the value of the resistor is equal to")
disp(" Red Black Blue Gold")
disp(" 2 0 6 (+/-)5%")
red=2 //red value
... |
ed711178b4f45b55a75438e5f85bea9e77662ec8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3890/CH2/EX2.8/Ex2_8.sce | 1b1d2504962dfcc9e50a1cbf11c51f40ff075717 | [] | 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 | 468 | sce | Ex2_8.sce | //Electric machines and power systems by Syed A Nasar
//Publisher:TataMcgraw Hill
//Year: 2002 ; Edition - 7
//Example 2.7
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
c=0.1; //circumference in m
A=0.0016; //cross sectional area in m^2
N1=10; ... |
be8e377f6ceeba115753d7cc0803f73f55583acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.24/2_24.sce | 419daea11ab0c412f4f1e7d1b4418c0a27276d10 | [] | 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 | 353 | sce | 2_24.sce | //Network Theorem 1
//page no-2.29
//example2.24
disp("Applying KCL to node 1:");
disp("2*V1-V2 = 2");....//equation 1
disp("Applying KCL to node 2:");
disp("3*V2-V1 = 4");...//equation 2
disp("Solving equations 1 and 2");...//solving equations in matrix form
A=[2 -1;-1 3];
B=[2 4]'
X=inv(A)*B;
disp(X);
dis... |
c8c9f8e8bc2a314d15ecc9d4af8591462313e9e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH2/EX2.6/2_6.sce | c1e2ed387671ad18f1c1e37ea9c86b0e50b60543 | [] | 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,009 | sce | 2_6.sce | //To determine the class distribution factors
//Page 50
//Refer diagram of the first example of this chapter
clc;
clear;
Ps=100; //Peak load for street lighting in kW
Pr=1000; //Peak load for Residential in kW
Pc=1200; //Peak Commercial load in kW
P=[Ps,Pr,Pc] //Peaks of various loads
Ls5=0; //Street light... |
5669d49b4a987c4228afac97d98e939325d662e7 | 20479ef6060920bd3d37ae74ecd2129f8ba8f29e | /VaiterCopa(URI).sce | c6c579c0b1326da886a039fcc234fe12d76bb2b0 | [] | no_license | andersonvalentim/Atividade-Denilson-Scilab-UFERSA- | db4b58fc082bd80f076e67908435674f49ce45e4 | 4d02ddd342681165028ea6b4ebc7ec6d8bb7d9a9 | refs/heads/master | 2021-09-12T15:30:30.076790 | 2018-04-18T01:58:47 | 2018-04-18T01:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | VaiterCopa(URI).sce | contador =10000;
while contador>0 // executará um loop infinito
num= input("Digite o valor "); //ler um dado digitado pelo usuário
if isempty(num) then //se esse valor estiver vazio, ele para a execução
printf("tchau");//emite mensagem de saída
break;// para a execução
else // caso não oco... |
a727dba163593c9aa48fb4b16689625293643d9b | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/apply.sci | 2161fcd3ec38d1cc72787d158d4b63f49771ebd5 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 727 | sci | apply.sci | function apply()
// Apply a function along an axis of the DataFrame.
//
// Syntax
// dfr.apply(input_string)
//
// Parameters
// input_string : String containing the function to be passed. Scilab functions are not supported as of now. Additional parameters supported can be passed
// // F... |
17d556ba127b431d441ff631b16b2f15a5e30068 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /labforT/1-10/laba2.sce | ff6e93b9610daa39952031a4e60f4aaa617fd976 | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | laba2.sce | //Лабораторная работа 2
clc
m=[1 2 3],
v=poly(m, 'x', 'r'),
disp(v, 'полином:', '*****ЗАДАНИЕ №1*****'),
x=roots(v),
disp(x, 'проверка:'),
p=[5 0 -3 10 -20],
x1=roots(p),
disp(x1, 'корни уравнения:', '*****ЗАДАНИЕ №2*****'),
x=poly(0, 'x');
k=3*x^3 + 2*x^2-10*x
l=5*x^2-25*x-10
disp(k*l, 'умножение полиномов:', '*****ЗА... |
a4becd5cdb101d677d2ae027a3df84193d7c7cc0 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/lds.instr.tst | f50e0b64dc4c24b2133a1e94390289bda0d00e8e | [] | 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 | 5,147 | tst | lds.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x0000018c vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x000001c0 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x00 0x90 0x00 0x80 lds r0, 0x8000
0x4: 0... |
38f1677d09b425e722da7e6253515899908e36ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH2/EX2.4/Ch02Ex4.sci | 63bdf75f525ff6834aec8188d4089bfef35a332a | [] | 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,275 | sci | Ch02Ex4.sci | // Scilab Code Ex2.4 Compressibility and ionic energy of NaCl crystal: Page-68 (2010)
e = 1.6D-19; // Electronic charge, C
ep_0 = 8.854D-12; // Absolute electrical permittivity of free space, coulomb square per newton per metre square
Re = 2.81D-10; // Equilibrium separation between Na+ and Cl- ions, m
A = 1.7496; ... |
4e4fe8f67a617d0e71ce06a03d87f7d2cf4cb028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH14/EX14.11/Example14_11.sce | 3f28d6c9e675e074cf1b8cb630bcb60d4bb25771 | [] | 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 | 602 | sce | Example14_11.sce | //Application of Le chatelier's Principle
clear;
clc;
printf("\t Example 14.11\n");
//(b)
Kc=2.37*10^-3;//equilibrium constant for the reaction
N2=0.683;//conc of N2, M
H2=8.8;//conc of H2, M
NH3=3.65;//conc of NH3, M
Qc=NH3^2/(N2*H2^3);//reaction quotient initial
if(Qc==Kc) then
d="the system is... |
7e1ff56a0238aa104063dc99e7fdbd432b0aa211 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH1/EX1.6/Example1_6.sce | 97dcfd1dcee46a00b9db5296e96cc5beead97be0 | [] | 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 | 500 | sce | Example1_6.sce | //Rating of electric heating pad Vr,Pr
//Rating of bulbs Vbr,Pr
close();
clear;
clc;
Vr = 110;//V
Pr = 55;//W
V = 220;
Vbr = 110;
Pr1 = 25;
Pr2 = 60;
Pr3 = 75;
Pr4 = 100;
//Resistance of heating pad 'Rp'
Rp = Vr^2/Pr;
R1 = Vbr^2/Pr1;
R2 = Vbr^2/Pr2;
R3 = Vbr^2/Pr3;
R4 = Vbr^2/Pr4;
Rb = R4 + 1/2*R2;
... |
53565e15e347768aa78a8214b8736bfbeecba3ab | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Lab/basics/zeros.sce | 26eb8e7c1cb9b28f2fde9d42f2210653ccbc8c68 | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 87 | sce | zeros.sce | --> zeros(3,4)
ans =
0. 0. 0. 0.
0. 0. 0. 0.
0. 0. 0. 0.
|
b4df6e065bd1e80e766d170550acb7882dcb168a | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.24/Ex_6_24.sce | 426a75413e1c1da774381dbe303d5f7287b14592 | [] | 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 | 171 | sce | Ex_6_24.sce | //Example 6.24
clc;clear;
X=[20 -5.828-2.414*%i 0 -0.172-0.414*%i 0 -0.172+0.414*%i 0 -5.828+2.414*%i];
x=round(clean(ifft(X)));
disp(X,'X(k)=');
disp(x,'x(n)=');
|
f0dc0fe28743ae84171ed23e996290a050471b27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH10/EX10.11/Ex10_11.sce | 7fd39419e0cfe238906b6d77ee424d397f319362 | [] | 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 | sce | Ex10_11.sce | clear
//
l = 15 //in - The length of the crossection
b = 33.9 //in - the width of the crossection
L = 100 //in The length of the cantilever
E = 29*(10**6) //psi The youngs modulus of the material used
I_Z = 315 //in^4 - the moment of inertia wrt Z axis
I_y = 8.13 //in^4 - the mom... |
3b4994e0ba7943b0a639a76681fff352bf01bf96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH9/EX9.12.1/Ex9_1.sce | af0fe3e9d2534050b64cc699c130455ad508c04b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Ex9_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 9 Basic Voltage and Power Amplifiers
clc
clear
AVm=120//AVm=mid-band gain of an RC-coupled amplifier
fm=100//fm=frequency in Hz corresponding to the mid-band gain
AVl=60//AVl=reduced gain
AVh=AVl
f=100*10^3//f=frequency in Hz corresponding to the reduced ga... |
db421ce0203e5ff5ffd849abcde2a5d716848c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH9/EX9.7/exp9_7.sce | 368fff300be1d0ae1343c37f289ad0d704b09a0c | [] | 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 | 328 | sce | exp9_7.sce | clear
clc
disp("example 9.7")
en=3*10^6
a=12
fen=0.1
Es=2/(12+2/3)
re=exp(Es)
printf("(a)\nratio of energies per collision is %f",re)
rietf=en/fen
ldie=log(rietf)
nc=ldie/Es
printf("(b)\npatio of iniial to final energies is %e \n logarithemic decrement in energy is %f \n number of collisions is %d",rietf,ld... |
81534be557480e65e7cca684485110cd947d732b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH9/EX9.5/9_5.sce | bbaedcc5f380eb836726655ceef78b0fcbe547c5 | [] | 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 | 266 | sce | 9_5.sce | clc
//initialisation of variables
w= 750 //R.P.M
t= 0.02 //in
r1=9 //in
r2= 5 //in
u= 0.003 //slug/ft sec
//CALCULATIONS
T= u*%pi*(2*%pi*w/60)*((r1/24)^4-(r2/24)^4)*2*%pi*w/(2*t/12*33000)
//RESULTS
printf ('horse power required to overcome= %.1f hp',T)
|
9860c5604b775f8c98586db9c440d40cb8c0edd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH9/EX9.5.1/example5_1.sce | 867ce04c60f9f0d2831c07654436bc73293158e6 | [] | 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 | example5_1.sce | clc
syms n;
v=1/((1/n)^2)
u=(2/n-1)/(1/n*(1/n+1)*(1/n+2))
disp(limit(u/v,n,0));
disp('both u and v converge and diverge together,hence u is convergent') |
448eeed7c27fce55cea728fe5a8e0101827b8b45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.17/ch9_17.sci | dfce58daf5bcf1f095f546870f9e953afedac761 | [] | 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 | sci | ch9_17.sci | //to find the ratio of currents and torques at the starting,V2/V1
clc;
f1=50;
f2=60;
f=f2/f1;
V=1; //V=V2/V1
s_max_T=0.2;
//Is=I_s2/I_s1
Is=V*sqrt((s_max_T^2+1)/(s_max_T^2+f^2));
disp(Is,'ratio of currents at starting');
//Ts=T_s2/T_s1
Ts=V^2*((s_max_T^2+1)/(s_max_T^2+f^2));
disp(Ts,'ratio of torques a... |
8490ecc5b8b2efb4b1390a298928ef4370988885 | 717ddeb7e700373742c617a95e25a2376565112c | /494/CH9/EX9.7/9_7.sce | 4da53d45851898e8ad0f0a349e87d8e7e05403f0 | [] | 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 | 692 | sce | 9_7.sce | //All the quantities are expressed in SI units
M1 = 3.5;
theta1 = 10*%pi/180;
gam = 1.4;
p1 = 101300;
T1 = 288;
//for these values of M and theta, from fig. 9.9
b1 = 24*%pi/180;
Mn_1 = M1*sin(b);
//from Appendix B, for Mn,1 = 2.05, we have
Mn_2 = 0.7157;
p_ratio1 = 2.32;
T_ratio1 = 1.294;
M2 = Mn_2/s... |
c30681938440dabd5437abd7d8fb81be9e5147be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH4/EX4.1/Ex4_1.sce | fd48bb46a06a72cd76b6a741998ee66a6453da3f | [] | 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 | 972 | sce | Ex4_1.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 4.1
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
h=6.62*10^-34;//Plank's constant in SI units
c=3*10^8;//speed of the light in m/s
e=1.9*10^-19;//electric charge in columb
I=50*10^-3;//drive current i... |
67e2b3c217d7b8d17d988c567d3708b78475d22c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH12/EX12.11/Ex12_11.sce | fbc00eb29c8b2f42f6eb3aa8d471564ba623fc4f | [] | 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 | Ex12_11.sce | clc;
close();
clear();
//page no 412
//prob no. 12.11
Fdb=5;
T0=290; //K
F=10^(Fdb/10);
mprintf('Noise figure, F=%.3f\n',F);
Te=(F-1)*T0;
mprintf(' Noise Temperature , Te=%i K ',Te);
|
f95924e6ec3b6fddf6c31c9b8668dcdb065a960d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.6/Ex9_6.sce | 057586484d0dbba2b66712000de495d9fff7f237 | [] | 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,073 | sce | Ex9_6.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 307 and 308
clear;
clc;
//Given
VCC=15;//collector supply voltage in volts
RC=2.2D3;//collector resistance in ohms
RE=470;//emitter resistance in ohms
R1=33D3;//divider network resistance R1 in ohms
R2=10D3;//divider n... |
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
|
6f5770d33031996d1a3c7c7bbeeeb4d8f18cd8cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.26/Ex2_26.sce | 5cc327b8ec3f540b599e112e81495810569a7ffb | [] | 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 | 711 | sce | Ex2_26.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.26
clc
clear
//Given Data:-
H=4; //Head of water in tank, m
d=150; //Diameter of orfice, mm
Cv=0.96;
//Data Used:-
rho=1000; //Density of water, kg/m^3
g=9.81; ... |
8de5fc9d82d684eba701dfcdd1d2ab42117bd830 | 78de1b37ac7fbc77bc00584d6677402639eb8ccf | /Ex_6_14.sce | c34b8b74e91cff043ff9ce6ef35bfa1b1d221c5c | [] | no_license | devanshmody/c-c-programs | de25f17728b488bb5245342338d303d968f2ee05 | 7405239f4fc792a1382d7726cb1aaeffc3e740a8 | refs/heads/main | 2023-04-16T14:11:06.271935 | 2021-05-05T09:39:48 | 2021-05-05T09:39:48 | 364,526,778 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex_6_14.sce | //Example 6.14
clc;clear;close;
X=[3 2+%i 1 2-%i];
//Calculation of IDFT
x=dft(X,1);
x=clean(x);
disp(X,'DFT of the Sequence is X(k): ');
disp(x,'Sequence is x(n): ');
|
6a8391e043bac2aa93bff10f7758b3b10250f52f | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH10/EX10.2/Example10_2.sce | df458f7c3b04597eb64f093ab635d24dec4394a0 | [] | 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,919 | sce | Example10_2.sce | clear;
clc;
// Illustration 10.2
// Page: 497
printf('Illustration 10.2 - Page: 497\n\n');
printf('Illustration 10.2 (a)\n\n');
// solution (a)
//****Data****//
// a:water b:kerosene c:Nicotine
xF = 0.01;// [wt fraction nicotine]
F = 100;// [kg]
B = 150;// [kg]
//******//
// Equilibrium data:
... |
19e70715acac029cd494da3fb9b42e5735e1b029 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/Flex-Sim/loader.sce | 6d0247292433b22f63ba3b56956786285a00c6bb | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,612 | sce | loader.sce | // Script to load the Flex-Sim dynamic library.
// Author: Dario Di Stefano, Evidence Srl.
flexsim_path = get_absolute_file_path('loader.sce');
// -------- Modules to be imported ----------
// Flex
comp_fun = ['flex_adcin',..
'flex_gpin',..
'flex_gpout',..
'flex_lcd',..... |
93a792878dfe613e3f2fc66146ca120552c6063d | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH1/EX1.1/ex_1.sce | 50ca669c3f922881e6a6633e0125b66bdbeec51d | [] | 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 | 418 | sce | ex_1.sce |
//Example (pg no.20)
//the number %pi/4 is the value of infinite series
//sum(((-1)^i)/(2*i+1))=1-sum(2/(16*(j)^2)-1)
// The sequence alpha1,alpha2,........is monotone-decreasing
// to its limit %pi/4
// 0< =(alpha)n - %pi/4 <= (1/(4*n+3)) n=1,2,.....
// To calculate %pi/4 correct to within 10^(-6) usi... |
1fc52aba07d001935a5a57216bf3c8ccad7cb0ba | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%rvs.sci | 2066748caac7969ab8fe904c56f9e281bd61673d | [
"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 | 319 | sci | %rvs.sci | function h=%rvs(h1,h2)
// %rvs(h1,h2) calcule (I+h1*h2)\h1. h1: matrice de fractions rationnelles
// h2 matrice de scalaires
//!
[m1,n1]=size(h1(2))
[m2,n2]=size(h2)
if abs(n1-m2)+abs(m1-n2)<>0 then error('inconsistent dimensions'),end
if m1*n1==1 then
h=h1;h(3)=h1(2)*h2+h1(3);
else
h=(eye(m1,m1)+h1*h2)\h1
end
|
cbf01e42f600d5b8d17259993476d4cbf0dee019 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.38/Ex4_38.sce | 3c16a651ca03657c64107a91f825c4b6c2809ba5 | [] | 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,056 | sce | Ex4_38.sce | clc;
v=230; // rated voltage of dc motor
p=10000; // rated power of dc motor
rf=115; // field resistance
ra=0.348; // net armature resistance
ifs=v/rf; // shunt field current
ia=(p/v)-ifs; // rated armature current
disp('case a');
rx1=(v/(2*ia))-ra;
printf('External resistance required at the time of starting... |
87b496123835fa8834751903cac8622ab0ce9458 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.54/example1_54.sce | a3bffa254e620317b2e951058fe32c30cbcef96e | [] | 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 | 391 | sce | example1_54.sce | clc
// Given That
n = 140 // no. of shift in fringe
lambda = 5.46e-7 // wavelength of light in meter
t = 0.2 // length of tube in meter
// Sample Problem 54 on page no. 1.58
printf("\n # PROBLEM 54 # \n")
mu = (n*lambda)/(2*t) + 1 // calculation for refractive index of gas
printf("\n Standard formula used \n mu = (n*... |
d9dfdeee5820f9cee391df214d04f178dd7a12d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.37/ch8_ex_37.sce | 3cea8b20c6a7cfe668d74c1d4084d32975d1279d | [] | 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,356 | sce | ch8_ex_37.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 37
disp("CHAPTER 8");
disp("EXAMPLE 37");
//VARIABLE INITIALIZATION
p_o=50*1000; //in Watts
v_t=250; //in Volts
loss1=5000; //total core loss in Watts
loss2=2000; //total core loss in Watts (when speed is ... |
52106b656112617568a617cb8a112689f1107091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.27/EX2_27.sce | b5ab798bbecc922292180bf105a7c54da5c94b48 | [] | 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 | 378 | sce | EX2_27.sce | //EXAMPLE 2-27 PG NO 74
F=50
V=230; //voltage
R=20; //resisance
I=V/R; //current
P=V*I; //power
Im=I*1.414; //Maximum current
W=2*%pi*F;
disp(' current is = '+string(I)+' A');
disp(' POWER is = '+string(P)+' W');
disp(' MAXIMUM CURENT is = '+... |
ab2e13bd76f3aa504759252f080b10c40fb183a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.17/Ex5_17.sce | 0eea0a45308abe2e7c5e15c216ee537cbb15d1ca | [] | 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 | 505 | sce | Ex5_17.sce | //Example 5_17
clc();
clear;
//To find the lattice parameter and atomic diameter
lamda=0.171 //units in nm
theta=30 //units in degrees
d110=lamda/(2*sin(theta*%pi/180)) //units in nm
h=1
k=1
l=0
a=d110*sqrt(h^2+k^2+l^2) //units in nm
printf("The lattice parameter is a=%.3fnm... |
b89b3e261ccd0883ac551ff49690130355a19326 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH9/EX9.1.iii/Ex9_1_iii.sce | 5b1af1f5e594b6d482d86385c3b1da1f4cea470e | [] | 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 | 821 | sce | Ex9_1_iii.sce | clc
// given data
G=39.0 // temperature gradient in K/km.
h2=10.0 // depth in km
rhow = 1000;
rhor=2700.0 // kg/m^3
cr=820.0 // in J/kg-K
cw=4200.0; // specific heat of water in J/kg-K
QbyA=0.5;
h1=120/G // T1-T0=120 K is given
h21=h2-h1 // in km
E0byA=(rhor*(1000**3)*G*cr*h21**2)/2 // in J/km^2 Heat content per squar... |
5073eed3ea9d6efb4faa3d70f6c02b64047c7540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH7/EX7.2/7_2.sce | 419b94a98f1e8b2cf2977c18a5774d1b5d0a52f2 | [] | 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 | 710 | sce | 7_2.sce | //Example 7.2
//Inverse in Place without Pivoting
//Page no. 256
clc;clear;close;
A=[3,-6,7;9,0,-5;5,-8,6]; //matrix
B=[3,-6,7;9,0,-5;5,-8,6]; //copied matrix
for i=1:3
printf('\n\nStage %i',i);
for j=1:3
if(i==j)
B(i,j)=1/B(i,j);
else
B(i,j)=A(i,j)/A(i,... |
24394c228d2167f60bebcd583a64acc3c373b985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH10/EX10.7/Example10_7.sce | 3d016b5963dced67b9aeef576be8ae9eebc8c975 | [] | 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 | Example10_7.sce | //chapter-10,Example10_7,pg 309
a1=3.81*10^-3
a2=-6.17*10^-7
//R1=(R2/2),i.e R2/R1=2
R1=10*10^3
R2=20*10^3
R5=4*10^3
R6=20*10^3
B=(R5/(R5+R6))
//using relation 10.68(b)
printf("(Vo/Vi)= (-3.05*10^-3)t/(1+0.76*10^-3)t\n")
printf("thus for, t<=130 C, Vo is approx. linear. this however can... |
ad7bc245a1caf73c427a910ed6ba10b4fdf85507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.50/50.sce | a8f701e3ac79a4d4560f6299b44b7609c8b9ee31 | [] | 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 | 510 | sce | 50.sce | clc
t1=20; //0C
C1=40; //m/s
t2=820; //0C
C2=40; //m/s
t3=620; //0C
C3=55; //m/s
t4=510; //0C
m=2.5; //kg/s
cp=1.005; //kJ/kg.0C
disp("(i) Heat exchanger")
Q_12=m*cp*(t2-t1);
disp("rate of heat transfer=")
disp(Q_12)
disp("kJ/s")
disp("(ii) Turbine")
W_23=m*[(cp*(t2-t3))+(C2^2-C3^2)/2/1000];
di... |
e7413384dc5f7ebe724d47b559c1ffedcd0c6138 | 56ae453b5537f39dbd832dd0416f3c804aa1b937 | /microdaq/macros/mdaqDSPSignalRead.sci | eb1d14c1ac001d80bc73d806ee60139b75f96291 | [
"BSD-3-Clause"
] | permissive | grtwall/Scilab | 38bc8bc978e715b770da61482a9ac30e0cb806d3 | e44e0dc0d357a6baf875d33ddd435a29e053b7f1 | refs/heads/master | 2020-07-22T16:48:31.589484 | 2018-07-31T13:15:40 | 2018-07-31T13:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,350 | sci | mdaqDSPSignalRead.sci | function [data] = mdaqDSPSignalRead(arg1, arg2, arg3, arg4)
// Check version compatibility
[is_supp vers] = mdaq_is_working('mdaqDSPSignalRead');
if is_supp == %F then
error('ERROR: ' + vers)
return;
end
data = [];
result = -1;
if argn(2) <> 4 then
mprintf(... |
a3c49c04b15666efe090111aac6687ed353a5b92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH7/EX7.4/Ex7_4.sce | ef1d8f874db116f04104ab1de0bcbe6735cb5ffe | [] | 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 | 380 | sce | Ex7_4.sce | clear
//
//given
f=50 //frequency
p=10 //number of poles
//case a
n=120*f/p
printf("\n n= %0.0f rpm",n)
//case b
//the pitch factor kp=0.966
//m=2 and gama=180/slots per pole and it is obtained as 30
//kd=sin[(mgama)/2]/msin(gama/2)=0.966
z=6*2*10
ep=z*2.22*0.966*0.966*50*0.15
printf("\n phase emf= %0.5f v",ep)
//cas... |
bea08485a5ab2fe9483bab5edd1aa41bddd6dbe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH13/EX13.22/13_22.sce | a21ad6568531173c2a1ae2429a861abcb5c5f30b | [] | 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 | 538 | sce | 13_22.sce | //Chapter 13, Problem 22, figure 13.82
clc;
E=6; //in volt
r=2.5; //in ohm
//defining a function
function a = myfunction ( c,d,e)
b = c/(d+e);
a=b^2*e;
endfunction
for Rl=0:0.5:5
P=myfunction(E,r,Rl)
x=linspace(0,7,12);
y=linspace(0,5,12);
plot(Rl,P... |
4230920cd39dff68d6efe3394b36faffbc906a50 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%lssmr.sci | ce389fc60fa95a04c728c7178dcf1c8e248fd53b | [
"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 | 96 | sci | %lssmr.sci | function [s]=%lssmr(s1,s2)
//s=%lssmr(s1,s2) <=> s= s2*s1
//!
[s1,s2]=sysconv(s1,s2);s=s1*s2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.