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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
57e3b658d48d0c574e438c34441fd3f96cdbaa11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH4/EX4.10/Ex4_10.sce | 3c1fc0b5c0c42569512b2ab86eeed4541d61a462 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | Ex4_10.sce | //Caption:Calculate (i)-required size of guide,(ii)-frequencies that can be used for this mode of propagation
//Exa:4.10
clc;
clear;
close;
wl_c=10;//in cm
c=3*10^10;//in cm/s
r=wl_c/(2*%pi/1.841);//in cm
area=%pi*r^2;//in sq. cm
f_c=c/wl_c;
disp(r,'Radius of circular waveguide(in cm) =');
disp(area,'Area o... |
a6c22aeaaaf4ff51c8dd7aad0698d29abfe28185 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH9/EX9.7/7.sci | 3a6fc3bc142a7805be593562aea62dd7b7968d66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,306 | sci | 7.sci | clc;
clear all;
disp("different types of processes for condensation of capours on a solid surface")
disp("there are two types of methods for condensation")
disp("filmwise - in which condensation wets the surface forming a continuous film whic corners the entire surface")
disp("dropwise - in which vapour condenses ... |
42f74304d3fbffcde178156c11cda1e1e67daf80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH18/EX18.2/2.sce | e68603a14adabbda93d50ce3c6d6f8739caacd90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 2.sce | clc
//Example 18.2
//Calculate the energy per unit mass and heat dissipation rate
v=0.82//m/s
energy_per_unit_mass=v^2/2//J/Kg
printf("The energy per unit mass is %f J/Kg\n",energy_per_unit_mass);
//Let dissipation rate be denoted by eta
//Let D denote d/dL
DP=0.0286//Pa/m
rho=1.2//Kg/m^3
eta=DP*v/rho//m^2/s^... |
f8ba4b4a77fb5955425df889a9b4347c4ace69d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH6/EX6.9/ex_6_9.sce | f7642129f5f6ded87899a05ce89b6b0c1d20a78b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | ex_6_9.sce | d=50
sigmau=630
Tmax=2000
Tmin=-800
Tm=(Tmax+Tmin)/2
taum=(16*Tm)/(%pi*d^3)
disp(taum,"Mean shear stress=")
Tv=(Tmax-Tmin)/2
tauv=(16*Tv)/(%pi*d^3)
taue=0.55*0.5*sigmau
disp(taue,"Endurance limit=")
sigmay=510
Ksur=0.87
Ksz=0.85
Kf=1
tauy=0.5*sigmay//yield stress in shear loading is taken as one half of yield stress in... |
8bcf1de667f5903f250d9190f9492d5c01921551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH11/EX11.1/exa11_1.sce | f4fa3c575578825a83a5f0242beebd2df8bd19ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | exa11_1.sce | //Example 11-1//
// % Resolution of a five bit D/A converter//
clc
//clears the console//
clear
//clears all existing variables//
n=5
//here n is the number of bits//
disp('Max number that can be represented using 5 bits is the binary number 11111 ie 31 in decimal form ')
pres=(1/((2^n)-1))*100
//pres denotes... |
049eaea0031587f384633f418c4916868cef481d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.13/Ex7_13.sce | 2f4f378d26cce28a2fad87edafa6a1d3e601804a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | Ex7_13.sce | // Example 7.13
clear all;
clc;
// Given data
p = 0.878; // Resonance escape probability
T = 273+350; // Given temeprature converted in Kelvin
d = 2.8; // Diameter of rod in cm
a = d/2; ... |
d9f8b198510c54d1ae7543352adbca834fd50a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH7/EX7.13/Ex7_13.sce | ed42f5d4cbdc58bed667e9f6875e6695f4c6bc93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,447 | sce | Ex7_13.sce | clc
clear
//DATA GIVEN
D=0.075; //bore in m
L=0.09; //stroke length in m
n=4; //no. of cylinders
erar=39/8; //engine to rear axle ratio =39:8
Dw=0.65; //wheel diameter with tyre fully inflated in m
Fc=0.2... |
c387c058f76d0fa7a544b1b8ac4878eca0fc1cc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.27/Ex6_27.sce | bbc038fbc7d0c8514c39629044b2200bcddb3fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Ex6_27.sce | clear;
clc;
printf("\t\t\tProblem Number 6.27\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.27 (page no. 270)
// Solution
//data given
T=50+273; //Celsius temperature converted to Kelvin //final temperature //unit:K
v2=1/2; //Because,v2=(1/2)*v1 //volume increases to its half its final volume
v1=1;
R=8... |
da35940ac1cecbf846e6e248e6aabc2071c76029 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/loadplant.sci | d1383d53134f7f5d3881ea394ad0f54fff9b4588 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,636 | sci | loadplant.sci | function loadplant()
// 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
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in... |
3d745a5c3f1dd83fbba44ac53ac3527d93bef6e0 | 66037af205d3b3535f7a38922c80089a7f65c479 | /RZ Polar/RZ POLAR.sce | 8bd5127f4357d0c2efd755beccf9517cb93bd7ac | [] | no_license | Sid-149/Line-Code-in-Digital-Communication | d7fa5d0966c94478cdce3bb0648a9e2b8da875c3 | bfebdd70407e2b94035ee077589c5234429da5e7 | refs/heads/main | 2023-01-09T06:22:45.268396 | 2020-11-13T13:04:48 | 2020-11-13T13:04:48 | 309,885,670 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | RZ POLAR.sce | clear;
close;
clc;
x=[0,0,1,1,1,0,1,0]
z=0;
for i=1:length(x)
t=[z:z+1]
t=[z:0.5:z+0.5]
subplot(2,1,1)
a=gca();
a.data_bounds=[0,-1.5;length(x),1.5]
a.grid=[1,-1]
title('RZ POLAR')
if(x(i)==0)
plot(t,-1)
else
plot(t,1)
end
t=[z+0.5:0.5:z+1]
plot(t,0)
z=z+1
end
|
0dcb6d79318c34045f3475047f886e1bc3165151 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH6/EX6.5/Ex6_5.sce | 1a21444c23fcef46ab46d89fb8424068706035db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,020 | sce | Ex6_5.sce | clc;
//page 320
P=18;//kN, Force applied at D
AF=3.6;//m, Length AF
EF=2;//m, Length EF
ED=2;//m, Length ED
DC=2;//m, Length DC
//Entire frame
//Applying sum(M_F)=0
Ay=-P*(EF+ED)/AF;//kN, Y component of reaction at A
//Applying sum(Fx)=0
Ax=-P;//kN, X component of reaction at A
//Applying sum(Fy)=0
F=-Ay... |
60203aff18e5064f96f9f7a49443d0f6876c5e77 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLSumProd-NZ-01.tst | e26082e9de5428eab9826b4638733a43de4798c5 | [] | 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 | 4,715 | tst | FLSumProd-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 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.
-... |
64acc6b05464f69577567855152dd0a4909420e8 | 6886f9c39f0a208f28d1196a33ca54d3309881c2 | /primitive roots.sce | b8cdcb69088d065c17428785301a20c612cad156 | [] | no_license | sonusharma55/Data-Compression-and-Encryption | 9110c083d58c59d1d4c102033a9d5cc6f3f314c6 | ade4590edfc8f74e12e2644fd60a2997deb6885c | refs/heads/master | 2020-07-25T21:45:51.063843 | 2019-09-14T11:40:39 | 2019-09-14T11:40:39 | 155,232,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | primitive roots.sce | n = input("Enter value of n = ");
for i = 1:n-1
for j = 1:n-1
a(i, j) = i^j;
end
end
printf("Power of integers < n ")
disp(a);
for i = 1:n-1
for j = 1:n-1
a(i, j) = pmodulo(a(i, j), n);
end
end
printf("\nPower of integers < n (mod n)")
disp(a);
for i = 1:n-1
for j... |
e659c65daa498bebf863037eb199820c1fb374f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH8/EX8.6/Ex8_6.sce | 935aed26f52fc70b4a4931d59a7a2e451a501561 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,377 | sce | Ex8_6.sce | clear all; clc;
disp("Scilab Code Ex 8.6 : ")
//Given:
P = 40; //kN
l_ab = 0.4; //m
l_bc = 0.8; //m
//Stress Components:
//Normal Force:
A = l_ab*l_bc;
sigma = P/A;
//Bendng Moments:
M_x = P*l_ab/2;
cy = l_ab/2;
Ix = (1/12)*(l_bc*l_ab^3); //I = (1/12)*(bh^3)
sigma_max_1 = (M_x*cy)/Ix; //sigma = ... |
3d26b1e1b015506462d3f435aafe32b5e4e0c44b | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH7/EX7.3/7_3.sci | 2f115af794f667dbd5120644a059376944141468 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sci | 7_3.sci | // calculating Total possible error and percentage error
clc;
R=5;
V=0.005*R;
disp(V,'0.5 percent of the reading')
TPE=V+0.01;
disp(TPE,'Total possible error (V)=')
R1=0.10;
V1=0.005*R1;
TPE1=V1+0.01;
disp(TPE1,'Total possible error (V)=')
PE=(TPE1/0.1)*100;
disp(PE,'Percentage error=') |
4510f75774dee594b7785a26f346e20ecd9f690d | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/AngleReversal.sci | bb0df9f79ea3bf270f9ce494da682ff30a404ee9 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sci | AngleReversal.sci | function bResult = AngleReversal(plToRef, plToCheck)
// bResult = %F;
// for i = 2:size(plToRef, 1) - 1
// vA1 = plToRef(i, :) - plToRef(i - 1, :);
// vA2 = plToRef(i + 1, :) - plToRef(i, :);
//
// vB1 = plToCheck(i, :) - plToCheck(i - 1, :);
// vB2 = plToCheck(i + 1,:) - p... |
fca37d329f2454d0bb71a19727126cba6dc28361 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TM23.prev.tst | dca424b48f77f400c22a72fcf6f85513da34738e | [
"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 | 594 | tst | TM23.prev.tst | TranspositionSet={[0,2,1],[1,0,2],[1,2,0],[2,1,0],[2,0,1]}
Expanding for base=2, level=6, reasons+features=base,transpose,same,similiar
Refined variables=x,y,z
[0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] -4x+x²-4y-4x*y+y²-4z-4x*z-4y*z-2x*y*z+z²-4
---------------- level 0
expanding queue[0]^-1,meter=[2,2,2]: -4x+x²-4... |
aa419349b6edbc38abac57fd41d6d0edfb893dc5 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/morse/edit-me.sce | 4e6a1493bee71733faa481c829d47f25c1d1474e | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sce | edit-me.sce | function [solution] = solve(x)
// Decodeer onderstaande morse code waaruit
// de pauzes tussen letters werden weggelaten.
//
// -.........-..--..--..-....---..----......-..-.--.-........---.-....--..----..-.--.--.--
//
// In ruil krijg je wel te weten welke letters gebruikt werden:
//
... |
24ddc088b31e40231705b6306d060e96ecda5eba | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/macros/misc/bb_freqid.sci | bdb11043fd19c08659b5e47eb10f5a1b33cb0fc2 | [] | 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 | 263 | sci | bb_freqid.sci | function P=bb_freqid(x,y);
// System identification using energy spectra
// u: input signal
// y: output signal
nz=size(x,'*');
xf=fft(x);
yf=fft(y);
xf=xf(2:nz/2);
yf=yf(2:nz/2);
N=size(xf,'*');
Fxx=1/N*xf'.'.*xf;
Fxy=1/N*xf'.'.*yf;
P=Fxy./Fxx;
endfunction
|
8f3ee35c1aef32ae27c69902fa937764d1607629 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/twophaseflash.tst | 8690eb04b691c9578330fb0cf3f01d433c77cecb | [] | 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 | 469 | tst | twophaseflash.tst | # Two phase flash test
units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE n-BUTANE ISOBUTANE n-PENTANE WATER
flash = Flash.SimpleFlash()
flash.LiquidPhases = 2 # set the number of phases parameter
cd flash.In
Fraction = .2 .2 .2 .2 .2
T = 0
P = 101.325
MoleFlow = 10
cd ..
# dump the resul... |
d3f8b8c66102e2420ed337c504e9b71f2653b494 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH5/EX5.1/Example5_1.sce | 2f24352a8b1a814f3f94c1f59a7fcaa8e563b565 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | Example5_1.sce | //clear//
//Caption: Program to find the resistance, current and current density
//Example5.1
//page 123
clc;
clear;
D = 0.0508; //diameter of conductor in inches
D = 0.0508*0.0254; //diameter in metres
r = D/2; //radius in metres
A = %pi*r^2; //area of the conductor in square metre
L = 1609; //length of the ... |
7b82c07de0ffa7926e770f15dabd6d70cc8f0c30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH16/EX16.6/example6_sce.sce | bc01035edcc32c23c12e8e504f9aab971a883200 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | example6_sce.sce | //chapter 16
//example 16.6
//page 686
printf("\n")
printf("given")
rds=600;Vgs=1;Vd1=.7;f=100*10^3;
disp("wien bridge ocillator")
R4=560;
R3=2*((R4*rds)/(R4+rds))
I5=200*10^-6;Vo=6;
R6=Vgs/I5
R5=(Vo-(Vgs+Vd1))/I5
disp(" C4 discharge voltage ")
Vc=.1*Vgs
disp("C4 discharge time")
T=1/f
Ic=I5;
C4=(Ic*T)... |
9f2e176c698c0ce9a07350ed2b2a3cf892b60dee | 12d519f18a15ef7423dffa1727cb877966fcf913 | /scilab/payback.sci | 1b4f11ea9aba928d289405c3c4eccea54b64d89c | [] | no_license | gviolato/gviolato.github.io | e9b799bf61dd345fe06760ebc296f49f467347b7 | 190748c14c115f63e366d2244a572de08daa7e5e | refs/heads/master | 2021-01-17T15:29:43.924914 | 2017-01-25T23:33:53 | 2017-01-25T23:33:53 | 22,399,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sci | payback.sci | function n = payback(FC)
// Função para o cálculo de payback
//
// Parâmetro de entrada: FC - Fluxo de Caixa
// Parâmetro de saída: n - Número de períodos
//
// Autor: Júlio Xavier Vianna Neto
n = 1;
while sum(FC(1:n+1)) < 0
n = n + 1;
if n + 1 > length(FC) then
n = %nan;
return;... |
b37d7117866a619e1b259d943f3163e5416bb180 | 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/CH22/EX22.2/Ex22_2.sce | 7da9be1a4ee71092742f99e52874ccd2e37862ec | [] | 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 | 134 | sce | Ex22_2.sce | errcatch(-1,"stop");mode(2);//Example 22.2
n1=1
n2=1.52
x=sind(30)
theta_2=asind((n1*x)/n2)
disp(theta_2,"Angle in degree=")
exit();
|
979e0a1a9c650159a6a6d6275678680db97cbdbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.22/Ex3_22.sce | fce8b52d2580a7cb346bc425e28bfbcd2a28fe82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,601 | sce | Ex3_22.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.22
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
S = 10 * 10 ^ 3; // Rating of the Two-winding Transformer ... |
5793b0a3affc42ea739dc8609a6bdf2ce70b69f2 | 3cb94e4f14f75b1b986cb0226c45ea08a3fea88b | /amit.tst | 155a647bd5ec4339b0ffba52dc03b2ec5eb0ece1 | [
"BSD-2-Clause-Views"
] | permissive | tanvis1811/sbunix | 19e7e2855f393481e63d08180ef3afde2c12741b | 8521ffba7b38f75df73c239f9a2af5bccee8aba9 | refs/heads/master | 2020-04-22T09:54:43.904338 | 2015-09-06T22:30:37 | 2015-09-06T22:30:37 | 41,966,467 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,410 | tst | amit.tst |
rootfs/bin/bolo: file format elf64-x86-64
Disassembly of section .text:
00000000004000b0 <_start>:
#include <stdlib.h>
int main(int argc, char* argv[], char* envp[]);
void _start(void) {
4000b0: 48 83 ec 08 sub $0x8,%rsp
int argc = 1;
char* argv[0];
char* envp[0];
int res;
res = main(argc,... |
1fcf3b7891f894f8b2644f683e2f835059c4fb5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH12/EX12.4/4.sce | 785ec496a3c189c1caea7b6a5fa6267d3d784ee3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | 4.sce | clc
clear
//INPUT DATA
Hc=7.2*10^3//The critical magnetic field in A/m
r=0.5*10^-3//radius of long thin superconducting wire in m
//CALCULATION
Ic=(2*3.14*Hc*r)//The critical current through a long thin superconductor in A
//OUTPUT
printf('The critical current through a long thin superconductor is %3.3f A',... |
edcebe1b21ffc73d5273f6adc42431c7f3e50899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH39/EX39.2/Example39_2.sce | 7ce9655f6bc83f971d55692991207740635fc330 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example39_2.sce | //Given that
r = 3.5 //in meter
P = 1.5 //in W
phi = 2.2 //in ev
conv = 1.6*10^-19 //ev to Joule to conversion factor
R = 5.0*10^-11 //in meter
//Sample Problem 39-2
printf("**Sample Problem 39-2**\n")
I = P/(4*%pi*r^2)
A = %pi*R^2
deltaT = phi*conv/(I*A)
printf("The time taken in ejecting electron is... |
d3465c75fd2b572f7d5a73a7a5fe9f388deeeb28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH2/EX2.6/Example_2_6.sce | 4035d6c4b0bf41390a319796e4dec1fa33a5c7e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,036 | sce | Example_2_6.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 2
//First Law of Thermodynamics
//Example 6
clear;
clc;
//Given:
T = 233; //temperature in K
VP = 1.005*10^3; //vapour pressure of CO2 in kPa
sv_liquid = 0.9*10^-3; //specific volume of liquid CO2 in m^3/kg
sv_vapour = 38.2*10^-3; //specici... |
996dc97fcb17f60617ce278a86442bc394a83c6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.47/ex_3_47.sce | 95f19486c6a6d7271f9b7ce4cb55a0be5d325734 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | ex_3_47.sce | //Example 3.47: resistance
clc;
clear;
close;
em=500;//volts
ep=50;//volts
en=150;//volts
rv=50;//k-ohm
rp=((em-ep-en)/en)*rv*10^3;//ohm
rn=((em-ep-en)/ep)*rv*10^3;//
disp(rp*10^-6,"Rp is,(M-ohm)=")
disp(rn*10^-6,"Rn is,(M-ohm)=")
|
d7da1abab1dbe257c5b2cf38d4a3804b593d2d9e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.25/Ex2_25.sce | 28b61f35b5177c6c12d8ad95b80548977998fddf | [] | 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 | 322 | sce | Ex2_25.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the speed
//Exa:2.25
;
;
V=220;//in volts
R_a=0.1;//in ohms
I_a1=100;//in amperes
I_a2=sqrt(I_a1^2/2);//in amperes
N_1=800;//in rpm
E_1=V-(I_a1*R_a);//in volts
E_2=V-(I_a2*R_a);//in volts
N_2=int(E_2*I_a1*N_1/(E_1*I_a2));
disp(N_2,'Speed (in rpm)=');
exit()... |
57a2d827afafae23d6a9bfbcc6170bf8bd188b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.25.b/EX3_25_B.sce | e15a27ee94bd006fc2da3aa0be8db3bea00d3aee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | EX3_25_B.sce | //EXAMPLE 3.25.b
clc;
Syms s,t;
u=laplace((t)^(2),t,s)+laplace(t*exp(-4*t),t,s);
F=u*laplace(1,t,s)
disp(F);
|
10fc257f638b4674e29c804ef878ae2728026b2c | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/command_list_big.tst | 15d7152ff7d243c434b070293e6af14569b452c0 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79,841 | tst | command_list_big.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja; echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja;echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja; echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja;echo ... |
ba5fdebdb98885a8e94018cf3dfaf0bdae9d59ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH3/EX3.5/s5.sci | b4dc63b93bc4d201a2b28681f0934630069567c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sci | s5.sci | function[]=towe(n,from,to,aux)
if(n==1);
disp(to,"to ",from,"Move peg 1 from");
else
towe(n-1,from,aux,to);
disp(to,"to",from,"from",n,"Move Peg");
towe(n-1,aux,to,from);
end
endfunction
function[]=tower(from,to,aux)
n=input("Enter n");
towe(n,from,to,aux);
endfunction
//Calling... |
0e4b9d97fb7e1c09cea62bb1947502833c5cbc39 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.9_20.tst | f48bacefbe3208e5d221fe53228124b59ce7be5b | [] | 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 | 5,116 | tst | bow.9_20.tst | 9 36:0.3333333333333333 40:1.0 148:0.25 165:1.0 317:1.0 375:1.0 458:0.3333333333333333 519:1.0 1056:1.0
9 11:0.3333333333333333 36:0.3333333333333333 40:1.0 53:0.3333333333333333 114:1.0 158:0.1 339:1.0 735:1.0 1749:1.0
9 4:0.5 15:0.3333333333333333 36:0.3333333333333333 40:1.0 48:0.05555555555555555 60:0.0833333333333... |
3b21bc8a9f89ba002bbf85c95f9a416aa1fd3846 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/polyscale/polyscale10.sce | 3a17bd7eb28da5a6f78c8638c78d2eb42588b21d | [] | 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 | 75 | sce | polyscale10.sce | //i/p arg x is empty
x=[];
a=0.5;
y=polyscale(x,a);
disp(y);
//output
//[]
|
f420004a27ca161329f57302713117d8f4b4b2f3 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RC98DEQ/ATWM1_Working_Memory_MRI_RC98DEQ/ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | c69bff4b4bf31504524871c4982b8ae8e7335066 | [] | 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 | 12,282 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds... |
b322bb1dc89e302df567c76ccfcd33374d47712b | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH12/EX12.6/Example12_6.sce | 8621855f0a19c6eca5ff0afed27d3b2dc9156742 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Example12_6.sce | //Example 12.6
clear;
clc;
n=12;
nreqd=16;
resbits=nreqd-n;
m=resbits/(1/2);
fS=44.1*10^3;
fovers=(2^m)*fS;
SNRmax=(6.02*(n+(0.5*m)))+1.76;
printf("Oversampling Frequency=%.2f MHz",fovers*10^(-6));
printf("\nSNRmax=%.2f dB",SNRmax); |
b2613477a896aadd6ce07380fc20ef179214ee82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH4/EX4.10/4_10.sce | d5abfec9a0f97f731ac5dfa1684ba1fd81ea26ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_10.sce | clear;
clc;
close;
disp("Example4.10")
Vt0=160 //takeoff velocity in m/s
Vt9=1000 //takeoff velocity in m/s
Vc0=800 //cruise velocity in m/s
Vc9=1000 //cruise velocity in m/s
//using approximation: engine propulsive efficiencfy(pe)=2/(1+V9/V0)
pet=2/(1+(Vt9/Vt0)) //takeoff
pec=2/(1+(Vc9/Vc0)) //cruise
disp(p... |
ffae1cf38cf89dd4a2a0ac0bdcb10280648cd71d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH14/EX14.7/14_7.sce | 495b4071453caf00c365431931b653caea17d61d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,259 | sce | 14_7.sce | printf("\texample 14.7\n");
printf("\tapproximate values are mentioned in the book \n");
M2=14300;//From fig.14.43 and heat balance above
M1=32200-14300;//From fig.14.43 and heat balance above
printf("\tM1 = %.0f lb\n",M1);
printf("\n\t\t\t\tEVAPORATOR SUMMARY\n");
printf("\t--------------------------------------... |
bb7793bc6d7dd40c490d47008c5692b6df8012e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH6/EX6.12/example6_12.sce | 5c8c05bc107b7e78f2084f3673baacaf4285b496 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | example6_12.sce | clear
clc
//Example 6.12 PRESSURE RISE DUE TO WATER HAMMER EFFECT
rho=1.94; //[slugs/ft^3]
Ev=3.2*10^5; //[lbf/in^2]
V=4; //[ft/s]
//Sound speed
c=sqrt(Ev*144/rho) //[ft/s]
L=3000; //[ft]
tc=2*L/c //[s]
//Closure time of 1sec is less than tc
//Pressure rise
delp=rho*V*c/144 //[psi]
pi=40; //initial pressur... |
74a767a106e9a54c1d52c6294375f35e89be477f | 48079f3bb0017d96574f5a0b2b6b2366e4384274 | /Scilab/import.sce | d94a62604641d9b5dffc0c342b185e07f6a389e1 | [] | no_license | tan0407/Epilepsy-Seizure-detection | e7b7f9fba4362b7c731e54da2482b37144cf7209 | c924d5d41ddbc810cef1c609ad6d52a3bc781a51 | refs/heads/master | 2020-05-06T13:41:29.620077 | 2019-05-15T23:45:06 | 2019-05-15T23:45:06 | 180,150,967 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,132 | sce | import.sce | AspiAcc=csvRead('../DATA_CSV/AspiAcc.csv');
AspiEMG=csvRead('../DATA_CSV/AspiEMG.csv');
AspiGyro=csvRead('../DATA_CSV/AspiGyro.csv');
PingAcc=csvRead('../DATA_CSV/PingPongAcc.csv');
PingGyro=csvRead('../DATA_CSV/PingPongGyro.csv');
PingEMG=csvRead('../DATA_CSV/PingPongEMG.csv');
EpiAcc=csvRead('../DATA_CSV/WalkEpiAcc... |
603da1344d8d01a8894609beb3ba0c9a50d213d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH7/EX7.4/example7_4.sce | b05ca5e2420702f29e0ba6f72a3b4accd31d16c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | example7_4.sce | clc
// Given that
A = 0.06 // amplitude in meter
T = 6 // time period of S.H.M. in sec
x = 0.03 // position of particle in meter
// Sample Problem 4 on page no. 7.23
printf("\n # PROBLEM 4 # \n")
delta = asin(1) // by the formula x=Asin(wt+delta) and (at t = 0,x=A)
t = x / (A * sin(((2 * %pi) / T) + delta))
printf("\... |
40d1cfbe73813226fee7af0c2fd6ff031a6f3d5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH12/EX12.17/example_12_17.sce | 05429f32ae4e82d842bd37bf0739a6d21a59da02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | example_12_17.sce | s=%s;
sys1=syslin('c',k*(s+1)/((s-1)*(s)))
nyquist(sys1) |
bcccb34f3a9167538618f0a52d2bd40b291f10fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.7/12_7.sce | e04dc8667a03097a759d51d3aa72c7b5e3ce699a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_7.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.7
//calculation of the time period of a pendulum
//given data
g=%pi^2//gravitational acceleration(in m/s^2) of the earth
l=1//length(in m) of the pendulum
//calculation
T=2*%pi*sqrt(l*g^-1)//formula of time per... |
2350f9f0c8475500e1161a88204a9c47c986b76e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%lss_ones.sci | 4b5e783c23fd92a3a698c5e86af311fec20209c2 | [
"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 | 56 | sci | %lss_ones.sci | function x=%lss_ones(a)
// Copyright INRIA
x=ones(a(5))
|
5addbad68e408c3340e48b903ac3d2faa0e0da41 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/mlt.tst | 73d1141297aa061effcebfeb9d4a67682555bdf9 | [] | 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 | 12,260 | tst | mlt.tst | qatel qtilt V;PRF;FIN;SG;1;PST
indika jindika V;IPFV;FIN;MASC;SG;3;PST
sama' semgħet V;PRF;FIN;SG;2;PST
samat samtet V;PRF;FIN;FEM;SG;3;PST
irrisponda irrisponda V;PRF;FIN;MASC;SG;3;PST
gidem gidem V;PRF;FIN;MASC;SG;3;PST
miet mmut V;IPFV;FIN;SG;1;PST
ħolom ħolmu V;PRF;FIN;PL;3;PST
jaf taf V;IPFV;FIN;SG;2;PST
iddawnlow... |
4e9e584f5ed5b12679e880a3d7ebd93675e97e47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.24/ex4_24.sce | 7df57763b66c6b788f0c380c000db72b189b001a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | ex4_24.sce | // Exa 4.24
clc;
clear;
close;
// Given data
V_CC = 20;// in V
V_BE = 0.7;// in V
R_B = 680;// in kohm
R_B = R_B * 10^3;// in ohm
R_C = 4.7;// in kohm
R_C = R_C * 10^3;// in ohm
bita = 120;
I_B = (V_CC - V_BE)/(R_B+bita*R_C);// in A
I_CQ = bita*I_B;// in A
disp(I_CQ*10^3,"The value of I_CQ in mA is");
V_... |
a281cf804bfceec901f872933b06d3e740b3ee46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.5/Ex11_5.sce | ea5b18ea5f3a672c650984d02cd930a9ea1c31ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ex11_5.sce | //Ex11_5
clc
VCC = 9//collector voltage
Vp = 5//output peak voltage
VQ = VCC//operating point
VCEmax = VQ + Vp// maximum value of collector emitter voltage
VCEmin = VQ - Vp// minimum value of collector emitter voltage
disp("VCC = "+string(VCC)+"V")
disp("Vp = "+string(Vp)+"V")
disp("VQ = VCC = "+string(VQ)+"V"... |
08cc16b9cc3038322ae3d6f6558aec2dba4f46b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH12/EX12.5/Ex12_5.sce | bbd9e50a95c730c41049a9df66df6155bb4c173a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,719 | sce | Ex12_5.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 12 : Three Phase Circuit
// Example 12 - 5
clear; clc; close; // Clear the work space and console.
//
// Given data
Vab_mag =... |
0e72d9892324d30d968b1f5aa39e3e3d4bc79365 | 1a679c5bea6f6f3d080ec52122a5c04f941f8e67 | /binary.sce | 41fc367ef9f90542c386e028df88b8d7c96e8732 | [] | no_license | Malay1998/Image-Processing-with-Scilab | c34c35d76d2db50f41c9b95b239a0f5e6d203a80 | 4ab83c92212d4fdbb9cb6f75ce06cfced34d0c7c | refs/heads/main | 2023-06-04T04:06:35.361106 | 2021-06-26T22:00:38 | 2021-06-26T22:00:38 | 380,540,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | binary.sce | a=imread('milkeway.jpg');
b=double(a);
[m,n]=size(b);
T=100;
for i=1:m
for j=1:n
if (b(i,j)<T)
c(i,j)=0;
else
c(i,j)=255;
end
end
end
imshow(c);
|
c2c44f60b88454dc2834be8fe5a34426edfa7493 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH1/EX1.22/1_22.sce | e288849a57400ce3f576ff243f1216218c58df50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | 1_22.sce | clc
//initialisation of variables
d= 8 //ft
d1= 2 //ft
h= 4 //ft
h1= 2 //ft
w= 62.4 //lbs/ft^3
//CALCULATIONS
A1= %pi*d^2/4
A2= %pi*d1^2/4
A= A1-A2
x= (A1*d-A2*(d+h-h1))/A
P= w*A*x
Ig= ((%pi*d^4/64)+(A1*(d-x)^2))-((%pi*d1^4/64)+(A2*(h1+d-x)^2))
h2= (Ig/(A*x))+x
//RESULTS
printf ('depth of the centre of... |
07e3d1e523fa485a98eaef7c012ce8be8543ce4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH14/EX14.7/14_7.sce | 20979098a9a7c2a04cffc73d9e6bde186d2e7596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | 14_7.sce | clear//
//Variables
beta = 150.0 //common emitter current gain
IE = 10 //Emitter current (in milli-Ampere)
//Calculation
alpha = beta / (beta + 1) //common base current gain
IC = alpha * IE //Collector current (in milli-Ampere)
IB = IE - IC ... |
d7ec371ad8c574971bd125532baa14c9aa534da1 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/sos2tf.sci | f674c853a8bcaebb83f3bbac476cb10f46c551af | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,145 | sci | sos2tf.sci | function [A,B] = sos2tf(sos, g)
//This function converts series second-order sections to direct H(z) = B(z)/A(z) form.
//Calling Sequence
//[B] = sos2tf(sos)
//[B] = sos2tf(sos, g)
//[B,A] = sos2tf(...)
//Parameters
//sos: matrix of real or complex numbers
//g: real or complex value, default value is 1
//Description
/... |
8df747d47da0ef406c7b84e8534a891b069319a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.17/example9_17.sce | 31a997e6190f0c7b3dbd4c8904376895cb5e5a77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | example9_17.sce | //clc()
F = 200;//kmol/h
//F, D and W be the flow rates of the feed, the distillate and residue resp., xf , xd and xw be the mole fraction of ethanol in the fee, distillate and the residue resp.
xf = 0.10;
xd = 0.89;
xw = 0.003;
//total balance gives, F = D + W
//D + W = 200 (1)
//Alcohol balance g... |
85b27692c81a14ce02aa66a9759592d4b78b38f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH24/EX24.9/Ex24_9.sce | c5ecabac502059131c46be2937db40cd82f677d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Ex24_9.sce | //Variable declaration:
m = 0.4008 //Mean(inch)
s = 0.0004 //Standard Deviation(inch)
UL = 0.4000+0.001 //Upper Limit
LL = 0.4000-0.001 //Upper Limit
//Calculation:
Ps = cdfnor("PQ",UL,m,s)-cdfnor("PQ",LL,m,s)//Probability of meeting specs
Pd = 1-Ps ... |
5e811e9fffe5a7b8f4d526f66d8bc7c045e13f39 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/Quantization/PIDround.sci | fe31fef24ef7657ddeb09a1851b598b44503124d | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,865 | sci | PIDround.sci | //function to scale, round and codify the PID coefficients
function [Kp_r,Ki_r,Kd_r,Gc_r,Gc,lambda,pm_r,gm_r,fcross_r]=PIDround(Kp,Ki,Kd,Vadc,NbitsADC,NbitsPWM,fs,eo,ec,fc,plant)
//Inputs are the coeffiencts as the output of PID_regulator, Vadc scale of the adc
//NbitsADC number of bts in the ADC, NbitsPWM num... |
2e4870d8acff3f2d46d2b934d5178caec14aaf5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.11/4_11.sce | 99ad7a5232955b01776e72a6f045a196d50dbd71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 4_11.sce | clc
//Intitalisation of variables
clear
t= 1 //sec
v= 1 //cc
T= 0 //C
p= 1 //atm
d= 8.9*10^-5 //g cc^-1
n= 8.41*10^-5 //poise
R= 8.31*10^7 //ergs deg^-1 mole^-1
M= 4 //gms
N= 6*10^23 //molecules
n1= 2 //moles
//CALCULATIONS
Z= M*(N/(v*22414))*d*R*(273+T)/(3*%pi*n1*n)
//RESULTS
printf ('Number of collisi... |
d27544ce4299170d2f4c82977e86655e0779fb54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH1/EX1.8/Chapter18.sce | 5c4c7db647530a34b07ae5484934462a9fcdd97e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter18.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 1, Example 8")
//The temprature(T) of asphalt pavement = 50°C
//The stefan-Boltzman constant(sigma)=5.6697*10^-8 W/(m^2*K^4).
T=50;
sigma=5.6697*10^-8;
//The e... |
660b948d1b474dca7512f9745316a28c626b2fff | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/urd.tst | 4d37c7ef70804a7f5d97fb0dee78278b576a9c4d | [] | 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 | 132,506 | tst | urd.tst | کہنا تم کہو گے V;MASC;SBJV;PL;2
سہمانا سہما رہی ہوں V;PROG;FEM;SG;1;PRS
کہنا کہ رہی ہو V;PROG;FEM;SBJV;SG;3
ختنہ کرنا ختنہ کیی تھیں V;PRF;FEM;PL;2;PST
دکھانا دکھائی تھیں V;PRF;FEM;PL;2;PST
علاج کرنا علاج کرتی ہوں V;HAB;FEM;SBJV;PL;3
برداشت کرنا برداشت کرتی تھے V;HAB;MASC;PL;3;PST
سیکھنا سیکھتی ہوں V;HAB;FEM;SBJV;PL;1
چ... |
7162dcc0804e4fbd5679f30eb58dcb3ff61b1de4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%sar.sci | ffad61824c2b28f09baee6b9ca0ace16fa5539a5 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 337 | sci | %sar.sci | //<f>=%sar(m,f)
// %sar(m,f) calcule la somme d'une matrice de fractions rationnelles
//et d'une matrice de scalaires ou la somme d'un systeme dynamique
//decrit par sa matrice de transfert et d'un gain constant.
//Cette macro correspond a l'operation m+f
//!
if sum(size(m))=-2 then m=m*eye(f(3)); end;
f(2)=f(2)+... |
42aa064dc696375580ddf5f1d117aff8a4c94102 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.8/Ex6_8.sce | fb2005137cf85507b5438f1a69c22a9e6c6d0d4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,049 | sce | Ex6_8.sce | //===========================================================================
//chapter 6 example 8
clc;clear all;
//variable decalaration
Rm = 5; //coil resistance in Ω
Rm1 = 0.00075; //coil resistance in Ω
Im = 0.015; //full-scale defelction current in A
I = 100; //current... |
dda3a671e88c9faf05bb1eb91bbb58827a72cdbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.8/Ex3_8.sce | 33d91f5089f6ee7898486eaac479baad9cfce4cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | Ex3_8.sce | // SAMPLE PROBLEM 3/8
clc;clear;funcprot(0);
// Given data
m=1500;// The mass of the car in kg
v_A=100;// The velocity in km/h
v_C=50;// The velocity in km/h
rho_A=400;// The radius of curvature in m
rho_C=80;// The radius of curvature in m
delta_s=200;// m
// Calculation
a_t=abs((((v_C/3.6)^2)-((v_A/3.6)^2... |
0349744858492934b052168d259ad5fa32b43e2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH5/EX5.1/Ex5_1.sce | 7d38e393ab6250e17821210d8cf6245aaa467778 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 894 | sce | Ex5_1.sce | clear
//Given
L_ab = 0.4 //mt The total length of the rod
M = 200 //N_m - the moment acting on rod
l_1 = 0.1 //mt -moment acting point the distance from 'a'
R_1 = 100 //N - The Force acting
l_2 = 0.2 //mt -R_1 acting point the distance from 'a'
R_2 = 160 //N The Force acting
l_3 = 0.3 //mt -R_2 acting... |
943c7ceb479c1b50de4c818fa9c59e94bbfd3286 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH17/EX17.2/Chap17_Ex2.sce | 935f6e6d037b6bcd23d906082be160cb06a8b988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,610 | sce | Chap17_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-17, Example 2, Page 438
//Title: Design of a Commercial Acrylonitrile Reactor
//==========================================================================================================
clear
clc... |
c85636ae61c4caae5bd3ec631d1ca08c2ef8b774 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Kouten.sci | c12b721e4569271edfd2f5531ae273ee8f34f5c7 | [] | 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 | 524 | sci | Kouten.sci | // 08.05.18
// 08.05.19
// 09.06.01 (same as 05.19)
function Out=Kouten(PA,V,P,Q);
Eps=10.0^(-6);
A1=PA(1); A2=PA(2);
V1=V(1); V2=V(2);
P1=P(1); P2=P(2);
U1=Q(1)-P1; U2=Q(2)-P2;
Tmp=norm(P-Q)*norm(V);
if Tmp==0
Out=[%inf,-%inf];
return
end
D=U1*V2-U2*V1;
if abs(D)/Tmp<Eps
Out=[%inf,-... |
2ad132db35bb9bf6969ca91745ec9c9eb102fb21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH6/EX6.4/Ex6_4.sce | 2a4a9b95ebfdcb7c487214be36a8f5866203ae1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_4.sce | clc
G=80 //GPa
E=200 //GPa
tf=10 //mm
tw=0.007 //m
t1=tw
t2=0.01
h=0.2 //m
b=0.1 //m
b2=b
b1=0.19
L=2.4 //m
If=0.01*0.1^3
Mt=1200
L=2.4
//solution a:
//C=Mt/theta
//C=(b1*t1^3+2*b2*t2^3)*(G/3)
C=((b1*t1^3+2*b2*t2^3)/3)// without substituting the value of G we get C
disp(C,"torsional rigidity o... |
a8bb750a13e67264ea066e6d5a0a14f06e6ecb97 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.1/Ex7_1.sce | 771ea8294b929cfdfba58ec0d8bcda408a7c2a68 | [] | 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 | 631 | sce | Ex7_1.sce | // Variable declaration
l = [2.4,2.9,2.7,2.6,2.9,2.0,2.8,2.2,2.4,2.4,2.0,2.5] // list of lead concentration
x = [1,1,1,1,1.1,1,1,1,1.1,1.2,1.1,1]
n = 12 // sample size
// Calculation
plot(l,x,"ro")
title("DOT DIAGRAM")
xlabel("$ Lead(micro gram/l$")
... |
f5eb195d0d50713b774271655bd94c1429071fe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH7/EX7.3/Ch07Ex3.sci | 25ab1243a23e441ec8b743dd665cd103082b3f49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sci | Ch07Ex3.sci | // Scilab code: Ex7.3: Intensity ratio of J states for HCL molecule: Pg: 171 (2008)
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
K = 1.38e-23; // Boltzmann constant, J/K
T = 300; // Absolute room temperature, K
J1 = 0; // Rotational quantum number for ground level
J2 = 10; // Rotational quantum ... |
476160acc3de265c48b858f4adb7413d0cc083eb | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/metanet/g_lp2.sci | 1b74c33728dbbb0f9df11eece10304269589a073 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sci | g_lp2.sci | function lp2=g_lp2(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
lp2=g(11)
|
2ddf5408a196011427992b4b028d56cf68dd9776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH18/EX18.4/Ex18_4.sce | 5678fff255c56d3e564384a3e59014d78ab64433 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,007 | sce | Ex18_4.sce | //Ex18_4 Pg-946
clc
w=0.3*10^(-6)*100 //width of silicon in cm
alpha=4*10^(4)
phi=10^(-2)
e=1.6*10^(-19) //electron charge in eV
disp("(1) Energy absorbed/sec is given by ")
E=phi*(1-exp(alpha*w)) //energy absorbed(textbook answer is wrong)
printf(" = %.1f mW \n",abs(E)*1e3)
disp("(2) The... |
57c53f5ea0ed5281acd79d2d6afdd90d7f8f4eba | 69d47013b4427741d37de7faeb3e94fc141393b4 | /Lab_4_Interpolacao_e_Integracao/scilab/interpolacao_integracao.sce | 6b6c24b7f3281023485d21179fb3ff70c0a3bd30 | [] | no_license | samuel-cavalcanti/Computacao-Numerica | 30f5042076b5db29482798ca7a6c63590a00a697 | 029c49f5d303f8f978c1f7b12b91778f06fb0665 | refs/heads/master | 2020-03-29T14:14:51.735781 | 2019-02-05T18:14:12 | 2019-02-05T18:14:12 | 150,007,038 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,971 | sce | interpolacao_integracao.sce | function S = trapC(a,b,n,f)
h= (b-a)/n
x(1)=a
y(1)=f(x(1))
S = y(1)
for i=2:n
x(i)= x(i-1)+h
y(i)=f(x(i))
S = S+2*y(i)
end
x(n+1) = b
y(n+1) = f(x(n+1))
S = h/2*(S+y(n+1))
endfunction
function s = primeiraRegraDeSimpson(a,b,n,f)
h = (b-a)/n
x=a:h:... |
bb54a263177b1025a898888a75956eecc700fe4f | f1d98f30cf89c5cd6339af6cecba8f945b5ec75a | /Project/Chapt3/movave.sci | 8d3cfe1ff8442b6a7ed87c10106ffebdd27a1592 | [] | no_license | robin29man/scilab_practice | 1a43a27b7fd732fb8ad8a34e0665351467a10678 | 5dbd37cd3a0f35d238bd1cc519f903924036ed51 | refs/heads/master | 2020-05-24T16:34:56.604967 | 2019-05-22T13:32:39 | 2019-05-22T13:32:39 | 187,362,476 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sci | movave.sci | function [y, q]=movave(x,m)
n=length(x)
y=zeros(1:n-2*m)
q=0
for i=1:n-2*m
for j=1:2*m+1
y(i)=y(i)+x(i+j-1)
end
y(i)=y(i)/(2*m+1)
q=q+abs(x(i+m)-y(i))
end
q=q/(n-2*m)
endfunction
|
2bf466466b387419638d0e1529f4057479a2056b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH9/EX9.14/Ex9_14.sce | 3c3d9f6eef310ff735dbd92292f35a0d831be502 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | Ex9_14.sce | //chapter9
//example9.14
//page157
rf=0
n=5
Vp=230 // V rms
Rl=100 //ohm
Vs=Vp/n // V rms
Vsm=Vs*2^0.5 // maximum voltage across secondary
Vm=Vsm/2 // maximum voltage across half secondary winding
Idc=2*Vm/(%pi*Rl)
Vdc=Idc*Rl
PIV=Vsm
efficiency=100*0.812/(1+rf/Rl)
printf("dc output voltage = %.3f... |
447faf04790583ff6cc8962f30eafb4e3dad3250 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH2/EX2.14/ex2_14.sce | 938396c5d0fc700f00e93507225af49e41fca996 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | ex2_14.sce | // Exa 2.14
clc;
clear;
close;
format('v',6)
// Given data
Vrms = 50;// in V
r_f = 20;// in ohm
R_L = 980;// in ohm
Vm = sqrt(2)*Vrms;// in V
Im = (Vm)/(R_L+r_f);
// The mean load current
Idc = (2*Im)/%pi;// in A
Idc = round(Idc * 10^3);// in mA
disp(Idc,"The mean load current in mA is");
// The RMS loa... |
5493d99934c9bdc89e120b861a1372b12aea4ec8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH9/EX9.5/ex9_5.sce | 4891f6f0b7211592d078bab5c38451f70ea9fa5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,229 | sce | ex9_5.sce | // Example 9.5
format('v',5)
clc;
clear;
close;
// given data
V_E= 1;// in V
R_E=1*10^3;// in Ω
R_C= 4*10^3;// in Ω
V_CC= 10;// in V
I_CQ= V_E/R_E;// in A
I_C= I_CQ;// in A
V_CEQ= V_CC-I_C*(R_C+R_E);// in V
// (i) when R_L = 1 MΩ, the value of 2I_CQrL
R_L= 1*10^6;// in Ω
r_L= R_L*R_C/(R_L+R_C);// in Ω
I... |
53d2a7c7e7b3fcf6e9b04673206b20da8bb325f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.6/ex18_6.sce | a65758400cf738688201fd46b1468b466853348c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | ex18_6.sce | clc;
clear all;
ue=0.4;//electon mobility in m^2/V*s
uh=0.2;//hole mobility in m^2/V*s
ni=2.1e19;//intrisic carrier concentration in m^-3
e=1.6e-19;//charge of electron
p=4.5e23;//density of hole
sigma=ni*e*(ue+uh);//conductivity of boron
disp('ohm^-1 m^-1',sigma,'conductivity of semiconductor is:')
sigma1=p*e... |
a45a24d3f10ad8844a6699eb6c98dd2786ed6391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH29/EX29.5/example29_5.sce | e254d6cdc0818bbab968c0ba137e924bc11c687f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | example29_5.sce | av=-40;
k1=0.1;
k2=0.2;
k3=-0.01;
disp("Part a");
a1=av/(1-k1*av);
disp("the overall voltage gain with 10 % negative feedback is"); disp(a1);
disp("Part b");
a2=av/(1-k2*av);
disp("the overall voltage gain with 20 % negative feedback is"); disp(a2);
disp("Part c");
a3=av/(1-k3*av);
disp("the overall voltage... |
4d5b3060ece7a4ff791a96317502c7691b6893e6 | 08a90c0d1bca9d01121747d1bfe2e55d78f7fb2f | /task1.sce | b5ed54f435e2fdfedfc8c58a9e5654d645a79d7d | [] | no_license | fatawesome/dsp-hw3 | bf3428c1eff50894aa3da04f81204d62158c4598 | c6cb8c63bb1e7ea3229c0c9219af4d8d7f6c7c56 | refs/heads/master | 2021-03-08T00:06:08.353867 | 2020-03-10T13:20:05 | 2020-03-10T13:20:05 | 246,305,447 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,151 | sce | task1.sce | drums = loadwave('DSP_2020_A3_DATA/drums.wav');
speech = loadwave('DSP_2020_A3_DATA/speech.wav');
violin = loadwave('DSP_2020_A3_DATA/violin.wav');
voice = loadwave('DSP_2020_A3_DATA/voice.wav');
all = loadwave('DSP_2020_A3_DATA/Violin_Viola_Cello_Bass.wav');
fir = loadwave('fir.wav');
function y=my_conv(f, g, filena... |
9c6dd9bdda7a7ca43f33f27fe6457022f530cd34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH15/EX15.4/Ex15_4.sce | 79e7e4dc8ac3db07f73a8f61240c7a182c34fc16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex15_4.sce | clear;
clc;
//Example 15.4
C=0.1*10^-6;
R=1000;
fo=1/(2*%pi*R*C*sqrt(3));
printf('\nthe oscillation frequency =%.2fHz\n',fo)
//minimum amplifier gain=8
R=1;//KOhm
R2=8*R;
printf('\nR2=%.f KOhm\n',R2)
|
3214440718d12d17acca24454a2cf0cbf01b5fb0 | 111e385f01dcdb641cbc64f8eb2d84c5f0eb1aee | /01/DMux4Way.tst | bbfe1218fe1d38ad0561b2600c153d2f1735639a | [] | no_license | pipt/nand2tetris | 7eaae88086f717291d78972af3997f2749bf5054 | 86dc57c94a1ddb5cf4bba9dc8c67c22b89d20d49 | refs/heads/master | 2020-03-28T02:35:08.533781 | 2018-10-02T20:55:11 | 2018-10-02T20:55:11 | 147,581,307 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | tst | DMux4Way.tst | load DMux4Way.hdl,
output-file DMux4Way.out,
compare-to DMux4Way.cmp,
output-list in sel%B1.2.1 a b c d;
set in 0,
set sel %B00,
eval,
output;
set in 0,
set sel %B01,
eval,
output;
set in 0,
set sel %B10,
eval,
output;
set in 0,
set sel %B11,
eval,
output;
set in 1,
set sel %B00,
eval,
output;
set in 1,
set sel %... |
ecb92e7599a40e29b46d642c206bb557074ae5f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH10/EX1.2/Ex_B_1_2.sce | 2cd1595802c194cb87124f1a186424c7d5765d4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex_B_1_2.sce | //Part B Ex 1.2
clc;clear;close;
format('v',5);
Av=10;//voltage gain
Ri=1;//kohm
Ro=10;//ohm
Vs=2;//V(Sensor voltage)
Rs=100;//ohm(Sensor resistance)
RL=50;//ohm
Vi=Vs*Ri*1000/(Rs+Ri*1000);//V
Vo=Av*Vi*RL/(Ro+RL);//V
Av=Vo/Vi;//voltage gain of circuit
disp(Av,"Voltage gain of circuit");
|
dcd990ece0b916a1e5b1066c7898b203aeaa38a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH9/EX9.2/Ex9_2.sce | c18210973571861f09197d1c875b345f5fe252ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,050 | sce | Ex9_2.sce | // Problem no 9.2,Page no.233
clc;clear;
close;
L=1.5 //m //Length of steelbar
b=2 //cm //bredth of steelbar
d=0.5 //cm //depth of steelbar
sigma=320 //MPa //Yield point
E=210 //GPa //modulus of Elasticity of steelbar
//Calculations
I_min=b*d**3*12**-1*10**-8 //m**4 //Moment of Inertia
P=%pi**2*E*10**9*I_min*(L**... |
dbb6374add7eb41c90f7f6937264e86d7d3ee73b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH10/EX10.9/Ex10_9.sce | e8dd0ef648990e812a0bf5818986b5a908912945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | Ex10_9.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
NB=10^17//cm^-3
beta=100
BVCEO=15//V
BVCBO=(beta)^(1/3)*BVCEO
disp(BVCBO,"in V is=")
|
a2637b2129bbfd27d6f5bb6ea2dc89c06cf14662 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH10/EX10.a.14/exaA_10_14.sce | c48c013d5f9d3f1b06a807616a63261c22b5ca2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,717 | sce | exaA_10_14.sce | // Example A-10-14
// Designing a regulator using a minimum and full order observer
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "<path to dependencies>";
// exec("minorder.sci");
function smallplot(i)
subplot(2,2,i);xgrid(color('gray'));
plot(t,x(i,:));
endfunction
A ... |
d17b62d55eb6df7a980b1af84aeb5ec9edcbee62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.5.10/Ch04Exa4_5_10.sci | 93a823b18df125a3423d8422186659cbfb3a5be0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch04Exa4_5_10.sci | // Scilab code Exa4.5.10: To determine the energy of gamma ray for reaction :: P.no. 186 (2011)
// H(1,2)+G = H(1,1)+ n(0,1) is the given reaction
M_H_2 = 2.014735; // Mass of H-2, amu
M_H_1 = 1.008142 ; // Mass of H-1, amu
M_n_1 = 1.008987; // Mass of M_n_1, amu
Q = -5.4; // Q-value, MeV
E_g = (M_H_1*931.47... |
18b15156893bf4720a1e2cf7e80d68e5fa1678c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.24.b/solution8_24.sce | df13ec9346404ca559726e4fa4acb3c028e9f3cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,286 | sce | solution8_24.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution8_24.sce')
//Obtain path of data file
datapath = path + filesep() + 'data8_24.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the primary shear force on each bolt Pshear (N)
Pshear = (P * 1000)/n
printf('\nThe code... |
4543f9e9a7227b2c2c23a2e5ac9ea58c231cff47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH7/EX7.9/Example7_9.sce | 57ee453100da475bdbf0558bbe5b76f60d6ea7c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,118 | sce | Example7_9.sce | //Example 7.9. refer fig.7.17.
clc
format(6)
KN=1*10^-3
lamda=0.01
Ri=100*10^3
IDt=4*10^-3
IDQ=1.5*10^-3
VTN=1.5
VDD=12
VDSQ=7
disp("To determine VDSi")
disp("We have,")
disp(" IDt = KN*(VGst - VTN)^2")
disp("where the subscript t indicates transition point values.")
VGSt=sqrt(IDt/KN)+VTN
disp... |
51b85256e27bec61fbb0523ca951b80bed9947cf | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/CT29HRN/ATWM1_Working_Memory_MRI_CT29HRN/ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | f6ff89f3c8d813b35fe450fcf90e73390ab5bbde | [] | 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 | 12,442 | sce | ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_salient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = fa... |
88408a7f4c66689cc3ba978ee84fa7852c53f7e5 | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/examples/ex2-5.sci | bba7c1a5f4bc9bf9b351b8fbdd2b136c3710216b | [] | 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 | BIG5 | Scilab | false | false | 2,768 | sci | ex2-5.sci | exec t2f.sci
exec f2t.sci
exec eyes.sci
N=2^13;
L=16;
M=N/L;
Rs=2;
Ts=1/Rs;
dt=Ts/L;
fs=1/dt;
T=N*dt;
df=1/T;
Bs=N*df/2;
f=[-fs/2+df/2:df:fs/2];
t=[-T/2+dt/2:dt:T/2];
alpha=0.5;
Hcos=zeros(1,N);
ii=find(abs(f)>(1-alpha)/(2*Ts)&abs(f)<=(1+alpha)/(2*Ts));
Hcos(ii)=Ts/2*(1+cos(%pi*Ts/(alpha+%eps)*(abs(f(ii))-(1-alpha)/... |
a710e994d75fd0e8ad4b3de66837545d4dbf4ce0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH2/EX2.15/Ex2_15.sce | 2112b12b76fc8f7d6b6d67304a224092d4d5009f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_15.sce |
// Ex2_15
clc;
// Given:
E=14.4*10^-3;// in MeV
m=57;
// Solution:
Er=(536*(E)^2)/(m*10^-3);
printf("The recoil energy is = %f meV",Er)
|
f1e9d70dab3ffd86ba651e8afd95993e6aedf86e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH2/EX2.10/Example210.sce | 785bfaaedc9df9c22b50d67e348dc6f54e636022 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,367 | sce | Example210.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 2 Example # 2.10 ")
//Diameter of copper wire in m
D = 0.1/100;
//Initial temperature in degree C
To = 150;
//Final surrounding temperature ... |
3706ec85f11ce7f38c5a2994b9b895cd8e265f73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH20/EX20.4/Ex20_4.sce | 0b10e586fea7fccfb55e96834b6ecff8af77edf6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,532 | sce | Ex20_4.sce | clc
// Given that
T = 20 // Time in minute
F = 680 // Net brake load in N
N = 360 // Speed in rpm
mep = 3 // Mean effective pressure in bar
f = 1.56 // Fuel consumption in kg
m_w = 160 // Cooling water in kg
t = 57 // Water inlet temperature in degree centigrade
r = 30 // Air used per kg of fuel
t_r = 27 // R... |
74934a4fe0db90ae00f304d47ed64963ff0eda2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH6/EX6.16/Ex_6_16.sce | e107e019cd35c18f1bff10e0c5ee35bbd5fc1852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_6_16.sce | // Example 6.16;//Hole concentration
clear;
close;
clc;
Br=2.39*10^-10;//Bit rate
Tr=1;//Time in nano second
n=1/(Br*Tr*10^-9)//hole concentration
disp(n,"hole concentration in per cubic centimeter")
|
1760a85f961b001f5a8e9b825230311c549d22e3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/erf.man.tst | cafd2ac8dfa572dd133debf33a031ca49e4a8abe | [
"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 | 81 | tst | erf.man.tst | clear;lines(0);
deff('y=f(t)','y=exp(-t^2)');
erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
|
339f12830a58774624b77b72170286fb8abd8e85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH6/EX6.3/exa6_3.sce | 36bd4a51344805e8f11541c055dfcc0fd8579332 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | exa6_3.sce | //Exa 6.3
clc;
clear;
close;
//given data
d=7.5*10^-2;// in m
x=2;// in m
T_s=70;// in degree C
T_infinite=10;// in degree C
del_T=T_s-T_infinite;
g=9.81;
calculation=4.5*10^10; // value of g*Bita*rho^2*C_p/(miu*k)
K=2.75*10^-2;// in W/mK
// g*Bita*rho^2*C_p/(miu*k) = g*Bita*rho^2/miu^2 * miu*C_p/k = (g*Bi... |
5c44fe5e64f263af5b0f2920bebc622e6910e2fb | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/niger-congo/sot.tst | 51e2028bbd1de0b8ff5ed8919925bec319ea2394 | [] | 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 | 1,481 | tst | sot.tst | phomolo V;SG;3;PST
phomolo V;PL;2;PRS
phomolo V;SG;2;FUT
phomolo V;SG;1;PST
phomolo V;PL;1;PRS
phomolo V;PL;1;PST
phomolo V;PL;3;PST
phomolo V;SG;1;PRS
phomolo V;SG;3;PRS
phomolo V;SG;2;PST
phomolo V;PL;3;PRS
phomolo V;PL;3;FUT
phomolo V;SG;2;PRS
phomolo V;PL;1;FUT
phomolo V;SG;1;FUT
phomolo V;NFIN
phomolo V;PL;2;FUT
p... |
574e625e606535e187b3453f8a656e83e8ca65c9 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/102.tst | b104e49108d5cf55d687ba809f70d7dcb594f7f5 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 47 | tst | 102.tst | void main(void)
{
struct {
int x;
} a;
a.
} |
1f0a6bd30afb40f45e344204a8a4f41cceadf88d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH13/EX13.3/ex13_3.sce | 8842d93b27fc988c70fe7d521d76b570e0915a44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,108 | sce | ex13_3.sce | clc;
// Let take NH3 as component 1 and H2O as component 2
// (a) & (b)
// Calculation of f1sat = pi1sat*p1sat for ammonia
P_1=50; // low reference state pressure in kPa
P1sat=614.95; // Saturation Pressure of ammonia at 10 oC in kPa
h1sat=1453.3; // Specific enthalpy at 10 oC in kJ/kg
s1sat=5.2104; // Specific ... |
21b01a96497e159e9a2e75d94f3bc035521be4b5 | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /сайлаб/L13_4.sce | 73f132a4f11e6935ccb2b4bc15021c0fe13a5e87 | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | L13_4.sce | clc
clf
disp('13.4')
x=[1:10];
y=[1 2 4 2 3 5 4 6 3 5];
plot(x,y,'r*'),xgrid()
a=gca();
a.x_location = "origin";
a.y_location = "origin";
sleep(1200)
z=[x;y]
xi=1:0.25:10
yi=interpln(z,xi);
plot(xi,yi,'m'),legend('initial','linear', 4), xgrid()
sleep(1200)
yi=interp1(x,y,xi,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.