blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
389b32bac4b62ab62f391b27b6dfd0d7c73c27b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH18/EX18.10/EX18_10.sce | 4883b9768bcbfd996e832272318e56e52738fa36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | sce | EX18_10.sce | //Chapter 18, Example 18.10
clc
//Initialisation
VCC=10 //voltage
R2=10*10**3 //resistance in ohm
R1=27*10**3 //resistance in ohm
RE=100 //resistance in ohm
RC=2.2 //resistance in ohm
VBE=0.7 ... |
473cd59f5f2a15f95811d21521849fd5973ae590 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /QL MidAir Rocket.sce | 2ce7b78f14f86968e3414ebeec47c8376f99b9cc | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46,201 | sce | QL MidAir Rocket.sce | Name=QL MidAir Rocket
PlayerCharacters=Rocketman
BotCharacters=Pigeon.bot;Quaker Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Rocketman
AddedBots=Pigeon.bot;Pigeon.bot;Pigeon.bot;Quaker Bot.bot;Quaker Bot.bot;Quaker Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;0;0;0
MapName=boxe... |
cca4ab40945fb7e95b5882ffa6dca2106438d56a | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP4/newton.sci | 92d613874dc9e5316deb80f3de6c94ee0cb4014c | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sci | newton.sci | function [x, k] = newton(foncjac, tol, N, x0)
// Résolution du système
// tol : erreur RELATIVE en dessous de laquelle on considère la solution stationnaire
// N : nb max d'itérations
// x0 : valeur de x à laquelle on commmence les itérations
// k : nb d'itérations effectuées
n = length(x... |
efad357af2dd9eda8cc68cb99f3c95f2763dc1a9 | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/detectORB.sci | 27125ceb21c9be91a482e5f6317d2ec05227c2f1 | [] | 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 | 10,004 | sci | detectORB.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_... |
35a8ba601785695d5906e496c21daab158fd4648 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH5/EX5.4/Exp_5_4.sce | 6de69c9e93ba5adc09ce5c3e00e8bbd115099434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Exp_5_4.sce | //Optical Fiber communication by A selvarajan
//example 5.4
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
I=100*1e-9//current in A
P=5*1e-9//Incident power in W
h=6.6*10^-34//planck's constant
c=3*10^8//velocity of light in m/s
q=1.6*10^-19//charge of an elctron in columb
eta=0.7//quan... |
0e519f39bf4e931f84181a020322d7d647b0c417 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.3/Ex5_3.sce | 7c5bf3204b0239c54377e67bfbab3d81a49324d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sce | Ex5_3.sce | //Chapter-5,Example 5_3,Page 5-24
clc()
//Given Values:
m1=40*10^-3 //mass of bullet in kg
m2=9.1*10^-31 //mass of electron in kg
h=6.63*10^-34 //Planck's constant
v=1100 //velocity of bullet and electron
//Calculations:
lam1=h/(m1*v) //de Broglie wavelength
printf('... |
70212633d878870ddd368a325ecabcb0230238c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH11/EX11.10/Ex11_10.sce | dd1fc84810b1e04535c378cf94dd20ac9ef49cb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,549 | sce | Ex11_10.sce | clc
Na=5*10^16
disp("Na = "+string(Na)+"cm^-3") //initializing value of p side doping
Nd=5*10^17
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of n side doping
Dn = 30
disp("Dn= "+string(Dn)+"cm^2/s")//initializing value of electron diffusion coefficient
Dp = 15
disp("Dp= "+string(Dp)+"cm^2/s")//initial... |
9c59f12b4e9cbe79c78229240c00cf229512d394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.24/ex8_24.sce | 3d0a230b4c04cff6cb45939622e6a43e9aec3220 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | ex8_24.sce | // Exa 8.24
clc;
clear;
close;
// Given data
R_f = 3;// in K ohm
R_f = R_f * 10^3;// in ohm
R1 = 150;// in ohm
A_v = (R_f/R1) + 1;
disp(A_v,"Close loop gain for inverting amplifier is");
f = 1;// in MHz
f = f * 10^6;// in Hz
f2 = f/A_v;// in Hz
f2 = f2 * 10^-3;// in KHz
disp(f2,"The closed loop bandwidth ... |
681a376fddfa5a654a49a3e6cc4888149be9f6fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH4/EX4.1/4_1.sce | f5abff4aacea7167a26b2b22b5939d5d53cd3a60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 4_1.sce | clc
//initialisation of variables
E= -1148.93 //kcal mole^-1
R= 1.987 //cal mole^-1 K^-1
T= 25 //C
n=4
//CALCULATIONS
E1= (E*1000-R*n*(273.1+T))/1000
//RESULTS
printf ('heat absorbed= %.2f kcal mole^-1',E1)
|
76d821039f85a4e170ad4c2b35d0a1ffcbb2d0e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH1/EX1.8/ex1_8.sce | 766a003c579454da097f14cdc66a3934b3ceb028 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | ex1_8.sce | clc;
clear all;
d = 0.6e-3; // Diameter in meters
r = d/2; // Radius of wire in meter
deltal = 1e-3; // Length of elongation produced in meters
m = 0.16*1e-3; // Mass in Rg
angt = 1; // Angular twist in radian
T = 10e-4; //Torque in Newton
g = 9.8; // Gravitational Constant
n = 2.34e9; // Rigidity modulus in m... |
dc09ce6e2fad52d5c7a19f65293579404dfed99d | ec117c3067c517791d2aa16938bdbe68ccc4222f | /Reconstruction_surface/Tp2/leastSquaresCurve.sce | 11ae4f36325718ab84dad4ef22642ac50a167440 | [] | no_license | Mric26/M2-S1 | e870849816b2a7945b4017bb2defaf4d772835f6 | bf9acf69e3a2a8abb3fbbe140021c8971cace9b9 | refs/heads/master | 2016-08-12T16:29:55.570039 | 2016-03-31T10:28:47 | 2016-03-31T10:28:47 | 43,129,610 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,018 | sce | leastSquaresCurve.sce | function mc(fitType,inputs,plotres,jpgfilename)
nargin = argn(2);
if nargin<3 then plotres = 1;end
if nargin<2 then inputs = 1;end
if nargin<1 then fitType = 1;end
rand('seed',0)
if inputs==2 then
// quadrique
a = -1.3;
b = 0;
c = 2;
x = linspace(-25,25,50);
y = a.*x^2+b.*x+c+ra... |
7a6a2887a36eb749f27b8dbb5402cfde8b4b51f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.6b/eg5_6b.sce | 9acfbe2b20901911c2ff17f829a2aabce21ba9c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg5_6b.sce | //When C is put to use, one other machine(either A or B ) will still be working . The probability of this machine or C failing is equal due to the memoryless propoerty of exponential random variables.
disp(1/2, "The probability that machine which is still operable is machine C is ") |
116eb0e7871e5e1eb457e61a152961efbbd5e437 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH5/EX4/cha5_4.sce | 82dc0ff631afe36e9d5176ab1ae397115d76aeef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,690 | sce | cha5_4.sce | R1=0.25;X1=0.5;X2=0.5;
R2=0.2;Xm=30;V=460;
N=1740;F=60;P=4;Phase=3;No=1800;
V1=V/sqrt(Phase)
Z1=(R1+%i*X1)+(%i*Xm*(R2+%i*X2)/(R2+%i*30.5))
function[r,theta]=rect2polar(x,y)
r=sqrt(x^2+y^2);
theta=atan(y/x)*180/%pi;
endfunction
[Rth,Angle]=rect2polar(0.44,0.99)
function[x,y]=polar2rect(r,theta)
x... |
5d532cbec5f6d320f2cdf0a30da1b85d2a3330fc | 14f70bf0434ef1ebb3565a343b34c7317fbc85ac | /Pliki z parametrami/mes_parametry_polynesian_roof.sce | 7381d416c482795c66a727804f7e3bddd3064a61 | [] | no_license | tyllukasz/PSO-structural-optimizations | 042d409bb45a0d6c18efc84ff66939705aa41ac5 | 9f2166eb907725555aeffa28f91eb620fee8fc78 | refs/heads/master | 2023-07-10T09:58:00.895902 | 2021-08-23T17:05:09 | 2021-08-23T17:05:09 | 382,402,067 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,760 | sce | mes_parametry_polynesian_roof.sce | // Metoda elementow skonczonych - (elementy pretowe)
//Definicja parametrow konstrukcji
//-----Przyklad 1 - 'Trojkat'-----
//dane geometryczne konstrukcji
nw=12; //liczba wezlow
ne=21; //liczba elementow skonczonych
//definiowanie wspolrzednych wezlow
nc=[0,0;
4,0;
9,0;... |
ea6bcd3c23d021f58306718a6bff435933f4b714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.12/Ex5_12.sce | bb7f92dd6b040590439f8b401bbcdd2f8a8d3abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex5_12.sce | //Ex:5.12
clc;
clear;
close;
y=0.85*10^-6;// operating wavelength in m
L=0.5*10^-3;// beat length in m
BF=y/(L);//model birefrigence in um
L1=75;// beat length in m
BF1=y/(L1);//model birefrigence in um
printf("The model birefrigenceat 0.5 nm =%f*10^-3", BF);
printf("\n The model birefrigence at 75 m =%f*10^-... |
0a8f2050b780edfe3e12bde4137a5db3978dfc3c | 241c60928aaeb96dabe156df6f6d3c3c057da991 | /Backend_Source_Code--PLSQL/Test_Cases/Test_PROC_class_prereq.tst | e92bd39e78f0975571a80fce0bb7ae1e1ff98594 | [] | no_license | dipikaspatil/Database_Systems | d606bb291136a46e22dd7b6c9f5643377ccc5ec8 | 373ade411850bf6edc33447c3cba41c5f2d80914 | refs/heads/master | 2020-04-13T06:25:31.127783 | 2018-12-24T20:03:03 | 2018-12-24T20:03:03 | 163,020,264 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | tst | Test_PROC_class_prereq.tst | PL/SQL Developer Test script 3.0
8
declare
-- Local variables here
l_prereq VARCHAR2(10000);
begin
-- Test statements here
student_registration_system.CLASS_PREREQ('cs', '532', l_prereq);
dbms_output.put_line(l_prereq);
end;
0
0
|
321f3086815aa3756885dc93822146a3fd970945 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH19/EX19.7/EX19_7.sce | ae5926a8a35beb9006a9e6f6031b73eaae47b69e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX19_7.sce | //Finding of Minimum Speed
//Given
Hm=7.5;
D1=1;
D=0.5;
g=9.81;
//To Find
u=(4/3)*(Hm*2*g);
u1=sqrt(u);
N=(60*u1)/(4*%pi);
disp(" u="+string(u1)+" m/sec");
disp("Minimum Speed ="+string(N)+" rpm");
|
21c5b3706e520464671b98506d75213ffd0723f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH9/EX9.23/Ex9_23.sce | 3bdcdc0e071228ad0e21d1bc6888cfe33aadf1c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex9_23.sce | //chapter9
//example9.23
//page172
Ei=22 // V
Vz=18 // V
Rl=18 // ohm
Eo=Vz
Iz_min=200d-3 // A
// Zener current will be min when input voltage is min
// load current is
Il_max=Vz/Rl
// we see that R=(Ei-Eo)/(Iz-Il) and minimum Iz occurs when Il is maximum so
R=(Ei-Eo)/(Iz_min+Il_max)
printf(... |
51f2ee57fc932474a4c236db24b719065b28a004 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH10/EX10.1/Example_1.sce | 02cf4577c43b1bc606650e19c92800514440833d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_1.sce | //Chapter-10,Example 1,Page 252
clc();
close();
E = 0.296 //electrode potential at 25 degree
n= 2
Cu = 0.015
E0=E-(0.0592/n)*log10(Cu)
printf('the standard potential of Cu+2 is %.5f V ',E0)
|
b4568bcc43f61d15c94a3a2263009639c2f6e480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH12/EX12.13/Ex12_13.sce | 889bbba73d0001956ac9c67b7b40a3a0117ffbea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | Ex12_13.sce | // Scilab Code Ex12.13: Page-453 (2014)
clc; clear;
u = 931.5; // Energy equivalent of 1 u, MeV
M_U230 = 230.033927; // Atomic mass of U-230, u
m_n = 1.008665; // Mass of a neutron, u
M_H = 1.007825; // Mass of hydrogen, u
M_U229 = 229.033496; // Gram atomic mass of U-230
Q = (M_U230 - M_U229 - m_... |
06e8e1a095877b9b7e8871b9117c69107cacab61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH2/EX1.9/EX1_9.sce | 7e866cc1072c9d8964bdcdb4dbcf4b9fe3a7c98f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | EX1_9.sce | // Grob's Basic Electronics 11e
// Chapter No. 01
// Example No. 1_9
clc; clear;
//Calculate the conductance for the following resistance values: (a) 1 kOhms (b)5 kOhms
// Given data
R1 = 1*10^3; // R1=1k Ohms
R2 = 5*10^3; // R2=5k Ohms
G1 = 1/R1;
disp (G1,'The Conductance for Resistance valu... |
55ab1c8a52bac77a07b266ff7fd951d599c32f15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH9/EX9.14/ex_9_14.sce | 532512913625582c8c2640c96bf7ffd572d8de64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,742 | sce | ex_9_14.sce |
clc
//refer fig 9.24,9.25
//solution
//given
t=25//mm
P=50000//N
e=400//mm
n=7
T=65//N/mm^2
fc=120//N/mm^2
//let xb and yb be center of gravity
//xb=(x1+x2+x3+x4+x5+x6+x7)/7
xb=(100+200+200+200)/7//mm
//yb=(y1+y2+y3+y4+y5+y6+y7)/7
yb=(200+200+200+100+100)/7//mm
Ps=P/n
T1=P*e//turning moment due to P//N-mm
//l1=l3
l1=s... |
01b6877cfe4027d81a4d50626bfd6042bfed02a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH3/EX3.13/Example3_13.sce | 9b58c2b6e9b2084b3a331ba1ecac8401140be7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,500 | sce | Example3_13.sce | //clear//
//Example3.13:DTFS
//Expression of periodic sequence using
//the summation two different sequence
clear;
close;
clc;
N = 5;
n = 0:N-1;
x1 = [1,1,0,0,1];
x1 = [x1($:-1:1) x1(2:$)]; // Square Wave x1[n]
x2 = [1,1,1,1,1];
x2 = [x2($:-1:1) x2(2:$)];//DC sequence of x2[n]
x = x1+x2;//sum of x1[n] & x2... |
165668e62b57bd586d057a7925df3c7192f108a2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/cheb1mag.man.tst | b3ce3f5fcbcf1f7bfc6c2c982d1dac4b1d6a439c | [
"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 | 174 | tst | cheb1mag.man.tst | clear;lines(0);
//Chebyshev; ripple in the passband
n=13;epsilon=0.2;omegac=3;sample=0:0.05:10;
h=cheb1mag(n,omegac,epsilon,sample);
plot(sample,h,'frequencies','magnitude')
|
b495cf76f04c25717c44cf34aec61b0995a4a768 | cb795495d7cb7e053c51236279bdfedf3e4b7a37 | /Scilab/Activation Functions & Logic Gates/AutoWeights.sce | 93827531433e8f532ed13a9bd94dc6ea503d57fa | [
"MIT"
] | permissive | memr5/Machine-Learning-Portfolio | 7b21443912deb8381518fcf0c12b4fd15ecbb9a6 | 31a9430aa957949c3f9e05e696f25f7200e21263 | refs/heads/master | 2021-07-17T15:48:05.964583 | 2020-04-23T12:35:58 | 2020-04-23T12:35:58 | 201,817,591 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | AutoWeights.sce | threshold = input("Enter the value of threshold: ")
bias = input("Enter the value of bias: ")
x1 = [0 0 1 1]
x2 = [0 1 0 1]
x = [x1' x2']
y = x1.*x2
while 1
w = rand(2,1,"uniform")
ypred = x*w + bias
for i=1:4
if ypred(i)>threshold then
ypred(i) = 1
else
ypred(i) = ... |
d363216aa5e505d2ad2fcd804f4ac3f4f063bd18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.11/example11.sce | 218bf5d1509ea719143dd7d4ba3a44dfc74c17b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,805 | sce | example11.sce | clc
clear
//input data
r1=0.051//Eye radius of the impeller in m
D2=0.406//Outer diameter of the impeller in m
b11=(90-75)//Inlet blade angle measured from tangential flow direction in degree
b22=(90-83)//Outlet blade angle measured from tangential flow direction in degree
b=0.064//Blade depth in m
Cx1=0//Inlet... |
b6102a8978708759bd26e9551b6f61e08d336929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH13/EX13.2.13/Ex2_13.sce | 9946fa97905a2075196f3c1d68f35880db81e1fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex2_13.sce | // Additional solved numerical questions , Example(set 2) 13_b , pg 354
n1=1.5//core refractive index
n2=1.447//cladding refractive index
n0=1//refractive index of air
NA=sqrt(n1^2-n2^2)//numerical aperture
alpha_m =asin(NA/n0)//angle of acceptance (in radian)
printf("NA=%.1f \n",NA)
printf("alpha_m=%.2f de... |
996ba24c3baec6f00157c7a85199adf1c597a6f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH9/EX9.59/Fig9_59.sce | 38751c479dfb04068577dd9e326ae12a4c87dd9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,006 | sce | Fig9_59.sce | //Caption: Program performs Block Truncation Coding(BTC) by choosing different
//block sizes
//Fig.9.59: MATLAB Example1
//page514
close;
clc;
x =imread('E:\Digital_Image_Processing_Jayaraman\Chapter9\lenna.jpg'); //SIVP toolbox
//x=imresize(x,[256 256]);
x1=x;
x=double(x);
[m1 n1]=size(x);
blk=input('Ente... |
56ec436ef78122bb563c3c9147b0f15a23555470 | bdf572464541387fa0028a1ff861ceb55e81938e | /Data Communication/pam.sci | 5da7c6c0128219b60146b2386236596c2fb82bbd | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 396 | sci | pam.sci | function[x,Vm,Vc]=pam(Em,fm)
t = (0:0.1:12*%pi)';
Vm = 2*Em*sin(2*%pi*fm*t);
Vc =1+squarewave(4*t);
x = Vc.*Vm
subplot(3,1,1)
square(0,0,16,2.5)
plot(Vm)
title('Modulating Signal')
subplot(3,1,2)
square(0,0,16,2.5)
plot(Vc)
title('Pulse Train')
subplot(3,1,3)
squa... |
fa6ac2fcee71b239aacdecce1e1095f8fd126730 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH11/EX11.1.i/I11_1.sce | ed47f8d04288dfc59c52da8a87962f54afb52c1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | I11_1.sce | clc
//Initialization of variables
kf=8.18*10^8 //L/mol s
kb=2*10^6 //s^-1
//calculations
K=kf/kb
//results
printf("Equilibriu constant for dimerization = %.1e ",K)
|
903d53ac2a9d42c50e09d254b16efe0f8b53f1ee | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/scimage/ch04/idct2.sci | 43e6ef6ce4fcee99c130dfa0570e8f0731eab39c | [] | no_license | vmebus/workspace | e18947a1f967e6a3a7dfbc5cce6f92380d8637fc | f251b8a8e6cec30a77c7ef7b4103c5ee6e6d1393 | refs/heads/master | 2021-01-09T21:53:45.183564 | 2015-10-03T06:42:23 | 2015-10-03T06:42:23 | 36,120,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,105 | sci | idct2.sci | ////////////////////////////////////////////////////////////////////////////
// Image_Processing_toolbox_2
//
// Copyright (c) by S. Parua Biswas, CDAC, Kolkata. 2013
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// t... |
76e8f92db5c27f79dc7a838d450f2406b8d40766 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%s_n_l.sci | 320c15b086a330896a5b28cdb99eb171f6c111d8 | [
"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 | 89 | sci | %s_n_l.sci | function [r]=%s_n_l(l1,l2)
//r=(l1==l2) constant == list
//!
// Copyright INRIA
r=%t
|
f8f3015ec7513df22ee672966e2d3d3e00d48e65 | b26239033e0d21476c77ff50326b32231c2a3b00 | /Scripts/normalisation.sci | 358680e8d723bbda2978fade8683954d0a2af53c | [] | no_license | SmartGuyy/Exolife | 1c9a5bfdb8b16523e9681170fe4cb2cb12613e3a | eb477766dffe7edd9022d0cf46028980489c6277 | refs/heads/master | 2021-06-17T03:56:00.785128 | 2017-03-17T09:39:04 | 2017-03-17T09:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sci | normalisation.sci | // Fonction normalisation
function retour=normalisation(img_input)
//Hauteur et largeur de l'image
[wd,he]=size(img_input)
//Création d'un retour avec des 0
retour=zeros(wd,he)
//Niveau minimum de gris
nivgrismin=min(img_input);
//Niveau maximum de gris
nivgrismax=max(img_input)... |
17be5d03b71ff2d64255921c85aef5fa7f83ae81 | 717ddeb7e700373742c617a95e25a2376565112c | /1442/CH5/EX5.3/5_3.sce | d31574f3ede9c9b66ce0001072ae2465d139ad1c | [] | 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 | 448 | sce | 5_3.sce | clc
//initialisation of variables
V= 20 //L
m= 0.050 //gms
M= 29 //gms
T1= 20 //C
T2= 150 //C
k= 1.4
V1= 0.05 //m^3
//CALCULATIONS
p1= m*R*(273.15+T1)/(M*(V/10))
p2= m*R*(273.15+T2)/(M*(V/10))
dU= p1*V1*(((273.15+T2)/(273.15+T1))-1)*100/(k-1)
dH= k*dU
//RESULTS
printf (' intial pressure = %.1f kPa',p1)
... |
f4d7cb5784b9b1d6a7ac9fc11304ebc8cb0e30c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH8/EX8.4/8_4.sce | d3cb8e37223463a45b7531ee1a2993f605aaf52b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 8_4.sce | clc
//initialisation of variables
h= 6.624*10^-27 //ergs sec
c= 3*10^10 //cm/sec
u= 5 //cm^-1
//CALCULATIONS
T= h/(h*2*%pi*c*u)
//RESULTS
printf (' lifetime of this excited state = %.e sec',T)
|
749954f8c7c585a8fb2cc1f6827da2e32f5b1fdf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/fraclab/gauss.sci | 799f52bf62b7cb5ddeb2ff6d69969c81df3f554e | [
"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 | 2,445 | sci | gauss.sci | function g = gauss(n,a,k)
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Software,
// integrate it in a... |
319cbc851d7cbc1b7a5b39ed845ba0ae1bcf54b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.16/Ex4_16.sce | de94ea6a15714fe8be65be92e7548650b095befc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex4_16.sce | clear
//
v=230
f=50
//voltage vr across r is in phase with the current i while voltage vc across c lage i by 90
//from phasor diagram v**2=vr**2+vc**2
vr=100
vc=((v**2)-(vr**2))**0.5
printf("\n vc= %0.1f v",vc)
p=500 //power
i=p/vr
c=i/(2*3.14*f*vc)
printf("\n c= %e F",c)
//case b
v=(2**0.5)*vc
printf("\n maximum vol... |
1b33f63579cd19eb85b82d24c3383b343339d46c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH5/EX5.1/Ex5_1.sce | e57b434cf1a4baaf738353f576602eb469a94650 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,460 | sce | Ex5_1.sce | clc
clear
//DATA GIVEN
Ms=10000/3600; //rate of steam flow in kg/s
//inlet to turbine
p1=60; //pressue in bar
T1=380; //temp. in deg.celsius
//exit from turbine, inlet to condenser
p2=0.1; //pressue in bar
x2=0.9; //quality
v2=200; //velocity in m/s
/... |
99deb4b9e57ad8133fc22809e5de8dbd53f9957b | bccc40c870821aa0926bcb3bcd6e30c02f5c9ea7 | /CompanyTour_TEST.tst | af9bc0dbadd969408736107a4345b9c893a70150 | [] | no_license | rivkazi/DataBaseProject--PLSQL | 27c7c8b3cf34f64de9709030064c41020d1595d4 | 70c6f93f6fa0f1f4ec3e42c7051f883ad118d018 | refs/heads/main | 2023-06-30T21:02:42.217915 | 2021-08-04T21:22:05 | 2021-08-04T21:22:05 | 392,821,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | tst | CompanyTour_TEST.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := CompanyTour(company_ID => :company_ID);
end;
2
result
1
This company had a tour number: 1 at 14/7
5
company_ID
1
8
4
0
|
a40d8d5193e8bb11488b5298806ea59e5f4885f7 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/nya.tst | b18c08bd3a7c43d6d1b4817c8295f4aa930cd112 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,467 | tst | nya.tst | zolowera adzazolowera V;PL;3;FUT
ika mumaika V;SG;2;PRS
werenga mumawerenga V;PL;2;PRS
sauka adzasauka V;PL;3;FUT
kwata ndimakwata V;SG;1;PRS
sesa munasesa V;SG;2;PST
masula ndimamasula V;SG;1;PRS
bzala ndidzabzala V;SG;1;FUT
khudza anakhudza V;PL;3;PST
iwala munaiwala V;SG;2;PST
posa amaposa V;PL;3;PRS
yankha mudzayan... |
23c11ccddc721dadc0c63e501757972005f70dfa | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/helpers/test_collective.sce | ba4450692ec63bd5905486604189deb93756988d | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,547 | sce | test_collective.sce |
// Makes 2D joint poss-dist p(x,y) = min(px(x),py(y))
function p = makeJoint(px, py)
lpx = length(px);
lpy = length(py);
if( lpx ~= lpy )
error("Given distributions must be vectors of the same size.");
end
p = min(meshgrid(px), meshgrid(py)')';
endfunction
// structu... |
beb24565800ac4ebafdb69e74898315d3c4d4347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.32/Ex32.sce | c9c5217598bf34e11dfbb57a32cf16a915a9d630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex32.sce | // Additional solved examples , Example 32 , pg 346
M1=198.5 //isotopic mass
Tc1=4.175 //critical temperature for M1 (in K)
Tc2=4.213 //critical temperature for M2 (in K)
alpha=0.5
//M^alpha * Tc=constant
M2=((M1^alpha*Tc1)/Tc2)^(1/alpha)
printf("Isotopic mass at critical temperature 4.133K\n")
p... |
8a5e5fd0ea3bc9bd490eab240a513aaea3676988 | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/mis00.tst | 90b0e2900d8f70ce5137d2c9a950d7294d1f23f6 | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | tst | mis00.tst | argc:7
Dataset: ../datasets/converted/lesmiserables.net
Nodes Edges Com Mod NMI Time
seq sync 77 508 6 0.503767 -1 0.000344344
par sync 77 508 9 0.50281 -1 0.074698
|
586584d79ad323f62ec752958eb56db2242e5e31 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH6/EX6.1/ex6_1.sce | 94ebf0e61969e60ec7b775f5ba94d6590687d583 | [] | 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 | 181 | sce | ex6_1.sce | errcatch(-1,"stop");mode(2);// Example 6.1, Page No-269
fH=10*10^3
f=12*10^3
t=(f^2/fH^2)
Hif=1/(sqrt(1+t))
Hifdb=20*log(Hif)/log(10)
printf('Delta Vi=%.2f dB', Hifdb)
exit();
|
bba27adbaae928c55a5b69cfe8a25e64347c5198 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH1/EX1.4/ex_1_4.sce | 56b51f9f49b8f273fa04fef943bc2edaf355b040 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ex_1_4.sce | // Example 1.3: standard resistor
clc, clear
vf=1.8; // in volts
if=16*10^-3; // in ampere
vo=8; // in volts
rs=(vo-vf)/if; // resistor in ohm
disp(rs,"standard resistor (ohm) = ")
|
158e66f2bb1ecf9d95e4bdeb4780da95a4ed0f82 | a078537681b98b61211ad1c550483b98b294004e | /CG3_report/Trab3-backup.sce | bbdeb62c4c39862b2a05622032a663a69d07a875 | [] | no_license | hugocm93/CG3 | a2e353738742fc9c34a3ffa928379c4615186462 | b58dc791819e730462d1c2f1bd2c09981822610f | refs/heads/master | 2020-04-16T11:43:58.713038 | 2016-12-21T21:10:12 | 2016-12-21T21:10:12 | 47,048,789 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,493 | sce | Trab3-backup.sce | //Camera Parameters
eye = [3;3;3]
at = [0;0;0]
up = [0;0;1]
fov = 30
near = 1
far = 15
w = 640
h = 480
//Triangle Parameters
v1 = [1;0;0]
v2 = [0;1;0]
v3 = [0;0;10]
//Camera axis
ze = (eye - at)/norm(eye - at)
xe = cross(up, ze)/norm(cross(up, ze))
ye = cross(ze, xe)
//Frustum bounds
top = near*tan((3.14/... |
5fdb3ba264cfebfe72a176ff0184e22d27806537 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH3/EX3.1.3/Ex3_1_3.sce | 59a29da21d8d3f0a410f613889792ce6c5b12247 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 914 | sce | Ex3_1_3.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 3.1.3
//windows XP
//Scilab version-5.1.1
clc;
clear;
//given
//case 1
n1=1.48;//refractive index of the core
n2=1.46;//refractive index of the cladding
alphac=asin(sqrt(1-(n2/n1)^2));
mprintf("\n The Critical... |
3062db3140352e1b5ecb772d443b36f9ad7ae728 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/intfilt/intfilt8.sce | 0796a4aad74108d261b890f9d96d693da38d9a5a | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | intfilt8.sce | //too many i/p args
a=0.6;
f=intfilt(4,2,a,1);
disp(f);
////output
// !--error 58
//Wrong number of input arguments.at line 3 of exec file called by :
//lt/intfilt8.sce', -1
|
46c547a0569293875808224fd02d67d13ec683a4 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0086.tst | ecaf731d47a636808dc1194d853396b574fcf58a | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 313 | tst | 0086.tst | SPLiTteR r {}
filTer zeg { Xel ( ) }
fILteR BQr {WXH OR NoT pR Or nOT uii Or Q or Q OR NOT x not a OR NoT jLwg Or d oR NOt t }
l -> a
GrouPeR u {ModuLE mq{ Tp <= bO } mODulE r{ } aGgrEGatE SUm(Y.wJ) As Muy ,Max(h) aS hsBX ,BitOR(B) aS K }
unGROUPeR hIs { }
GROUPfILtER f {}
mErGEr T { EXPORT Kve } |
ca0477b9b32762f93d4e16d9879559c6852507bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.27/EX_5_27.SCE | 41c5f6a234dd24b6b065a4179060e60610c3fcd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | EX_5_27.SCE | // Example 5.26:fh,fl and bandwidth
clc;
clear;
close;
fln=25;//in hertz
fhn=16;//in kelo hertz
n=3;//
x=sqrt(2^(1/n)-1);//
fl=x*fln;//lower cut off frequency in hertz
fh=fhn/x;//upper cut off frequency in hertz
BW=fh-fl*10^-3;//bandwidth
disp(fl,"lower cut off frequency in hertz")
disp(fh,"upper cut off fr... |
ec0d594cee5c90d3b7af1d5adb8365afaf9e45f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH6/EX6.3/6_3.sce | ec9be7e4a972f5c10ba68dc8af5baf8c1fbb20c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | 6_3.sce | clear;
disp("Example 6.3")
d=0.1 // diameter of sphere in m
velocity= 0.25 // in m/s
mew= 1.9e-5
density= 1.15 // in kg/m^3
f=0.44
area=%pi*d*d/4
Fd=(f*density*velocity*velocity*area)/2
disp(Fd,"The drag Force is ")
|
2212b7d23219cf1bfe63f06d28cb8759a405f7db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.27/EX8_27.sce | 59bbfc78ba85c27d176a3d0fd3e19622833be6e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | EX8_27.sce | //EXAMPLE 8-27 PG NO-545
R2=0.586;
M.G=1+0.586; //MID BAND GAIN
R=10^3;
C=0.02*10^-6;
Fc=1/(2*%pi*R*C); //Cut OFF Frequency
G.Fc=0.707*M.G;
M.B.O=M.G*1.4;
disp('ii) Cut off Frequency (Fc) is = '+string (Fc) +' ')
disp('ii) Gain at cutt of frequency (G.Fc) i... |
478794e32b2a971bf024f45db14f9b425450802c | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH6/EX6.12/example12_sce.sce | b9c535889f11e4ae916e7b205ef46602b3ca68e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | example12_sce.sce | //chapter 6
//example 6.12
//page 277
printf("\n")
printf("given")
Rc=5.6*10^3;Rl=33*10^3;rs=600;R1=68.0*10^3;
R2=56.0*10^3;Re=4.7*10^3;
hfe=100;hie=1.5*10^3;vs=50*10^-3;
disp(" CE circuit operation with vs at transistor base and Re bypassed")
Av=(hfe*((Rc*Rl)/(Rc+Rl)))/hie
Zb=hie
Rb=(R1*R2)/(R1+R2);
Zi=(Rb*Zb)/(Rb+Zb)... |
1163e7b793c521a958a438f1cb39b0c9a14530e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH4/EX4.14/Example4_14.sce | 3a10b0ae2c8023e2b43ee56a0456309d4f9b5206 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,465 | sce | Example4_14.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 4 : OVERHEAD POWER TRANSMISSION
// EXAMPLE : 4.14 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
KV = 345 ; // Transmission line voltage in kV
V_R = ... |
8a86b43e3915a4902e24c362e8a38d6b5c47b24c | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1303.sce | ed51ee67444838da4d87a64c35e7c58f0666b1ed | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,752 | sce | map1303.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1303" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="冰雕" X="1" Y="1" />
<Cell Name="冰块" X="2" Y="1" />
<Cell Name="贝壳" X="3" Y="1" />
<Cell Name="冰雕" X="5" Y="1" />
<Cell Name="冰雕" X="8" Y="1" />
<Cell Na... |
76763acaf2bc02f261456297d14069f23b386436 | 928fd2a05943aaa54c26a75b62a39e027bcb2b63 | /tests/fix_atari.tst | 7d0eeae39f72f4cb9f9f1b65892ae2ffeb82a32c | [
"MIT"
] | permissive | timotamo/michi-c | e70156aea474c66ee28d6d49081d956b2d203010 | fc4b0d75b2764fff80a2afec374e5286b93e65bd | refs/heads/master | 2020-12-25T00:27:43.211705 | 2015-08-30T18:08:25 | 2015-08-30T18:08:25 | 41,674,387 | 1 | 0 | null | 2015-08-31T12:35:28 | 2015-08-31T12:35:28 | null | UTF-8 | Scilab | false | false | 863 | tst | fix_atari.tst | #-------------------------------------
# tests of the michi fix_atari routine
#-------------------------------------
# escape
# ------
debug setpos C8 C9 E9 B8 F9 D8
10 debug fix_atari C8
#? [1 C7]
debug setpos C1 G7 B2 B1
20 debug fix_atari B1
#? [1 A1]
play b e5
30 debug fix_atari B1
#? [1]
# counter capture
# --... |
27a6467453f08d8d301b8b7aca4578cedff060f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.13/8_13.sci | 2d5c0ffc81b8d54c6eff1d729b5777d7793010d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sci | 8_13.sci | //coefficient//
syms s t k;
s = poly ( 0,'s' );
y=k/(s*(s+2)); //G(s)H(s)
disp(y,"G(s)H(s)")
//R=laplace('0.2*t',t,s)
R=laplace('0.2*t',t,s)
e=limit(s*R/(1+y),s,0)
//given e<=0.02
a=[0.02];
b=[-0.4];
m=linsolve(a,b); //Solves The Linear Equation
disp(m,"k")
|
9217f5dfe78e93152be17bb998b26c298041c7da | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.25/ex25.sce | de09b920aeb76c275b4ec1757d446bbdd34fac7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sce | ex25.sce | clear
clc
A=[1 1 3;1 3 -3;-2 -4 -4]
disp("inverse of A is ")
inv(A) |
119811093126eee74f051a1d11f5fe3af20845c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH3/EX3.4/example4_sce.sce | 4357c06b949e80189e4534ebd2bda050a7302680 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | example4_sce.sce | //chapter 3
// example 3.4
//page 114,figure 3.9
R1=1000;
Af=61;//closed loop gain
Rf=R1*(61-1);//Af=1+(Rf/R1)
disp(Rf)//feedback resistance
|
bebb7043db241036aa9e215201cffa650ea1bd1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH14/EX14.4/Ex14_4.sce | e3b778ccfe17220cbe132a230b8e6da1cca2fc7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Ex14_4.sce | clc;
close();
clear();
//page no 474
//prob no. 14.4
L=320*10^-9; //H/m
C=90*10^-12; //F/m
R0=sqrt(L/C);
mprintf('The characteristc impedance, R0 = %.2f ohm \n',R0);
|
d6610612819764383ea238dee253431b6d9fa0c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.27/example27_sce.sce | 8f3aad99522ee266f95064b3ab727daa1ca98dd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | example27_sce.sce | //chapter 19
//example 19.27
//page 883
printf("\n")
printf("given")
Rw=.1;f=1*10^6;Lp=19.5*10^-6;Rl=1.2*10^3;Vcc=30;Idc=12.3*10^-3;Vce=0.5;
Vp=Vcc-Vce;
Po=((Vp)^2) /(2*Rl);
QL=(2*3.14*f*Lp)/Rw
Qp=Rl/(2*3.14*f*Lp)
B=f/Qp
Il=(.707*Vp)/(2*3.14*f*Lp)
Pl=(Il)^2 *Rw
Pi=(Vcc*Idc)+Pl
n=(Po/Pi)*100 |
2ec5d6db7f60e5f9adaf87d9f2475a7af06700b7 | eea9aeba65fa86296426a77e86e37d26a78b8ef5 | /gusev/lab4.sci | ea6492ea0c1750db7c04792936ff6e0e8b580887 | [
"Unlicense"
] | permissive | spb201/scilab | fd2f599352cf1d30862bbe0a20c6a32689224e77 | 5093079d2c9c2410c3cff75d42a453c2e9386bef | refs/heads/master | 2021-01-21T13:11:44.303736 | 2016-04-30T03:32:41 | 2016-04-30T03:32:41 | 52,134,931 | 0 | 0 | null | 2016-04-09T08:46:39 | 2016-02-20T03:44:27 | Scilab | UTF-8 | Scilab | false | false | 1,836 | sci | lab4.sci | //task 1
x = [1, 2, 4, 8]
h = [2, 3, 4, 5]
function [r]=fourier_convol(_x, _h)
xl = length(_x)
hl = length(_h)
final_length = xl + hl - 1
_x = cat(2, _x, zeros(1, final_length - xl))
_h = cat(2, _h, zeros(1, final_length - hl))
x_dft = fft(_x, -1)
h_dft = fft(_h, -1)
r = ... |
e3bcc9baaf67ee0634f16f9f60e343f9d5f38e5a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/U08.prev.tst | f3e53fa7c1a1c035f61daa7f9ba29723efbcc1e9 | [
"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 | 2,499 | tst | U08.prev.tst | 0 0 0
1 0 0
-1 0 0
0 1 0
0 -1 0
1 1 0
-1 1 0
1 -1 0
-1 -1 0
0 0 1
0 0 -1
1 0 1
-1 0 1
1 0 -1
-1 0 -1
0 1 1
0 -1 1
0 1 -1
0 -1 -1
1 1 1
-1 1 1
1 -1 1
-1 -1 1
1 1 -1
-1 1 -1
1 -1 -1
-1 -1 -1
2 0 0
-2 0 0
2 1 0
-2 1 0
2 -1 0
-2 -1 0
0 2 0
0 -2 0
1 2 0
-1 2 0
1 -2 0
-1 -2 0
2 2 0
-2 2 0
2 -2 0
-2 -2 0
2 0 1
-2 0 1
2 0 -1
-... |
1e7465fe06964354125e4d12bee0d68a2c809e66 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Nohiddenpers2.sci | d49bce91e93b918690054ec505f5e8310ac42945 | [] | 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 | 3,142 | sci | Nohiddenpers2.sci | // 08.10.11
// 08.10.12
// 08.10.15
// 09.06.24
// 10.02.16 Eps
// 11.04.12 Eps0 (bug)
// 13.11.02 bug
function FigkL=Nohiddenpers2(PaL,Fk,Fd,Uveq,Np,Eps)
global EyePoint FocusPoint HIDDENDATA;
Eps0=10^(-5); // 11.04.12
Fh=Projpers(Fk);
P1=Ptstart(Fh);
P2=Ptend(Fh);
Csp=CuspPt();
Cspflg=1;
for I=1:... |
b8ca3827548d206391de3a66bb5ea5ba66fce575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH5/EX5.3/Ex5_3.sce | f49e8770c8d85a27218a148b193996dd96f66ca9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Ex5_3.sce |
clc
//initialisation of variables
v=100//ft^3
vliq=1 //ft^3
w=99 //ft^3
wvap=14.7 //lbf/in^2
vf=0.01672 //lbm
vg=26.80 //lbm
p=294 //lbf/in^2
Tu=1.575 //lbf
u2=1117.0//Btu/lbm
vg1=1077.5//ft^3
p1=180.0//lbf/in^2
//CALCULATIONS
mliq=(vliq/vf)//lbm
m1vap=(w/vg)//lbm
U=(mliq*p1)+(m1vap*vg1)//Btu
m=mliq+... |
14aba9802c7bae4d446da925d3ae3c4e62420bc6 | 30ad7dd5146dfff03b7639186330ec527bfc0524 | /Control Systems Programs/RungeKutta4var.sce | 665468e7139998462dba350cc7a9d8d5808ceaf9 | [] | no_license | boberae/Other-Small-Projects | fcc79d8fd69c6d39de68a8b83360b32b28216d73 | 63d668d2f2c022f653cf44f55992dd05420437e3 | refs/heads/master | 2020-06-11T10:07:44.474211 | 2016-12-06T06:42:33 | 2016-12-06T06:42:33 | 75,697,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,139 | sce | RungeKutta4var.sce | // PreLab 3 Part 4
//System Component Values
F = 0;
M1 = 20;
M2 = 10;
Ks1 = 5;
Ks2 = 15;
Ks3 = 25;
Kd1 = 10;
Kd2 = 5;
Kd3 = 20;
x1 = 0; // initial conditions
v1 = 0;
x2 = 0;
v2 = 0;
X = [x1, v1, x2, v2];
// Define the state matrix function
// The values returned are [x, v]
function foo=f(state,t)
foo = [st... |
f5f21c4868bd4bd9acd1f5204252850b1aac8754 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_5.tst | b3ed4f4fb29ce1c6305725537203b2ae6dac70d5 | [] | 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 | 27,128 | tst | bow.17_5.tst | 17 11:0.5 19:0.09090909090909091 80:0.5 1332:0.3333333333333333 1346:0.5 3305:0.5 3316:0.5 3407:1.0 3534:1.0 4088:1.0 4123:0.5 4302:1.0 5282:1.0 5554:1.0 6274:1.0 6293:1.0 7516:1.0 7670:1.0
17 6:0.2 20:0.16666666666666666 21:0.125 38:1.0 88:1.0 105:1.0 121:0.05128205128205128 134:0.2857142857142857 203:0.33333333333333... |
6ba921d8f314795c1cadeff6a72841e20403b337 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH1/EX1.5/Ex1_5.sce | 4f99faae1a7cfc811ac85d9cdafc2f2be5066009 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_5.sce | clear;
clc;
//Example 1.5
T=300;//(°K)Given Temperature
V_T=0.026;//(Volt)terminal voltage
Is=10^-11;//(mA)reverse bias saturation current
n=1;//emission coefficient
v_D=+0.7;//(V)applied voltage
//pn junction is forward biased
i_D=Is*(exp(v_D/V_T)-1);//diode current
printf('\ndiode current=%f mA\n',i_D)
v_D... |
1369a944b6b829d8d68a7ee3a49a67bfd29110fd | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Setwindow.sci | fb72097bafb40a1ef1cbe4a516130de0abecc7f1 | [] | 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 | 921 | sci | Setwindow.sci | //
// 09.02.27
// 10.04.25
function Out=Setwindow(varargin)
global XMIN XMAX YMIN YMAX
Nargs=length(varargin);
if Nargs==0
Out=[XMIN,XMAX,YMIN,YMAX];
disp(Out);
return;
end;
if Nargs==1
Dt=varargin(1);
if type(Dt)==1
Dt=list(Dt);
end;
Xm=%inf; XM=-%inf;
Ym=%inf; YM=-%in... |
9d20be473f4593965de7debb3e23cd11b4647d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH14/EX14.10/14_10.sce | 23af7a5d41ab44b893eae92d77874bb5cc52b141 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 696 | sce | 14_10.sce | //Chapter 14, Problem 10
clc;
Vm=75; //peak voltage
w=200*%pi;
phi=0.25;
Vpp=2*Vm; //peak to peak voltage
Vrms=0.707*Vm; //rms voltage
T=(2*%pi)/w; //time period
f=1/T; //frequency
angle=phi*(180/%pi);
... |
96495e4e69b3607b12de432d64f8392304caaab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH3/EX3.5/Ex3_5.sce | a1701b366320eed76e5156223b816f426c9af911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex3_5.sce |
//Exa:3.5
clc;
clear;
close;
//Given:
fc=25*10^6;//in Hz
fm=400;//in Hz
A=4;//in volts
wc=2*%pi*fc;
wm=2*%pi*fm;
w=10000;
mf=w/fm;
printf("\n a)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf,wm);
printf("\n\n b)Eq:PM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf,wm);
fm2=5*fm;
mf12=mf/5;
mf22=mf;
wm=2*%pi*fm2... |
22a3128e78d36c8421e6fb76979e313668553158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.11/5_11.sce | b938a7cfd71dbb8760512c453c8a1a1834d0d30f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | sce | 5_11.sce | //Eg-5.11
//pg-239
clear
clc
printf('Theoretical Question\n') |
f7387636e83de455094e6bb493c148506782dad0 | 1897ae5489b64fae9aa083d62f51254cfe52d26f | /III semester/numerical-algorithms/labovi/LV4/vj4sam.sce | 1ecbf601334e543f403a7c850700f1f52d1c2411 | [
"Unlicense",
"LicenseRef-scancode-proprietary-license"
] | permissive | MasovicHaris/etf-alles | f1bfe40cab2de06a26ceb46bdb5c47de2e6db73e | 0ab1ad83d00fafc69b38266edd875bce08c1fc9e | refs/heads/main | 2022-01-01T18:22:54.072030 | 2021-12-22T09:05:05 | 2021-12-22T09:05:05 | 138,169,714 | 9 | 15 | Unlicense | 2020-03-29T23:36:50 | 2018-06-21T12:50:51 | C++ | UTF-8 | Scilab | false | false | 514 | sce | vj4sam.sce | scicv_Init();
clf
img_gray = imread("coins.png", CV_LOAD_IMAGE_GRAYSCALE);
img_mat=img_gray(:,:);
subplot(2,2,1)
[counts,X] = imhist(img_mat,255);
histplot(X,counts)
pause
subplot(2,2,2)
plot(X,counts,'g*')
pause
[P,S,mu]=polyfit(X,counts,30);
Y=polyval(P,X,S,mu);
plot(X,Y,'r')
subplot(2,2,3)
pause
[V,ind]=gsort(abs(di... |
89b0bdaa32be381abe91141f8f88f91de33e34f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH4/EX4.2/P2_offset_bar.sce | 220bd7f0cc2e6f0c643f0f9e60a931cc05da7580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,521 | sce | P2_offset_bar.sce | clc
//Example 4.2
//Offset bar
//------------------------------------------------------------------------------
//Given data
//Couple causing force
F=900 // N
//Distance between forces
d=0.14 //m
//Dimensions of bar
h=0.025 // m
R=0.09 // m
t=0.05 // m
res2=mopen(TMPDIR+'2_offset_bar.txt','wt')
//... |
c9e09400f4155dc9aae5e9eb218d21f214bd4fe3 | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/IncNavierStokesSolver/Tests/TaylorVor_dt2.tst | 5e52c58a1fd17b629c4188b856844cc7b05a4ff8 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 875 | tst | TaylorVor_dt2.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Convergence: Taylor Vortex IMEXOrder2 dt=0.001</description>
<executable>IncNavierStokesSolver</executable>
<parameters>TaylorVor_dt2.xml</parameters>
<files>
<file description="Session File">TaylorVor_dt2.xml</file>
</files>
<me... |
d884a876e5f65da3ea71cdba17c6b15616cd1ff2 | 0764595c2d11c42afddd3351da341f9e9c4db651 | /codigos_aula/Cramer.sci | 2eddacbc5bb3cf010d67827ff349cb2aa201f916 | [] | no_license | ThiagosLima/metodos-numericos | e3933c43362c6f047714980841f7c64f1a345bb0 | df21508b72b94e64a424e6b50564e948019a9eab | refs/heads/main | 2022-12-30T10:06:57.560852 | 2020-10-05T00:41:52 | 2020-10-05T00:41:52 | 301,257,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sci | Cramer.sci | function x=Cramer(A,b)
//Saída- x(N) com solução para A(N,N)*x(N)=b(N).
[N N]=size(A);
C=[A b];
D=det(A)
printf("Matriz Aumentada [C=A|b]\n")
printf("det(A)=%f",D)
disp(C)
for(k=1:N)
Ak=A;
Ak(:,k)=b(:,1) //substitui coluna k por vetor b
Dk=det(Ak)
... |
e747c9addb052dbbd83f7fb799c248b24948f753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.4/ex_3_4.sce | 5c0d85e233225a9c30957a5c60c99a23cdfc08b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3_4.sce | // Example 3.1: determine collector efficiency
clc, clear;
Vmax=25; //collector emitter voltag in volts
Vmin=2.5;//collector emitter voltag in volts
eta=(50*((Vmax-Vmin)/(Vmax+Vmin)));
disp(eta,"collector efficiency (%) = ")
|
a217f84ce7cef1bd6532ca926cd7d589fe4923e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH3/EX3.15/Example3_15.sce | 08afb469fc65924da2b9dc1d9616ab8a483f1651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Example3_15.sce | //Caption: Circular correlation between two signals
//Example3.15
//page 131
clc;
x = [1,5;2,4];
h = [3,2;4,1];
h = h(:,$:-1:1);
h = h($:-1:1,:);
X = fft2d(x);
H = fft2d(h);
Y = X.*H;
y = ifft2d(Y);
disp(y,'Circular Correlation result y=')
//Result
//Circular Correlation result y=
//
// 37. 23... |
dbbeb9cd5c0c389b88c82004804f743ad2c33882 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.25/EX1_25.sce | 84f9f311ae92be74acb48d71a2a792d84e0746da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX1_25.sce | clear;
clc;
printf("\nEx1.25\n");
//page no.-35
//given
lambda=0.071*10^-9;.........//wavelength in m
h=1;
k=1;
l=0;
a=0.28*10^-9;........//lattice constant in m
n=2;.................//order
d=a/sqrt(h^2+k^2+l^2);..........//interplanar spacingin m
//by bragg's law
theta=asind((n*lambda)/(2*d))......./... |
90a20f215bb905fdb3f1aa9a0583d7d7c0b85642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.11/Ex11_11.sce | dd04cd66ba45f2326edfc34f9aafc9657bad07a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | Ex11_11.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.11\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.11 (page no. 567)
// Solution
//From problem 11.9,
//A bare steel pipe
r2=3.50; //Outside diameter //Unit:in.
r1=3.00; //inside diameter //Unit:in.
Ti=240; //Inside temperature //unit:fahren... |
7663bf4617e24f7479adce0ff7d1e06471e3cd8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH4/EX4.9/ex4_9.sce | c3f9348b1b8b7a1427c8fd6e9596d1da32eac516 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | ex4_9.sce | // Exa 4.9
format('v',6)
clc;
clear;
close;
// Given data
V_BE= 0.7;
bita = 100;
V_CC = 20;// in V
R_E = 1 * 10^3;// in ohm
V_CEQ = 10;// in V
I_CQ = 2* 10^-3;// in A
S_ICO = 10;
I_BQ = I_CQ/bita;// in A
// R_B= R1*R2/(R1+R2) (i)
// V_B= R2*V_CC/(R1+R2) (ii)
R_B= (S_ICO-1)*R_E;// in ohm
// V_CC= I... |
5b302784827926ccc4691231b8dd992eff79e227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH13/EX13.8/Ex13_8.sce | c3bfa11c0eddd001f4e1fab2ef277ed374e73f8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex13_8.sce |
clc
//initialisation of variables
g=10000//K
p=0.01//atm
p1=0.00042 //atm
z=0.201//Btu
Ya=0.666//Btu
Yb=0.167//btu
Yc=0.167 //btu
//CALCULATIONS
Y=Yc//Btu
//RESULTS
printf('the ionization equilibrium constant=% f btu',Y)
|
74717e373e4945dd33a71598074db97bdc2ab9bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH10/EX10.3/Ex10_3.sce | 19a6c0323bad1ad0a055cfd748e7bd88db1ad29a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,594 | sce | Ex10_3.sce | clear
//
//
//Initilization of Variables
f_x=40 //N/mm**2 //Internal Fliud Pressure
d1=200 //mm //Internal Diameter
r1=d1*2**-1 //mm //Radius
q=300 //N/mm**2 //Tensile stress
//Calculations
//From Lame's Equation we have,
//Hoop Stress
//f_x=b*(x**2)**-1+a ..........................(1)
//Radial Pressure
//p_x=... |
d7dadc1c6ae6609c97ae7254e8d95d5463e8ad69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH2/EX2.6.3/Example2_6_3.sce | 82da6fbdae3afd5f276126cf2679ad5aa958e2db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Example2_6_3.sce | //Example 2.6.3 page 2.25
clc;
clear;
t= 0.1*10^-6;
L=15;
B_opt= 1/(2*t);
B_opt=B_opt/1000000; //converting from Hz to MHz
printf("The maximum optical bandwidth is %d MHz.",B_opt);
del= t/L*10^9; //in ns...
printf("\n\nThe dispersion per unit length is %.2f ns/Km",del);
|
474b582579b5e12c749cc853a74e122e5e70d568 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH7/EX7.2.B/EX7_2_B.sce | c3d0f4822c6b7fc2fd68a733c18f2e0448dd7420 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | EX7_2_B.sce | //Example 7.2.B
clc;
syms a z n;
x=(0.5)^(n);
X=symsum(x*(z^-n),n,0,%inf);
disp(X,'X(z)=');
|
ebcc1d5823446425ea158e81fc8cd6c18cb5610f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.14.9/Example1_14_9.sce | 9b1f745a4024ddd28e6ef1854b30f43142f08bd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_14_9.sce | //Example 1.14.9
//To find normalised frequency and the number of modes for the fibre..
clc;
clear;
lamda= 0.82*10^-6; //wavelength ofoperation.
a= 2.5*10^-6; //Radius of core..
n1= 1.48; //RI of core..
n2= 1.46; //RI of cladding
NA= sqrt(n1^2-n2^2); //Numerical Aperture..
V= 2*%p... |
0b83b7ff5beb01fb38e3f1a83579fa46973d9573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH2/EX2.6/exa_2_6.sce | 46cc2354c29d110881e84a3a351fb7757e46da37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | exa_2_6.sce | // Exa 2.6
clc;
clear;
close;
// Given data
Ad= 100;
Acm= 0.01;
CMRR= Ad/Acm;
CMRR_desh= 20*log10(CMRR);// in dB
disp(CMRR_desh,"CMRR in dB")
|
9e9b86891c91720adf942228c93826f3464e8b79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH1/EX1.6/EX1_6.sce | 6a88d3e008e3b67b62984ec37495be1173a1a5da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | EX1_6.sce | //Chapter 1, Example 1.6
clc
//Initialisation
r1=10 //resistance in ohm
r2=20 //resistance in ohm
//Calculation
r=(r1*r2)/(r1+r2) //resistance in ohm
//Results
printf("Equivalent Resistance, R = %.2f Ohm",r)... |
6eb79c0c854c014654027c023ae7fe0ce92ab36c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH4/EX4.11/EX4_11.sce | 0876c9e5ee87e76f907394bb2b2b3122637b2db5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | EX4_11.sce | //Chapter 4, Example 4.11, page 164
clc
//Initialisation
R12=150 //12 month average value
fs0=4.416
fs100=5.473
n=0.23
pi=3.14
x=45*pi/180 //zenith angle in radians
//Calculation
f1=63.7+0.728*R12+0.00089*R12**2
fs... |
9e2c03a97704f2f28a56fe24be2b561e54f41309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.4/ex4_4.sce | ad97f50b20c04f23f98baa6403d5989054952f10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | ex4_4.sce | clc;
q1=1; //charge in C
q2=1; //charge in C
r=1; //r in m
F=(9*10^9)*((q1*q2)/r^2); //calculating F
disp(F,"Force in Newton = "); //displaying result |
28e4ac697b200411600eac8febaa93fe5bad3476 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH5/EX5.1/Ex5_1.sce | 5f609245a474843ab6d712922723c81b3b964568 | [] | 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 | 395 | sce | Ex5_1.sce | clc
//Initialization of variables
Vol = 10*6*6 // ft^3
Q = Vol/3 // cfm
Aout = (%pi/4)*(4/12)^2 // ft^2
Ain = (%pi/4)*(8/12)^2 // ft^2
// calculations
Vout = Q/(Aout*60) //ft/s
Vin = Q/(Ain*60) // ft/s
// Results
printf ("the exchange rate needed is %.f cfm",Q)
printf ("\n the velocity of air exiting is %.1f... |
4a7b1629ed093e0565c26a54a9e090663afabf51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH6/EX6.10/10.sce | b4bdb62a35857be5bfbd702ac1af6d40cc1cf9f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10.sce | clc
H1=1.5; // m
V=0.75; // m^3
d1=1.2; // m
u=0.08; // Ns/m^2
L=3; // m
rho=1100; // kg/m^3
g=9.81; // m/s^2
d=0.025; // m
a=%pi*d^2/4;
A=%pi*d1^2/4;
H2=H1-(V/A);
t=-32*u*L*A/(a*rho*g*d^2)*log(H2/H1);
disp("Time taken =")
disp(t)
disp("s") |
d4a30d4954912353f68db7a6866080db2fb1997d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.14/Chapter3_example14.sce | 70e4d58c80f395788871a8cf6e3bd728b4c7aaff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,281 | sce | Chapter3_example14.sce | clc
clear
//Input data
p1=1//Pressure at intake in kg/cm^2
T1=100+273//Intake temperature in K
r=10//Compression ratio
p3=70//Maximum pressure of the cycle in kg/cm^2
q=400//Amount of heat added in kcal/kg of air
Cp=0.24//Specific heat at constant pressure in kJ/kg.K
Cv=0.17//Specific heat at constant volume i... |
56f4efb3bdeae1c4c2bf801cddd2851647ce0a37 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH27/EX27.8/EX27_8.sce | ff03696ea3d7754336eb1a0e47a8621a62ffc65a | [] | 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 | 221 | sce | EX27_8.sce | errcatch(-1,"stop");mode(2);//Chapter 27
//Example 8
//given
h=6.63*10^-34 //in J.s
m_e=9.11*10^-31 // in Kg
v=1*10^7 //in m/s
lambda=h/(m_e*v)
disp(lambda,"de Broglie wavelength for an electron in meters is")
exit();
|
8352fb405ec6fe384d106abcbe3a3183d2d7fb59 | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/myo/myo_md.tst | 5abbb0a81df22cf1f816e4b7a69b0e369360438e | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 1,500 | tst | myo_md.tst | Time = 0.001
Temperature = 324.00
Volume = 121.76
Pressure = -9.13E+07
Energy = -1.091E+05
Time = 0.002
Temperature = 324.04
Volume = 121.76
Pressure = 3.24E+07
Energy = -1.090E+05
Time = ... |
8712420dc4547f761371c2dda3d83df073eae90c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH10/EX10.2/Ch10Ex2.sce | 5777df9e17f06f1c2a7321afed8157160e723f30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | Ch10Ex2.sce | // Scilab Code Ex10.2: Page-507 (2011)
clc;clear;
q1 = 1e-009; // Charge at first corner, C
q2 = 2e-009; // Charge at second corner, C
q3 = 3e-009; // Charge at third corner, C
d = 1;....// Side of the equilateral triangle, m
theta = 30;....// Angle at which line joining the observation point to the sour... |
df8db1214f2255c1a460bf5873bce3b9bd3deeaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH13/EX13.5/13_5.sce | f05efa61aecf3addd5b86fc5924e71a2b416a529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 13_5.sce | clc
//initialization of variables
Tt2=1620+460 //R
Tt1=60+460 //R
Mi=0.2
P=40 //lb/in^2
g=1.35
//calculations
Tratio=Tt2/Tt1
disp("From figure")
fM=4*0.036
NM2=0.49
Pratio=0.98/0.885
Pt2=P/Pratio
//results
printf("Final stagnation pressure = %.1f //lb/in^2",Pt2)
printf("\n Final mach number = %.3f",fM)
... |
f0ccaeaa93676ad3b7d7816a37c8561c073968cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH6/EX6.14/Ex6_14.sce | fdcb83c0a983d77ce5bcccbf269d847a63cc6a44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex6_14.sce | // SAMPLE PROBLEM 6/14
clc;funcprot(0);
// Given data
// P=1.5*t;
r_i=9/12;// ft
r_o=18/12;// ft
t_1=0;// s
t_2=10;// s
k=10/12;// ft
W=120;// lb
g=32.2;// The acceleration due to gravity in ft/sec^2
v_1=-3;// ft/sec
// Calculation
function[X]=velocity(y)
X(1)=(((W/g)*v_1)+integrate('((1.5*t)-y(2))'... |
4325e702fca7772467a441a1a95859f211d1e1d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/22_1data.sci | 996db5d0d03902201f22736075c1d6a4c4148ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | 22_1data.sci | A=100;//cross sectional area of a stringer
r=381;//radius of the fuselage,given in mm
t=0.8;//thickness,given in mm
Mx=200*10^6; |
db5ec79be465061fe04695a0653c670525ed0593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH5/EX5.12/Ex_5_12.sce | 296fa25487f4b78be2cd59b79abb78cda0156fa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex_5_12.sce | // Exa 5.12
clc;
clear;
close;
// Given data
gm=75;// in A/V
Rs= 1;// in kohm
Rs= Rs*10^3;// in ohm
R_E= 1;// in kohm
R_E= R_E*10^3;// in ohm
rpi= 1;// in kohm
rpi= rpi*10^3;// in ohm
hie=rpi;
Io= -gm;
Vi= Rs+R_E+rpi;
Gm= Io/Vi;
disp(Gm,"Value of Gm is : ")
Bita=-R_E;
disp(Bita,"Value of Bita is : "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.